View | Details | Raw Unified | Return to bug 196161 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/devil/Makefile (-5 / +1 lines)
Lines 12-18 DISTNAME= DevIL-${PORTVERSION} Link Here
12
MAINTAINER=	amdmi3@FreeBSD.org
12
MAINTAINER=	amdmi3@FreeBSD.org
13
COMMENT=	Full featured cross-platform image library
13
COMMENT=	Full featured cross-platform image library
14
14
15
USES=		alias autoreconf libtool pkgconfig
15
USES=		alias autoreconf gmake libtool pkgconfig
16
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
17
CONFIGURE_ARGS=	--enable-ILU --enable-ILUT \
17
CONFIGURE_ARGS=	--enable-ILU --enable-ILUT \
18
		--disable-allegro --disable-directx8 --disable-directx9 \
18
		--disable-allegro --disable-directx8 --disable-directx9 \
Lines 93-102 post-patch: Link Here
93
	@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
93
	@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
94
		${WRKSRC}/src-ILU/ilur/ilur.c
94
		${WRKSRC}/src-ILU/ilur/ilur.c
95
95
96
post-configure:
97
	${REINPLACE_CMD} -e 's,-std=gnu99,,'	\
98
		${WRKSRC}/Makefile ${WRKSRC}/*/Makefile
99
100
post-install:
96
post-install:
101
	@${RMDIR} ${STAGEDIR}${DATADIR}/examples
97
	@${RMDIR} ${STAGEDIR}${DATADIR}/examples
102
	@${RMDIR} ${STAGEDIR}${DATADIR}
98
	@${RMDIR} ${STAGEDIR}${DATADIR}
(-)graphics/devil/files/patch-clang (+9 lines)
Lines 2-7 Submitted upstream as: Link Here
2
2
3
	https://sourceforge.net/p/openil/bugs/212/
3
	https://sourceforge.net/p/openil/bugs/212/
4
4
5
--- lib/Makefile.am.orig	2009-03-08 20:45:36 UTC
6
+++ lib/Makefile.am
7
@@ -41,5 +41,5 @@ endif #BUILD_ILUT
8
 
9
 libIL_la_CPPFLAGS = -I $(il_include) -I $(all_include)
10
 libIL_la_CFLAGS = $(AM_CFLAGS) @IL_CFLAGS@
11
-libIL_la_CXXFLAGS = $(AM_CFLAGS) @IL_CFLAGS@
12
+libIL_la_CXXFLAGS = $(filter-out -std=% -fgnu89-inline,$(AM_CFLAGS)) @IL_CFLAGS@
13
 
5
--- src-IL/include/il_internal.h	2009-03-08 03:10:08.000000000 -0400
14
--- src-IL/include/il_internal.h	2009-03-08 03:10:08.000000000 -0400
6
+++ src-IL/include/il_internal.h	2014-12-20 01:11:39.000000000 -0500
15
+++ src-IL/include/il_internal.h	2014-12-20 01:11:39.000000000 -0500
7
@@ -228,5 +228,5 @@
16
@@ -228,5 +228,5 @@

Return to bug 196161