Remove two obsolete patches. I missed them with the update 'cause of my

tests with pre-releases...
no bump, since it prevented the port to build.
Pointed out by Nigel Taylor. njtailor AT asterisk daemon co uk
This commit is contained in:
sebastia 2011-07-28 06:21:10 +00:00
parent 64d1b45cb4
commit 7b3b2313f1
2 changed files with 0 additions and 57 deletions

View File

@ -1,18 +0,0 @@
$OpenBSD: patch-PDFDocument_m,v 1.1 2011/06/24 10:58:02 sebastia Exp $
fix build with gcc-2.95
--- PDFDocument.m.orig Wed Jun 22 09:04:04 2011
+++ PDFDocument.m Wed Jun 22 09:04:29 2011
@@ -188,9 +188,10 @@ static NSMutableDictionary *documentInfo = nil;
- (NSString*)metaData
{
+ const char* data;
NSAssert(![pdfDocRef isNULL], @"no document");
- const char* data = PDFDoc_getMetaData([pdfDocRef pointer]);
+ data = PDFDoc_getMetaData([pdfDocRef pointer]);
return (data != NULL ?
[[[NSString alloc] initWithCString: data] autorelease]
:

View File

@ -1,39 +0,0 @@
$OpenBSD: patch-xpdf_bridge_CountingRef_h,v 1.1 2011/06/24 10:58:02 sebastia Exp $
Fix build with gcc-2.95
--- xpdf/bridge/CountingRef.h.orig Wed Jun 22 08:45:17 2011
+++ xpdf/bridge/CountingRef.h Wed Jun 22 09:03:56 2011
@@ -21,9 +21,17 @@
#include <Foundation/NSObject.h>
-@protocol CountingRefDelegate;
+@class CountingRef;
/**
+ * Delegate for CountingRef's.
+ */
+@protocol CountingRefDelegate
+- (void) freePointerForReference: (CountingRef*)aReference;
+@end
+
+
+/**
* A ref-counting wrapper for pointers. When the
* get's the dealloc message, the associated pointer
* will be free'd using the CountingRef's delegate.
@@ -45,13 +53,4 @@
- (BOOL) isNULL;
@end
-
-
-/**
- * Delegate for CountingRef's.
- */
-@protocol CountingRefDelegate
-- (void) freePointerForReference: (CountingRef*)aReference;
-@end
-
#endif