diff options
author | joerg <joerg> | 2011-12-06 19:48:47 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-12-06 19:48:47 +0000 |
commit | 1bea7958dfe687b18dd23fd83dc8cb52393af869 (patch) | |
tree | 79a011f5135c1400cf92c051445578d131601b90 /print/xpp/patches | |
parent | 4c10bf9b150665c80d73f92f6926dc4311a69f8b (diff) | |
download | pkgsrc-1bea7958dfe687b18dd23fd83dc8cb52393af869.tar.gz |
Fix build with newer GCC and newer CUPS
Diffstat (limited to 'print/xpp/patches')
-rw-r--r-- | print/xpp/patches/patch-ad | 14 | ||||
-rw-r--r-- | print/xpp/patches/patch-cupshelper.cxx | 12 |
2 files changed, 23 insertions, 3 deletions
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 <cups/cups.h> + #include <cups/ipp.h> + #include <cups/language.h> ++#include <cups/ppd.h> + #include <FL/Fl.H> + #include <FL/Fl_Window.H> + #include <FL/Fl_Box.H> +@@ -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 <stdio.h> + #include <stdlib.h> + #include <cups/language.h> + |