Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2013 21:10:58 +0200
From:      Tijl Coosemans <tijl@coosemans.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r320708 - head/x11-wm/afterstep
Message-ID:  <51B8C7C2.40804@coosemans.org>
In-Reply-To: <201306121734.r5CHYIgH084106@svn.freebsd.org>
References:  <201306121734.r5CHYIgH084106@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2BHXJNNPCJRTUKQKCJVFL
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2013-06-12 19:34, Baptiste Daroussin wrote:
> Author: bapt
> Date: Wed Jun 12 17:34:18 2013
> New Revision: 320708
> URL: http://svnweb.freebsd.org/changeset/ports/320708
>=20
> Log:
>   Fix build with clang
>=20
> Modified:
>   head/x11-wm/afterstep/Makefile
>=20
> Modified: head/x11-wm/afterstep/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/x11-wm/afterstep/Makefile	Wed Jun 12 17:09:49 2013	(r320707)
> +++ head/x11-wm/afterstep/Makefile	Wed Jun 12 17:34:18 2013	(r320708)
> @@ -22,6 +22,7 @@ MANCOMPRESSED=3D	yes
>  MAN1=3D		afterstep.1 Animate.1 Audio.1 Auto.1 Banner.1 Pager.1 Wharf.1=

>  CONFLICTS?=3D	afterstep-2*
>  PORTSCOUT=3D	limit:^1\.[0-9.]*$$
> +CFLAGS+=3D	-Wno-return-type
> =20
>  SRCDIRS=3D	afterstep \
>  		modules/Animate modules/Audio modules/Auto \
> @@ -33,6 +34,9 @@ post-patch:
>  			-e 's|%%PREFIX%%|${PREFIX}|g' \
>  			${WRKSRC}/configure.h \
>  			${WRKSRC}/sample.steprc
> +		${REINPLACE_CMD} \
> +			-e 's/__inline__//g' \
> +			${WRKSRC}/configure.h

Instead of removing inline, can you try adding -std=3Dgnu89 to CFLAGS?


------enig2BHXJNNPCJRTUKQKCJVFL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iF4EAREIAAYFAlG4x8cACgkQfoCS2CCgtitSvAD+ORMd0I55MrKw8UopZzK8x0bc
NGO9bfLbf1P+VYi+4ewA/jyoBLS5ePXaEYQiNngO/GY/pLeEFESeKN2XMSJELYVO
=PnL2
-----END PGP SIGNATURE-----

------enig2BHXJNNPCJRTUKQKCJVFL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51B8C7C2.40804>