openbsd-ports/print/scribus/patches/patch-scribus_printerutil_cpp
2011-09-08 10:34:25 +00:00

15 lines
437 B
Plaintext

$OpenBSD: patch-scribus_printerutil_cpp,v 1.1 2011/09/08 10:34:25 ajacoutot Exp $
Fix build fix cups >=1.5.
--- scribus/printerutil.cpp.orig Thu Sep 8 11:26:43 2011
+++ scribus/printerutil.cpp Thu Sep 8 11:26:54 2011
@@ -9,6 +9,7 @@ for which a new license (GPL+exception) is in place.
#if defined( HAVE_CUPS )
#include <cups/cups.h>
+ #include <cups/ppd.h>
#elif defined(_WIN32)
#include <windows.h>
#include <winspool.h>