summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2010-08-20 14:30:20 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2010-08-20 14:30:20 +0000
commit7103fefeae33f622c8ba6da0492dbba724f101ac (patch)
tree8b22a764c84363d807a94aa3dd9a6fac8d3f6f6b /gnustep-apps/preview/files
parentPatch to fix page table unmap for stack guard page (diff)
downloadgentoo-2-7103fefeae33f622c8ba6da0492dbba724f101ac.tar.gz
gentoo-2-7103fefeae33f622c8ba6da0492dbba724f101ac.tar.bz2
gentoo-2-7103fefeae33f622c8ba6da0492dbba724f101ac.zip
Fix compilation, bug #331435
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'gnustep-apps/preview/files')
-rw-r--r--gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch b/gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch
new file mode 100644
index 000000000000..247a7c8b171d
--- /dev/null
+++ b/gnustep-apps/preview/files/preview-0.8.5-compilation-errors.patch
@@ -0,0 +1,30 @@
+2010-05-18 Federico Gimenez Nieto <fgimenez@coit.es>
+
+ * Document.m: Import <AppKit/AppKit.h>.
+
+Index: preview.app-0.8.5/Document.m
+===================================================================
+--- preview.app-0.8.5.orig/Document.m 2010-05-18 19:18:11.000000000 +0200
++++ preview.app-0.8.5/Document.m 2010-05-18 19:18:23.000000000 +0200
+@@ -35,20 +35,7 @@
+
+ #include <Foundation/NSNotification.h>
+
+-#include <AppKit/NSApplication.h>
+-#include <AppKit/NSAffineTransform.h>
+-#include <AppKit/NSClipView.h>
+-#include <AppKit/NSCursor.h>
+-#include <AppKit/NSImage.h>
+-#include <AppKit/NSImageView.h>
+-#include <AppKit/NSMatrix.h>
+-#include <AppKit/NSPasteboard.h>
+-#include <AppKit/NSPopUpButton.h>
+-#include <AppKit/NSScreen.h>
+-#include <AppKit/NSScrollView.h>
+-#include <AppKit/NSWindow.h>
+-#include <AppKit/NSWindowController.h>
+-#include <AppKit/NSScroller.h>
++#include <AppKit/AppKit.h>
+
+ /*********************************************************************/
+ /**************** NSDocument Private methods *************************/