summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <andrew@shadura.me>2016-04-29 14:19:14 +0200
committerAndrew Shadura <andrew@shadura.me>2016-04-29 14:19:14 +0200
commitf349ccfe6cdb13bf81d4f6f5d17ff2943f9918ee (patch)
tree4f4025e76022ddee13cadeb94977201eaf1e21c1
parentbc3237d38cbd5c2ba0dda1afde34d414aac03de1 (diff)
Add -ldl to fix FTBFS with DSO linking on Ubuntu.
-rw-r--r--debian/patches/30-fix-ftbfs-with-binutils-gold.patch16
-rw-r--r--debian/patches/series1
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/30-fix-ftbfs-with-binutils-gold.patch b/debian/patches/30-fix-ftbfs-with-binutils-gold.patch
new file mode 100644
index 0000000..6ffe2ba
--- /dev/null
+++ b/debian/patches/30-fix-ftbfs-with-binutils-gold.patch
@@ -0,0 +1,16 @@
+From: Artur Rona <ari-tczew@ubuntu.com>
+Description: Add -ldl to fix FTBFS with binutils-gold.
+Author: Angel Abad <angelabad@ubuntu.com>
+Last-Update: 2015-01-03
+
+--- a/cmd/x11/Makefile
++++ b/cmd/x11/Makefile
+@@ -8,7 +8,7 @@
+ PACKAGES += $(X11PACKAGES)
+
+ LIB = $(LIBS9)
+-LIBS += $(LIB) $(LIBIXP)
++LIBS += $(LIB) $(LIBIXP) -ldl
+
+ wiclick.out: wiclick.o
+ $(LINK) $@ $< -lXtst
diff --git a/debian/patches/series b/debian/patches/series
index 3078dc3..abee818 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@
27-fix-screens.patch
28-fix-regexp-clients.patch
29-witray-xinerama.patch
+30-fix-ftbfs-with-binutils-gold.patch