Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2013 17:34:18 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320708 - head/x11-wm/afterstep
Message-ID:  <201306121734.r5CHYIgH084106@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 		@ for i in ${SRCDIRS}; do \
 			cd ${WRKSRC}/$$i; \
 			${MV} Imakefile Imakefile.orig; \



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