freebsd-ports/lang/ofc/files/patch-ofc_DGZipFile.h
Vanilla I. Shu 9d39f570f6 1: Fix build with newer zlib [1]
2: switch to gcc46.

PR:		ports/180748
Submitted by:	John Marino <freebsd at marino.st> [1]
2013-07-28 04:20:32 +00:00

19 lines
472 B
Objective-C

--- ofc/DGZipFile.h.orig 2008-08-02 15:15:11.000000000 +0000
+++ ofc/DGZipFile.h
@@ -46,6 +46,7 @@
#endif
#ifdef HAVE_DGZIPFILE
+#include <zlib.h>
// the seek origins
#define DGZ_SEEK_SET (0) // Seek from the start of the file
@@ -114,7 +115,7 @@
@interface DGZipFile : Object <DTextReadable,DTextWritable,DDataReadable,DDataWritable>
{
@private
- void *_file; // the file pointer
+ gzFile _file; // the file pointer
}
#endif