aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-29 16:33:57 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-12-29 16:33:57 +0100
commit0e3b58b7f13327685354b82dfa003fbc8f4987b5 (patch)
treefa6dc47696b4ea2c7396286acd0b9c8daf120090 /debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch
parent93b716f787d61ce91bbfa1360189fc2dc52a2b0c (diff)
downloadnx-libs-0e3b58b7f13327685354b82dfa003fbc8f4987b5.tar.gz
nx-libs-0e3b58b7f13327685354b82dfa003fbc8f4987b5.tar.bz2
nx-libs-0e3b58b7f13327685354b82dfa003fbc8f4987b5.zip
Add patch: 019_nx-x11_expat-build-against-system-libxmltok.patch, fixes lintian error: embedded-library: expat. Build-depend on libxmltok1-dev.
Diffstat (limited to 'debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch')
-rw-r--r--debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch b/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch
new file mode 100644
index 000000000..227dd4695
--- /dev/null
+++ b/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch
@@ -0,0 +1,35 @@
+--- a/nx-X11/lib/expat/Imakefile
++++ b/nx-X11/lib/expat/Imakefile
+@@ -19,7 +19,7 @@
+ EXPATSRC = $(EXPATTOP)/lib
+ EXPATINC = $(EXPATTOP)/lib
+
+-INCLUDES = -I$(EXPATINC) -I$(EXPATTOP) -I.
++INCLUDES = -I/usr/include/xmltok -I$(EXPATINC) -I$(EXPATTOP) -I.
+
+ /*
+ * Endianness (for short's)
+@@ -31,8 +31,8 @@
+ DEFINES = -DXML_BYTE_ORDER=0 -DX_BYTE_ORDER=$(X_BYTE_ORDER)
+ REQUIREDLIBS=$(LDPRELIBS)
+
+-SRCS = xmlparse.c xmltok.c xmlrole.c
+-OBJS = xmlparse.o xmltok.o xmlrole.o
++#SRCS = xmlparse.c xmltok.c xmlrole.c
++#OBJS = xmlparse.o xmltok.o xmlrole.o
+
+ HEADERS = expat.h
+
+@@ -45,9 +45,9 @@
+
+ DependTarget()
+
+-LinkSourceFile(xmlparse.c,$(EXPATSRC))
+-LinkSourceFile(xmltok.c,$(EXPATSRC))
+-LinkSourceFile(xmlrole.c,$(EXPATSRC))
++#LinkSourceFile(xmlparse.c,$(EXPATSRC))
++#LinkSourceFile(xmltok.c,$(EXPATSRC))
++#LinkSourceFile(xmlrole.c,$(EXPATSRC))
+ LinkSourceFile(expat.h,$(EXPATINC))
+
+