aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0640_nx-X11_fix-underlinking-libNX_Xcomposite_damage_fixes.full.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0640_nx-X11_fix-underlinking-libNX_Xcomposite_damage_fixes.full.patch')
-rw-r--r--debian/patches/0640_nx-X11_fix-underlinking-libNX_Xcomposite_damage_fixes.full.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0640_nx-X11_fix-underlinking-libNX_Xcomposite_damage_fixes.full.patch b/debian/patches/0640_nx-X11_fix-underlinking-libNX_Xcomposite_damage_fixes.full.patch
new file mode 100644
index 000000000..736104f27
--- /dev/null
+++ b/debian/patches/0640_nx-X11_fix-underlinking-libNX_Xcomposite_damage_fixes.full.patch
@@ -0,0 +1,15 @@
+Description: Prevent underlinking by linking to libNX_X{11,damage,fixes).
+Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
+
+--- a/nx-X11/config/cf/lnxLib.tmpl
++++ b/nx-X11/config/cf/lnxLib.tmpl
+@@ -61,6 +61,9 @@ XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
+ #define SharedXxf86vmReqs $(LDPRELIB) $(XLIB)
+ #define SharedxkbfileReqs $(LDPRELIB) $(XONLYLIB)
+ #define SharedxkbuiReqs $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
++#define SharedXfixesReqs $(LDPRELIB) $(XLIB)
++#define SharedXdamageReqs $(LDPRELIB) $(XLIB)
++#define SharedXcompositeReqs $(LDPRELIB) $(XDAMAGELIB) $(XFIXESLIB) $(XLIB)
+
+ #else /* UseElfFormat */
+