svn commit: r320708 - head/x11-wm/afterstep

Tijl Coosemans tijl at coosemans.org
Wed Jun 12 19:11:13 UTC 2013


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
> 
> Log:
>   Fix build with clang
> 
> Modified:
>   head/x11-wm/afterstep/Makefile
> 
> Modified: head/x11-wm/afterstep/Makefile
> ==============================================================================
> --- 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=	yes
>  MAN1=		afterstep.1 Animate.1 Audio.1 Auto.1 Banner.1 Pager.1 Wharf.1
>  CONFLICTS?=	afterstep-2*
>  PORTSCOUT=	limit:^1\.[0-9.]*$$
> +CFLAGS+=	-Wno-return-type
>  
>  SRCDIRS=	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=gnu89 to CFLAGS?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20130612/c88d112b/attachment.sig>


More information about the svn-ports-all mailing list