From 9d39f570f6cac00d63a3bafbcb3bce7a005c847c Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Sun, 28 Jul 2013 04:20:32 +0000 Subject: 1: Fix build with newer zlib [1] 2: switch to gcc46. PR: ports/180748 Submitted by: John Marino [1] --- lang/ofc/files/patch-ofc_DGZipFile.m | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lang/ofc/files/patch-ofc_DGZipFile.m (limited to 'lang/ofc/files/patch-ofc_DGZipFile.m') diff --git a/lang/ofc/files/patch-ofc_DGZipFile.m b/lang/ofc/files/patch-ofc_DGZipFile.m new file mode 100644 index 000000000000..68abf4674b44 --- /dev/null +++ b/lang/ofc/files/patch-ofc_DGZipFile.m @@ -0,0 +1,22 @@ +--- ofc/DGZipFile.m.orig 2008-08-02 05:58:14.000000000 +0000 ++++ ofc/DGZipFile.m +@@ -31,10 +31,6 @@ + #include + #include + +-#ifdef HAVE_DGZIPFILE +-#include +-#endif +- + #include "ofc/DDatable.h" + + +@@ -123,7 +119,7 @@ + @interface DGZipFile : Object + { + @private +- void *_file; // the file pointer ++ gzFile _file; // the file pointer + } + + #endif -- cgit v1.2.3