summaryrefslogtreecommitdiff
path: root/dev-python/vo/files/vo-0.6-expat.patch
blob: 24157f39084c5d3adaf00a8f71d18e1b770bf8fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- defsetup.py.orig	2010-07-21 17:35:59.000000000 +0100
+++ defsetup.py	2010-07-21 17:37:06.000000000 +0100
@@ -17,14 +17,9 @@
 
 iterparse_ext = Extension(
     "vo.iterparser",
-    ["src/iterparse.c",
-     "src/expat/xmlparse.c",
-     "src/expat/xmlrole.c",
-     "src/expat/xmltok.c",
-     "src/expat/xmltok_impl.c"
-     ],
+    ["src/iterparse.c"],
     define_macros=defines,
-    include_dirs=["src", "src/expat"])
+    libraries=["expat"])
 
 pkg = ['vo', 'vo.tests']
 # Python < 2.6 doesn't have the json module