From eb9c8a9887d36fd73557549a7b6e17d95608cd0b Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sun, 23 Mar 2008 16:19:06 +0000 Subject: Add py-cups CUPS bindings for Python WWW: http://cyberelk.net/tim/software/pycups/ --- print/py-cups/files/patch-cupsppd.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 print/py-cups/files/patch-cupsppd.c (limited to 'print/py-cups/files/patch-cupsppd.c') 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 -- cgit v1.2.3