pkgsrc/print/py-cups/patches/patch-aa
2009-01-10 20:13:29 +00:00

13 lines
475 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2009/01/10 20:13:29 markd Exp $
--- cupsppd.c.orig 2008-07-06 05:19:02.000000000 +1200
+++ cupsppd.c
@@ -451,7 +451,7 @@ PPD_nondefaultsMarked (PPD *self)
return PyBool_FromLong (nondefaults_marked);
}
-#ifdef __SVR4
+#if defined(__SVR4) || defined(__OpenBSD__) || defined(__NetBSD__)
/*
* A rudimentary emulation of getline() for systems that dont support it
* natively. Since this is used for PPD file reading, it assumes (possibly