Index: head/devel/clanlib1/Makefile =================================================================== --- head/devel/clanlib1/Makefile (revision 474007) +++ head/devel/clanlib1/Makefile (revision 474008) @@ -1,51 +1,53 @@ # 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 \ libogg.so:audio/libogg USES= alias gmake jpeg libtool localbase:ldflags pathfix \ pkgconfig tar:tgz USE_XORG= x11 xi xxf86vm USE_LDCONFIG= yes USE_SDL= gfx USE_GL= gl glu +CXXFLAGS+= -Wno-c++11-narrowing + 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_IOData_Generic_datafile__inputprovider.h =================================================================== --- head/devel/clanlib1/files/patch-Sources_Core_IOData_Generic_datafile__inputprovider.h (nonexistent) +++ head/devel/clanlib1/files/patch-Sources_Core_IOData_Generic_datafile__inputprovider.h (revision 474008) @@ -0,0 +1,12 @@ +--- Sources/Core/IOData/Generic/datafile_inputprovider.h.orig 2006-10-27 01:55:01 UTC ++++ Sources/Core/IOData/Generic/datafile_inputprovider.h +@@ -144,7 +144,7 @@ protected: + cache.insert( +- std::make_pair >( ++ std::make_pair( + resource_id, +- std::make_pair(data_pos, data_size))); ++ std::make_pair(data_pos, data_size))); + } + + private: Property changes on: head/devel/clanlib1/files/patch-Sources_Core_IOData_Generic_datafile__inputprovider.h ___________________________________________________________________ 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: head/devel/clanlib1/files/patch-Sources_GUI_inputbox__generic.cpp =================================================================== --- head/devel/clanlib1/files/patch-Sources_GUI_inputbox__generic.cpp (nonexistent) +++ head/devel/clanlib1/files/patch-Sources_GUI_inputbox__generic.cpp (revision 474008) @@ -0,0 +1,11 @@ +--- Sources/GUI/inputbox_generic.cpp.orig 2008-04-18 11:16:05 UTC ++++ Sources/GUI/inputbox_generic.cpp +@@ -84,7 +84,7 @@ int CL_InputUndo::doUndo( std::string & + + int CL_InputUndo::doRedo( std::string & text ) + { +- if (!canRedo()) return NULL; ++ if (!canRedo()) return 0; + + OneUndo const & u = undo_array[cur_pos]; + Property changes on: head/devel/clanlib1/files/patch-Sources_GUI_inputbox__generic.cpp ___________________________________________________________________ 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