summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-20 22:20:46 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-20 22:20:46 +0800
commit3060a02594e0ba316dfaa9d76ccfb87ff4621b7a (patch)
treeeb656b40f905ce4a95ec70a49178e9611cf82d85
parent7c481c2d20144edddb9e6ae691ac582f13ae2971 (diff)
downloadmarcuscom-ports-3060a02594e0ba316dfaa9d76ccfb87ff4621b7a.tar
marcuscom-ports-3060a02594e0ba316dfaa9d76ccfb87ff4621b7a.tar.gz
marcuscom-ports-3060a02594e0ba316dfaa9d76ccfb87ff4621b7a.tar.bz2
marcuscom-ports-3060a02594e0ba316dfaa9d76ccfb87ff4621b7a.tar.lz
marcuscom-ports-3060a02594e0ba316dfaa9d76ccfb87ff4621b7a.tar.xz
marcuscom-ports-3060a02594e0ba316dfaa9d76ccfb87ff4621b7a.tar.zst
marcuscom-ports-3060a02594e0ba316dfaa9d76ccfb87ff4621b7a.zip
Enable getline
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10793 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--print/py-cups/files/patch-cupsppd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/py-cups/files/patch-cupsppd.c b/print/py-cups/files/patch-cupsppd.c
new file mode 100644
index 000000000..83b68ca60
--- /dev/null
+++ b/print/py-cups/files/patch-cupsppd.c
@@ -0,0 +1,11 @@
+--- cupsppd.c.orig 2008-03-20 10:16:42.000000000 -0400
++++ cupsppd.c 2008-03-20 10:17:16.000000000 -0400
+@@ -451,7 +451,7 @@
+ return PyBool_FromLong (nondefaults_marked);
+ }
+
+-#ifdef __SVR4
++#if 1
+ /*
+ * A rudimentary emulation of getline() for systems that dont support it
+ * natively. Since this is used for PPD file reading, it assumes (possibly