aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/019_nx-x11_expat-build-against-system-libxmltok.patch
blob: 227dd4695fed27375abe2519ed1f5330aca6e22c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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))