summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/imlib/files/patch-link-against-x11.diff
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/imlib/files/patch-link-against-x11.diff')
-rw-r--r--freebsd/dependencies/imlib/files/patch-link-against-x11.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/freebsd/dependencies/imlib/files/patch-link-against-x11.diff b/freebsd/dependencies/imlib/files/patch-link-against-x11.diff
new file mode 100644
index 000000000..25cdac17c
--- /dev/null
+++ b/freebsd/dependencies/imlib/files/patch-link-against-x11.diff
@@ -0,0 +1,16 @@
+--- imlib-1.9.15.orig/Imlib/Makefile.am
++++ imlib-1.9.15/Imlib/Makefile.am
+@@ -30,10 +30,10 @@
+ save.c \
+ snprintf.c
+
+-libImlib_la_LDFLAGS = -version-info 10:15:9
++libImlib_la_LDFLAGS = -version-info 11:0:0
+ #libImlib_la_LDDADD = $(SUPPORT_LIBS)
+ libImlib_la_LIBADD = $(SUPPORT_LIBS) $(X_PRE_LIBS) \
+- $(X_LIBS) $(X_EXTRA_LIBS)
++ $(X_LIBS) $(X_EXTRA_LIBS) -lX11
+
+ DEFS = -DSYSTEM_IMRC=\"$(sysconfdir)/imrc\" \
+ -DSYSCONFDIR=\"$(sysconfdir)\"
+