aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0053_nx-X11_no-xcomp1-install-target.full.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0053_nx-X11_no-xcomp1-install-target.full.patch')
-rw-r--r--debian/patches/0053_nx-X11_no-xcomp1-install-target.full.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0053_nx-X11_no-xcomp1-install-target.full.patch b/debian/patches/0053_nx-X11_no-xcomp1-install-target.full.patch
new file mode 100644
index 000000000..acf9374e5
--- /dev/null
+++ b/debian/patches/0053_nx-X11_no-xcomp1-install-target.full.patch
@@ -0,0 +1,32 @@
+Description: Avoid building libXcomp.so.1 (which is identical to libXcomp.so.3)
+Author: Orion Poplawski <orion@cora.nwra.com>
+
+--- a/nx-X11/lib/X11/Imakefile 2013-01-04 05:25:49.000000000 -0700
++++ b/nx-X11/lib/X11/Imakefile 2013-01-15 15:26:07.969167259 -0700
+@@ -63,7 +63,6 @@ NX_XCOMPLIBDIR = $(XTOP)/../nxcomp
+ NX_XCOMPLIBLINK = Xcomp
+ NX_XCOMPLIBTARGET = $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME)
+ NX_REQUIREDLIBS = -L$(NX_XCOMPLIBDIR) -l$(NX_XCOMPLIBLINK)
+-NX_XCOMPDEPTARGET = $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME)
+ NX_XCOMPCONFIGTARGET = $(NX_XCOMPLIBDIR)/config.status
+
+ NX_XCOMPEXTLIBDIR = $(XTOP)/../nxcompext
+@@ -1181,17 +1180,9 @@ lib$(LIBNAME).so.$(SOXLIBREV): $(NX_XCOM
+
+ all:: $(NX_XCOMPLIBTARGET)
+
+-$(NX_XCOMPDEPTARGET):
+- ln -s $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME) $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME)
+- ln -s $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME).1 $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME).1
+-
+ depend:: $(NX_XCOMPLIBTARGET)
+
+-all:: $(NX_XCOMPDEPTARGET) $(NX_XCOMPEXTLIBTARGET)
+-
+-clean::
+- rm -f $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME)
+- rm -f $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME).1
++all:: $(NX_XCOMPEXTLIBTARGET)
+
+ #endif
+