ports/lang/ofc/files/patch-ofc_DGZipFile.m
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

22 lines
459 B
Objective-C

--- ofc/DGZipFile.m.orig 2008-08-02 05:58:14.000000000 +0000
+++ ofc/DGZipFile.m
@@ -31,10 +31,6 @@
#include <stdio.h>
#include <string.h>
-#ifdef HAVE_DGZIPFILE
-#include <zlib.h>
-#endif
-
#include "ofc/DDatable.h"
@@ -123,7 +119,7 @@
@interface DGZipFile : Object <DTextReadable,DTextWritable,DDataReadable,DDataWritable>
{
@private
- void *_file; // the file pointer
+ gzFile _file; // the file pointer
}
#endif