1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-29 16:40:31 -04:00
ports/graphics/devil/files/patch-49
Mikhail Teterin 226a727f0b Make buildable with clang. While here, add patches submitted upstream
by others. Also make use of the author's own self-test suit.

PR:		196161
Approved by:	maintainer timeout
2016-03-01 00:49:27 +00:00

14 lines
738 B
Text

See https://sourceforge.net/p/openil/patches/49/ -- this patch allows
DevIL to be configured with ILUT, but without X11:
--- m4/devil-api_checks.m4 2009-03-08 10:10:05.000000000 +0300
+++ m4/devil-api_checks.m4 2012-01-31 17:05:07.163553444 +0400
@@ -137,7 +137,7 @@
[main],
[dnl The use_x11 var is either "yes" already, or we don't want "no" to be overwritten
ILUT_LIBS="-lX11 $ILUT_LIBS"],
- [use_x11="no"]) ])
+ [use_x11="no"]) ], [use_x11="no"])
TEST_API([shm])
AS_IF([test "x$enable_shm" = "xyes"],
[AC_CHECK_HEADER([X11/extensions/XShm.h],