summaryrefslogtreecommitdiff
path: root/print/py-cups/files/patch-cupsppd.c
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2008-03-23 16:19:06 +0000
committerMichael Johnson <ahze@FreeBSD.org>2008-03-23 16:19:06 +0000
commiteb9c8a9887d36fd73557549a7b6e17d95608cd0b (patch)
tree405e5c41617efc5047ab2a9bbb7354107ec2277b /print/py-cups/files/patch-cupsppd.c
parent- fix API change of guile (diff)
Add py-cups
CUPS bindings for Python WWW: http://cyberelk.net/tim/software/pycups/
Notes
Notes: svn path=/head/; revision=209632
Diffstat (limited to 'print/py-cups/files/patch-cupsppd.c')
-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 000000000000..83b68ca60b3c
--- /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