Summary: | [PATCH] Fix for lang/ofc provided | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | John Marino <freebsd> | ||||
Component: | Individual Port(s) | Assignee: | Vanilla I. Shu <vanilla> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
John Marino
2013-07-23 00:40:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->vanilla Over to maintainer (via the GNATS Auto Assign Tool) Author: vanilla Date: Sun Jul 28 04:20:32 2013 New Revision: 323810 URL: http://svnweb.freebsd.org/changeset/ports/323810 Log: 1: Fix build with newer zlib [1] 2: switch to gcc46. PR: ports/180748 Submitted by: John Marino <freebsd at marino.st> [1] Added: head/lang/ofc/files/patch-ofc_DGZipFile.h (contents, props changed) head/lang/ofc/files/patch-ofc_DGZipFile.m (contents, props changed) Modified: head/lang/ofc/Makefile Modified: head/lang/ofc/Makefile ============================================================================== --- head/lang/ofc/Makefile Sat Jul 27 22:50:01 2013 (r323809) +++ head/lang/ofc/Makefile Sun Jul 28 04:20:32 2013 (r323810) @@ -18,7 +18,7 @@ LIB_DEPENDS= expat:${PORTSDIR}/textproc/ PROJECTHOST= ${PORTNAME} USE_SDL= sdl USE_AUTOTOOLS= libtool -USES= pathfix +USES= pathfix GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 ${PTHREAD_CFLAGS} @@ -38,7 +38,7 @@ LIB_DEPENDS+= gmp:${PORTSDIR}/math/gmp .if ${OSVERSION} >= 900000 # needs libobjc -GCCSUFFIX=42 +GCCSUFFIX= 46 CC= gcc${GCCSUFFIX} CXX= g++${GCCSUFFIX} OFC_GCC_PORT?= lang/gcc${GCCSUFFIX} Added: head/lang/ofc/files/patch-ofc_DGZipFile.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ofc/files/patch-ofc_DGZipFile.h Sun Jul 28 04:20:32 2013 (r323810) @@ -0,0 +1,19 @@ +--- 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 Added: head/lang/ofc/files/patch-ofc_DGZipFile.m ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ofc/files/patch-ofc_DGZipFile.m Sun Jul 28 04:20:32 2013 (r323810) @@ -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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed, thanks. |