diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-03-31 16:40:30 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-03-31 16:40:30 +0000 |
commit | 6f29172a0dfee0553797424adf16bd18d20d6fa7 (patch) | |
tree | a588666b5ab185d06e65f088f4213daebc931067 | |
parent | 7af77befd9ac588f2bcf8e04a995cc58303718f0 (diff) | |
download | ports-6f29172a0dfee0553797424adf16bd18d20d6fa7.tar.gz ports-6f29172a0dfee0553797424adf16bd18d20d6fa7.zip |
Unbreak with new cups
Obtained from: OpenBSD
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=349775
3 files changed, 36 insertions, 0 deletions
diff --git a/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrintInfo.m b/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrintInfo.m new file mode 100644 index 000000000000..7c664f3a833e --- /dev/null +++ b/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrintInfo.m @@ -0,0 +1,12 @@ +--- ./Printing/GSCUPS/GSCUPSPrintInfo.m.orig 2011-02-07 18:08:33.000000000 +0000 ++++ ./Printing/GSCUPS/GSCUPSPrintInfo.m 2014-03-31 15:14:03.000000000 +0000 +@@ -32,7 +32,9 @@ + #import "AppKit/NSPrinter.h" + #import "GSCUPSPrintInfo.h" + #import "GSCUPSPrinter.h" ++#undef __BLOCKS__ + #include <cups/cups.h> ++#define __BLOCKS__ + + + @implementation GSCUPSPrintInfo diff --git a/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrintOperation.m b/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrintOperation.m new file mode 100644 index 000000000000..9391911c04ee --- /dev/null +++ b/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrintOperation.m @@ -0,0 +1,12 @@ +--- ./Printing/GSCUPS/GSCUPSPrintOperation.m.orig 2011-03-13 23:38:47.000000000 +0000 ++++ ./Printing/GSCUPS/GSCUPSPrintOperation.m 2014-03-31 15:14:03.000000000 +0000 +@@ -41,7 +41,9 @@ + #import <AppKit/NSPrintOperation.h> + #import "GSGuiPrivate.h" + #import "GSCUPSPrintOperation.h" ++#undef __BLOCKS__ + #include <cups/cups.h> ++#define __BLOCKS__ + + + //A subclass of GSPrintOperation, NOT NSPrintOperation. diff --git a/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrinter.m b/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrinter.m new file mode 100644 index 000000000000..63da5df389fe --- /dev/null +++ b/x11-toolkits/gnustep-gui/files/patch-Printing__GSCUPS__GSCUPSPrinter.m @@ -0,0 +1,12 @@ +--- ./Printing/GSCUPS/GSCUPSPrinter.m.orig 2011-03-14 21:45:39.000000000 +0000 ++++ ./Printing/GSCUPS/GSCUPSPrinter.m 2014-03-31 15:14:03.000000000 +0000 +@@ -48,7 +48,9 @@ + #import "GNUstepGUI/GSPrinting.h" + #import "GSCUPSPrinter.h" + ++#undef __BLOCKS__ + #include <cups/cups.h> ++#define __BLOCKS__ + + + NSString *GSCUPSDummyPrinterName = @"GSCUPSDummyPrinter"; |