Index: head/devel/clanlib1/Makefile =================================================================== --- head/devel/clanlib1/Makefile (revision 472056) +++ head/devel/clanlib1/Makefile (revision 472057) @@ -1,49 +1,51 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= clanlib PORTVERSION= 1.0.0 PORTREVISION= 8 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-1.0/ PKGNAMESUFFIX= 1 DISTNAME= ClanLib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform game SDK LICENSE= ZLIB +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png \ libmikmod.so:audio/libmikmod \ - libvorbis.so:audio/libvorbis + libvorbis.so:audio/libvorbis \ + libogg.so:audio/libogg USES= alias gmake jpeg libtool localbase:ldflags pathfix \ pkgconfig tar:tgz -USE_XORG= x11 xi +USE_XORG= x11 xi xxf86vm USE_LDCONFIG= yes USE_SDL= gfx -USE_GL= yes +USE_GL= gl glu GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \ --enable-clanDisplay \ --enable-clanGL \ --enable-clanSDL \ --enable-clanSound \ --enable-clanNetwork \ --enable-clanGUI \ --enable-clanMikMod \ --enable-clanVorbis \ --enable-getaddr INSTALL_TARGET= install-strip PLIST_SUB+= VER=${PORTVERSION:R} post-patch: @${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ 's|SDL/SDL|SDL|g' @${REINPLACE_CMD} -e 's|@perl_exec@|${PERL}|g' \ ${WRKSRC}/Documentation/Utilities/webbuilder.pl.in .include Index: head/devel/clanlib1/files/patch-Sources__Core__System__Unix__init_linux.cpp =================================================================== --- head/devel/clanlib1/files/patch-Sources__Core__System__Unix__init_linux.cpp (revision 472056) +++ head/devel/clanlib1/files/patch-Sources__Core__System__Unix__init_linux.cpp (revision 472057) @@ -1,11 +1,11 @@ ---- ./Sources/Core/System/Unix/init_linux.cpp.orig 2012-09-26 07:30:30.000000000 -0400 -+++ ./Sources/Core/System/Unix/init_linux.cpp 2012-09-26 07:29:01.000000000 -0400 -@@ -131,7 +131,7 @@ +--- Sources/Core/System/Unix/init_linux.cpp.orig 2009-03-23 00:40:42 UTC ++++ Sources/Core/System/Unix/init_linux.cpp +@@ -131,7 +131,7 @@ std::string CL_System::get_exe_path() #else #ifndef PROC_EXE_PATH -#define PROC_EXE_PATH "/proc/self/exe" +#define PROC_EXE_PATH "/proc/curproc/file" #endif int size; struct stat sb; Index: head/devel/clanlib1/files/patch-Sources__Display__Providers__png_provider_generic.cpp =================================================================== --- head/devel/clanlib1/files/patch-Sources__Display__Providers__png_provider_generic.cpp (revision 472056) +++ head/devel/clanlib1/files/patch-Sources__Display__Providers__png_provider_generic.cpp (revision 472057) @@ -1,11 +1,11 @@ ---- ./Sources/Display/Providers/png_provider_generic.cpp.orig 2012-09-26 07:31:33.000000000 -0400 -+++ ./Sources/Display/Providers/png_provider_generic.cpp 2012-09-26 07:32:16.000000000 -0400 -@@ -107,7 +107,7 @@ +--- Sources/Display/Providers/png_provider_generic.cpp.orig 2006-10-27 01:55:01 UTC ++++ Sources/Display/Providers/png_provider_generic.cpp +@@ -107,7 +107,7 @@ void CL_PNGProvider_Generic::init() png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL); cl_assert(false); } - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_read_struct(&png_ptr, &info_ptr, &end_info); cl_assert(false); Index: head/devel/clanlib1/files/patch-libc++ =================================================================== --- head/devel/clanlib1/files/patch-libc++ (revision 472056) +++ head/devel/clanlib1/files/patch-libc++ (revision 472057) @@ -1,20 +1,20 @@ ---- Sources/GL/canvas_opengl.cpp.orig 2007-10-21 02:14:01.000000000 +0200 -+++ Sources/GL/canvas_opengl.cpp 2013-09-16 13:21:42.874065134 +0200 +--- Sources/GL/canvas_opengl.cpp.orig 2007-10-21 00:14:01 UTC ++++ Sources/GL/canvas_opengl.cpp @@ -27,6 +27,7 @@ ** (if your name is missing here, please add it) */ +#include #include "Display/display_precomp.h" #include "canvas_opengl.h" #include "API/Core/System/error.h" ---- Sources/Network/Socket/ip_address_getaddr.cpp.orig 2007-10-21 02:14:01.000000000 +0200 -+++ Sources/Network/Socket/ip_address_getaddr.cpp 2013-09-16 13:22:11.882067224 +0200 +--- Sources/Network/Socket/ip_address_getaddr.cpp.orig 2007-10-21 00:14:01 UTC ++++ Sources/Network/Socket/ip_address_getaddr.cpp @@ -29,6 +29,7 @@ #ifdef USE_GETADDR +#include #include "ip_address_getaddr.h" #include "API/Core/System/error.h" #include "API/Core/System/mutex.h"