summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-04-29 11:04:13 +0200
committerSlávek Banko <slavek.banko@axis.cz>2022-04-29 11:46:35 +0200
commit84bd19f797df3ce2bbb8f544942d59677c0fa36f (patch)
tree59f379a0214a0e89002e24f08fb14ca07e4dbe31
parent1042775654e63cf6715ffc21d1396af2e10f732a (diff)
downloadtde-packaging-84bd19f797df3ce2bbb8f544942d59677c0fa36f.tar.gz
tde-packaging-84bd19f797df3ce2bbb8f544942d59677c0fa36f.zip
FreeBSD imlib: Update the patch to search XShm include to make it work
even if AC_PATH_X does not return a valid path. This resolves issue #110. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--freebsd/dependencies/imlib/Makefile2
-rw-r--r--freebsd/dependencies/imlib/files/patch-search-system-include-for-xshm.diff6
2 files changed, 5 insertions, 3 deletions
diff --git a/freebsd/dependencies/imlib/Makefile b/freebsd/dependencies/imlib/Makefile
index da85f0488..33841a3a7 100644
--- a/freebsd/dependencies/imlib/Makefile
+++ b/freebsd/dependencies/imlib/Makefile
@@ -9,7 +9,7 @@ PORTNAME= imlib
COMMENT= A graphic library for enlightenment package
MASTER_SITE_SUBDIR= i/${PORTNAME}
PORTVERSION= 1.9.15
-PORTREVISION= 16
+PORTREVISION= 17
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_TDE_DEPS}
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff --git a/freebsd/dependencies/imlib/files/patch-search-system-include-for-xshm.diff b/freebsd/dependencies/imlib/files/patch-search-system-include-for-xshm.diff
index 359d44a1f..47271a097 100644
--- a/freebsd/dependencies/imlib/files/patch-search-system-include-for-xshm.diff
+++ b/freebsd/dependencies/imlib/files/patch-search-system-include-for-xshm.diff
@@ -1,11 +1,13 @@
--- imlib-1.9.15.orig/configure.in
+++ imlib-1.9.15/configure.in
-@@ -197,7 +197,7 @@
+@@ -197,7 +197,9 @@
AC_MSG_RESULT(no)
no_xshm=yes
else
- if test -f "$x_includes/X11/extensions/XShm.h"; then
-+ if test -f "$x_includes/X11/extensions/XShm.h" || test -f "/usr/include/X11/extensions/XShm.h"; then
++ if test -f "$x_includes/X11/extensions/XShm.h" || \
++ test -f "/usr/include/X11/extensions/XShm.h" || \
++ test -f "/usr/local/include/X11/extensions/XShm.h"; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_XSHM_H, 1, [ ])
else