- Fix build with new cups

PR:		ports/161557
Submitted by:	Bartoletti <coder@tuxfamily.org> (maintainer)
This commit is contained in:
Pav Lucistnik 2011-10-13 19:11:19 +00:00
parent f0a083fe05
commit 3822c0401a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283489
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- scribus/cupsoptions.cpp.orig 2011-10-13 19:10:47.000000000 +0200
+++ scribus/cupsoptions.cpp 2011-10-13 19:03:24.000000000 +0200
@@ -42,6 +42,7 @@
#include "scconfig.h"
#ifdef HAVE_CUPS
#include <cups/cups.h>
+#include <cups/ppd.h>
#endif
#include "util_icon.h"

View file

@ -0,0 +1,10 @@
--- scribus/util_printer.cpp.orig 2011-10-13 19:28:10.000000000 +0200
+++ scribus/util_printer.cpp 2011-10-13 19:28:51.000000000 +0200
@@ -9,6 +9,7 @@
#if defined( HAVE_CUPS )
#include <cups/cups.h>
+ #include <cups/ppd.h>
#elif defined(_WIN32)
#include <windows.h>
#include <winspool.h>