diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-07-28 04:20:32 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-07-28 04:20:32 +0000 |
commit | 9d39f570f6cac00d63a3bafbcb3bce7a005c847c (patch) | |
tree | d171f88c95bcca0aaa449e8d703fb97dbd1dbec7 /lang/ofc/files/patch-ofc_DGZipFile.m | |
parent | - Update post-install message to move /usr/local/share/tqsl (diff) |
1: Fix build with newer zlib [1]
2: switch to gcc46.
PR: ports/180748
Submitted by: John Marino <freebsd at marino.st> [1]
Notes
Notes:
svn path=/head/; revision=323810
Diffstat (limited to 'lang/ofc/files/patch-ofc_DGZipFile.m')
-rw-r--r-- | lang/ofc/files/patch-ofc_DGZipFile.m | 22 |
1 files changed, 22 insertions, 0 deletions
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 <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 |