Index: Makefile =================================================================== --- Makefile (revision 366217) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= ofc PORTVERSION= 0.8.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= lang MASTER_SITES= GOOGLE_CODE @@ -17,27 +17,16 @@ PROJECTHOST= ${PORTNAME} USE_SDL= sdl -USES= libtool pathfix +USES= libtool objc pathfix GNU_CONFIGURE= yes USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +INSTALL_TARGET= install-strip OPTIONS_DEFINE= GDBM GMP -.include +GDBM_LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm +GMP_LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp -.if ${PORT_OPTIONS:MGDBM} -LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm -.endif - -.if ${PORT_OPTIONS:MGMP} -LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp -.endif - -.if ${OSVERSION} >= 900000 -# 'obj/obj-api.h' deprecated on gcc4.7, so ofc require gcc4.6 or early version. -USE_GCC= 4.6 -.endif - .include Index: files/patch-ofc__DJPEGImage.m =================================================================== --- files/patch-ofc__DJPEGImage.m (revision 0) +++ files/patch-ofc__DJPEGImage.m (working copy) @@ -0,0 +1,10 @@ +--- ./ofc/DJPEGImage.m.orig 2008-08-20 19:16:29.000000000 +0200 ++++ ./ofc/DJPEGImage.m 2014-08-29 08:26:49.885998054 +0200 +@@ -25,6 +25,7 @@ + //============================================================================== + + #include ++#include + + #include "ofc/DJPEGImage.h" + Property changes on: files/patch-ofc__DJPEGImage.m ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-ofc__DLog.m =================================================================== --- files/patch-ofc__DLog.m (revision 0) +++ files/patch-ofc__DLog.m (working copy) @@ -0,0 +1,11 @@ +--- ./ofc/DLog.m.orig 2004-11-23 21:06:33.000000000 +0100 ++++ ./ofc/DLog.m 2014-08-29 08:26:49.886998482 +0200 +@@ -25,7 +25,7 @@ + //============================================================================== + + #include "ofc/DLog.h" +- ++#include + + #if _INTERFACE_ + Property changes on: files/patch-ofc__DLog.m ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: files/patch-ofc__DTCPServer.m =================================================================== --- files/patch-ofc__DTCPServer.m (revision 0) +++ files/patch-ofc__DTCPServer.m (working copy) @@ -0,0 +1,30 @@ +--- ./ofc/DTCPServer.m.orig 2008-08-11 18:59:46.000000000 +0200 ++++ ./ofc/DTCPServer.m 2014-08-29 08:26:49.887997880 +0200 +@@ -370,6 +370,7 @@ + { + switch(_mode) + { ++#ifndef __FreeBSD__ + case DTS_THREADING: + { + ok = (objc_thread_detach(@selector(handleConnection:), self, peer) != NULL); +@@ -380,6 +381,7 @@ + } + } + break; ++#endif + #ifndef WIN32 + case DTS_FORKING: + { +@@ -460,9 +462,11 @@ + + switch(_mode) + { ++#ifndef __FreeBSD__ + case DTS_THREADING: + objc_thread_exit(); + break; ++#endif + + case DTS_FORKING: + exit(0); Property changes on: files/patch-ofc__DTCPServer.m ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-ofc__DText.m =================================================================== --- files/patch-ofc__DText.m (revision 0) +++ files/patch-ofc__DText.m (working copy) @@ -0,0 +1,10 @@ +--- ./ofc/DText.m.orig 2008-08-05 18:29:04.000000000 +0200 ++++ ./ofc/DText.m 2014-08-29 08:27:25.604995394 +0200 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + #include + Property changes on: files/patch-ofc__DText.m ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property