aboutsummaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch17
-rw-r--r--debian/patches/series1
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch b/debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch
new file mode 100644
index 000000000..70f012345
--- /dev/null
+++ b/debian/patches/0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch
@@ -0,0 +1,17 @@
+Description: Link to libdl to fix undefined references to 'dlopen' and 'dlsym'.
+Author: Bernard Cafarelli <voyageur@gentoo.org>
+v2: generally link to libdl in all of nx-X11. (Mike Gabriel)
+
+diff --git a/nx-X11/config/cf/lnxLib.tmpl b/nx-X11/config/cf/lnxLib.tmpl
+index 788733c..be1fa14 100644
+--- a/nx-X11/config/cf/lnxLib.tmpl
++++ b/nx-X11/config/cf/lnxLib.tmpl
+@@ -17,7 +17,7 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
+ #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
+ #endif
+
+-#define SharedX11Reqs
++#define SharedX11Reqs $(LDPRELIB) -ldl
+ #define SharedXlibi18nReqs $(LDPRELIB) $(XONLYLIB)
+ #define SharedOldXReqs $(LDPRELIB) $(XONLYLIB)
+ #define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)
diff --git a/debian/patches/series b/debian/patches/series
index c6c6b6445..f0870d926 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -78,6 +78,7 @@
0614_nxcompshad_use-dynamiclib-flag-on-OS-X.full.patch
0620_nxcompext_use-correct-library-naming-scheme-on-OS-X.full.patch
0621_nxcompshad_use-correct-library-naming-scheme-on-OS-X.full.patch
+0630_nx-X11_fix-underlinking-dlopen-dlsym.full.patch
0990_fix-DEBUG-and-TEST-builds.full.patch
0991_fix-hr-typos.full+lite.patch
0991_fix-hr-typos.full.patch