Forgot in previous.

This commit is contained in:
ajacoutot 2011-07-29 16:57:00 +00:00
parent 9f8293e921
commit 2c7cd4f279

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-cupsppd_c,v 1.3 2009/07/27 07:32:20 ajacoutot Exp $
--- cupsppd.c.orig Tue Dec 23 18:13:38 2008
+++ cupsppd.c Mon Jul 27 09:26:20 2009
@@ -507,7 +507,7 @@ PPD_nondefaultsMarked (PPD *self)
return PyBool_FromLong (nondefaults_marked);
}
-#ifdef __SVR4
+#if defined(__SVR4) || defined(__OpenBSD__)
/*
* A rudimentary emulation of getline() for systems that dont support it
* natively. Since this is used for PPD file reading, it assumes (possibly