1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 03_fix_libX11_linkage.dpatch by Christopher James Halse Rogers <raof@ubuntu.com>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Explicitly link to libX11 to resolve missing symbols
9
diff -urNad gnome-do-0.4.0.1~/libdo/Makefile.in gnome-do-0.4.0.1/libdo/Makefile.in
10
--- gnome-do-0.4.0.1~/libdo/Makefile.am 2008-03-18 13:31:06.000000000 +1100
11
+++ gnome-do-0.4.0.1/libdo/Makefile.am 2008-03-18 13:57:00.000000000 +1100
15
libdo_la_LDFLAGS = -export-dynamic -module -avoid-version
16
-libdo_la_LIBADD = $(LIBDO_LIBS)
17
+libdo_la_LIBADD = $(LIBDO_LIBS) -lX11
19
maintainer-clean-local:
20
diff -urNad gnome-do-0.4.0.1~/libdo/Makefile.in gnome-do-0.4.0.1/libdo/Makefile.in
21
--- gnome-do-0.4.0.1~/libdo/Makefile.in 2008-03-18 13:31:06.000000000 +1100
22
+++ gnome-do-0.4.0.1/libdo/Makefile.in 2008-03-18 13:57:00.000000000 +1100
26
libdo_la_LDFLAGS = -export-dynamic -module -avoid-version
27
-libdo_la_LIBADD = $(LIBDO_LIBS)
28
+libdo_la_LIBADD = $(LIBDO_LIBS) -lX11