summaryrefslogtreecommitdiffstats
path: root/Misc/RPM/Python-2.1-expat.patch
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-01-06 03:29:16 (GMT)
committerGuido van Rossum <guido@python.org>2002-01-06 03:29:16 (GMT)
commit23105d5c24579ae0278ed4dcd3905565e15f34a3 (patch)
tree92239eac0ca60e5e0a7b5d0e619a0e295e15e17a /Misc/RPM/Python-2.1-expat.patch
parent8a107fbfed5913e165804b056ffa0c329bfcaa24 (diff)
downloadcpython-23105d5c24579ae0278ed4dcd3905565e15f34a3.zip
cpython-23105d5c24579ae0278ed4dcd3905565e15f34a3.tar.gz
cpython-23105d5c24579ae0278ed4dcd3905565e15f34a3.tar.bz2
Checked in Sean Reifschneider's RPM spec file and patches. Bugfix candidate.
Diffstat (limited to 'Misc/RPM/Python-2.1-expat.patch')
-rw-r--r--Misc/RPM/Python-2.1-expat.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/Misc/RPM/Python-2.1-expat.patch b/Misc/RPM/Python-2.1-expat.patch
new file mode 100644
index 0000000..3686458
--- /dev/null
+++ b/Misc/RPM/Python-2.1-expat.patch
@@ -0,0 +1,22 @@
+--- Modules/pyexpat.c.old Tue Mar 6 02:30:48 2001
++++ Modules/pyexpat.c Tue Mar 6 02:31:15 2001
+@@ -12,7 +12,7 @@
+ #define EXPAT_VERSION 0x015f00
+ #endif
+ #else /* !defined(HAVE_EXPAT_H) */
+-#include "xmlparse.h"
++#include "expat/xmlparse.h"
+ /* Assume Expat 1.1 unless told otherwise */
+ #ifndef EXPAT_VERSION
+ #define EXPAT_VERSION 0x010100
+--- setup.py-orig Fri Feb 2 11:24:25 2001
++++ setup.py Wed Feb 14 18:13:15 2001
+@@ -445,7 +445,7 @@
+ # expat.h was found
+ expat_defs = [('HAVE_EXPAT_H', 1)]
+ else:
+- expat_incs = find_file('xmlparse.h', inc_dirs, [])
++ expat_incs = find_file('expat/xmlparse.h', inc_dirs, [])
+
+ if (expat_incs is not None and
+ self.compiler.find_library_file(lib_dirs, 'expat')):