From 1bea7958dfe687b18dd23fd83dc8cb52393af869 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 6 Dec 2011 19:48:47 +0000 Subject: Fix build with newer GCC and newer CUPS --- print/xpp/patches/patch-ad | 14 +++++++++++--- print/xpp/patches/patch-cupshelper.cxx | 12 ++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 print/xpp/patches/patch-cupshelper.cxx (limited to 'print/xpp/patches') diff --git a/print/xpp/patches/patch-ad b/print/xpp/patches/patch-ad index 1bd97dbee56..3a4b59f25b1 100644 --- a/print/xpp/patches/patch-ad +++ b/print/xpp/patches/patch-ad @@ -1,8 +1,16 @@ -$NetBSD: patch-ad,v 1.1 2007/11/30 19:35:12 rillig Exp $ +$NetBSD: patch-ad,v 1.2 2011/12/06 19:48:47 joerg Exp $ --- xpp.h.orig 2004-12-06 17:59:35.000000000 +0000 -+++ xpp.h 2007-11-30 19:24:17.000000000 +0000 -@@ -177,7 +177,7 @@ public: ++++ xpp.h +@@ -36,6 +36,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -177,7 +178,7 @@ public: */ int /* O - index of the record of the given option in the array */ diff --git a/print/xpp/patches/patch-cupshelper.cxx b/print/xpp/patches/patch-cupshelper.cxx new file mode 100644 index 00000000000..5ebc01ac997 --- /dev/null +++ b/print/xpp/patches/patch-cupshelper.cxx @@ -0,0 +1,12 @@ +$NetBSD: patch-cupshelper.cxx,v 1.1 2011/12/06 19:48:47 joerg Exp $ + +--- cupshelper.cxx.orig 2011-12-06 14:22:14.000000000 +0000 ++++ cupshelper.cxx +@@ -34,6 +34,7 @@ + #include "cupshelper.h" + #include "passworddialog.h" + ++#include + #include + #include + -- cgit v1.2.3