summarylogtreecommitdiffstats
path: root/getline.patch
diff options
context:
space:
mode:
authorMarti Raudsepp2012-05-01 15:11:50 +0300
committerMarti Raudsepp2012-05-01 15:11:50 +0300
commit6c538efff70800a8add48f87b796a3f87e2082c5 (patch)
tree67290fea0ebc1859efdd34894cb8adc29cc967b2 /getline.patch
downloadaur-python15.tar.gz
Add python15
Diffstat (limited to 'getline.patch')
-rw-r--r--getline.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/getline.patch b/getline.patch
new file mode 100644
index 000000000000..a7449c26dd0d
--- /dev/null
+++ b/getline.patch
@@ -0,0 +1,12 @@
+--- Python-1.5.2/Objects/fileobject.c.orig 2012-05-01 14:39:04.857802025 +0300
++++ Python-1.5.2/Objects/fileobject.c 2012-05-01 14:39:29.663531501 +0300
+@@ -64,6 +64,9 @@
+
+ #include <errno.h>
+
++// Work around name conflict with newer stdio.h
++#define getline py_getline
++
+ typedef struct {
+ PyObject_HEAD
+ FILE *f_fp;