Index: head/games/freeorion/Makefile =================================================================== --- head/games/freeorion/Makefile (revision 478648) +++ head/games/freeorion/Makefile (revision 478649) @@ -1,50 +1,49 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= freeorion DISTVERSIONPREFIX= v -DISTVERSION= 0.4.8-rc2 -PORTREVISION= 1 +DISTVERSION= 0.4.8 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Turn-based space empire and galactic conquest game LICENSE= GPLv2 CC-BY-SA-3.0 LICENSE_COMB= multi LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ ${PY_BOOST} USE_GITHUB= yes USES= cmake compiler:c++14-lang python:2.7 LLD_UNSAFE= yes PORTDOCS= ChangeLog.md README.md PORTDATA= * OPTIONS_DEFINE= DOCS TEST HEADLESS OPTIONS_SUB= yes TEST_CMAKE_BOOL= BUILD_TESTING TEST_TEST_TARGET= unittest TEST_USES= localbase HEADLESS_DESC= Build only headless components: server and AI HEADLESS_CMAKE_BOOL= BUILD_HEADLESS HEADLESS_USES_OFF= openal HEADLESS_USE_OFF= SDL=sdl2 GL=gl,glu,glew HEADLESS_LIB_DEPENDS_OFF= \ libfreetype.so:print/freetype2 \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libpng.so:graphics/png post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ .endfor .include Index: head/games/freeorion/distinfo =================================================================== --- head/games/freeorion/distinfo (revision 478648) +++ head/games/freeorion/distinfo (revision 478649) @@ -1,3 +1,3 @@ -TIMESTAMP = 1533298586 -SHA256 (freeorion-freeorion-v0.4.8-rc2_GH0.tar.gz) = 7a88858021cc23e308cb333327b16feccadc636c9afac2ba602e9dc5842745c0 -SIZE (freeorion-freeorion-v0.4.8-rc2_GH0.tar.gz) = 106234158 +TIMESTAMP = 1535717925 +SHA256 (freeorion-freeorion-v0.4.8_GH0.tar.gz) = 1dac72c40bb9b881699423c98b14a9cd71b3f88cd2ec3433d5456cdd8dfa9621 +SIZE (freeorion-freeorion-v0.4.8_GH0.tar.gz) = 106232267 Index: head/games/freeorion/files/patch-boost168 =================================================================== --- head/games/freeorion/files/patch-boost168 (revision 478648) +++ head/games/freeorion/files/patch-boost168 (nonexistent) @@ -1,149 +0,0 @@ -https://github.com/freeorion/freeorion/pull/2241 - ---- GG/src/GUI.cpp.orig 2018-06-14 14:12:09 UTC -+++ GG/src/GUI.cpp -@@ -37,14 +37,19 @@ - #include - - #if GG_HAVE_LIBPNG --# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7) --# pragma GCC diagnostic push --# pragma GCC diagnostic ignored "-Wunused-local-typedefs" -+# if BOOST_VERSION < 106800 -+# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7) -+# pragma GCC diagnostic push -+# pragma GCC diagnostic ignored "-Wunused-local-typedefs" -+# endif -+# include "gilext/io/png_io.hpp" -+# include "gilext/io/png_io_v2_compat.hpp" -+# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7) -+# pragma GCC diagnostic pop -+# endif -+# else -+# include - # endif --# include "gilext/io/png_io.hpp" --# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7) --# pragma GCC diagnostic pop --# endif - #endif - - #include -@@ -132,12 +137,15 @@ namespace { - glPopClientAttrib(); - - using namespace boost::gil; -- png_write_view(filename, -- flipped_up_down_view( -- interleaved_view(Value(size.x), -- Value(size.y), -- static_cast(static_cast(&bytes[0])), -- Value(size.x) * sizeof(rgba8_pixel_t)))); -+ write_view( -+ filename, -+ flipped_up_down_view( -+ interleaved_view( -+ Value(size.x), -+ Value(size.y), -+ static_cast(static_cast(&bytes[0])), -+ Value(size.x) * sizeof(rgba8_pixel_t))), -+ png_tag()); - #endif - } - } ---- GG/src/Texture.cpp.orig 2018-06-14 14:12:09 UTC -+++ GG/src/Texture.cpp -@@ -36,7 +36,12 @@ - #include - - #if GG_HAVE_LIBPNG --# include "gilext/io/png_dynamic_io.hpp" -+# if BOOST_VERSION < 106800 -+# include "gilext/io/png_dynamic_io.hpp" -+# include "gilext/io/png_io_v2_compat.hpp" -+# else -+# include -+# endif - #endif - - #include -@@ -241,12 +246,12 @@ void Texture::Load(const boost::filesystem::path& path - // formats above. - #if GG_HAVE_LIBPNG - if (extension == ".png") -- gil::png_read_image(path, image); -+ gil::read_image(filename, image, gil::image_read_settings()); - else - #endif - #if GG_HAVE_LIBTIFF - if (extension == ".tif" || extension == ".tiff") -- gil::tiff_read_image(filename, image); -+ gil::read_image(filename, image, gil::image_read_settings()); - else - #endif - throw BadFile("Texture file \"" + filename + "\" does not have a supported file extension"); -@@ -256,14 +261,14 @@ void Texture::Load(const boost::filesystem::path& path - #if GG_HAVE_LIBPNG - if (extension == ".png") { - gil::rgba8_image_t rgba_image; -- gil::png_read_and_convert_image(path, rgba_image); -+ gil::read_and_convert_image(filename, rgba_image, gil::image_read_settings()); - image.move_in(rgba_image); - } - #endif - #if GG_HAVE_LIBTIFF - if (extension == ".tif" || extension == ".tiff") { - gil::rgba8_image_t rgba_image; -- gil::tiff_read_and_convert_image(filename, rgba_image); -+ gil::read_and_convert_image(filename, rgba_image, gil::image_read_settings()); - image.move_in(rgba_image); - } - #endif ---- GG/src/gilext/io/png_io_v2_compat.hpp.orig 2018-07-20 13:44:48 UTC -+++ GG/src/gilext/io/png_io_v2_compat.hpp -@@ -0,0 +1,45 @@ -+#ifndef GILEXT_PNG_IO_V2_COMPAT_H -+#define GILEXT_PNG_IO_V2_COMPAT_H -+ -+namespace boost { namespace gil { -+ -+struct png_tag {}; -+ -+template< typename Tag> -+struct image_read_settings {}; -+ -+template< typename String -+ , typename Image -+ , typename FormatTag -+ > -+inline -+void read_image( const String& file_name -+ , Image& image -+ , const FormatTag& tag -+ ) -+{ boost::gil::png_read_image(file_name, image); } -+ -+template< typename String -+ , typename Image -+ , typename FormatTag -+ > -+inline -+void read_and_convert_image( const String& file_name -+ , Image& image -+ , const FormatTag& tag -+ ) -+{ boost::gil::png_read_and_convert_image(file_name, image); } -+} } -+ -+template< typename String -+ , typename View -+ , typename FormatTag -+ > -+inline -+void write_view( const String& file_name -+ , const View& view -+ , const FormatTag& tag -+ ) -+{ boost::gil::png_write_view( file_name, view); } -+ -+#endif Property changes on: head/games/freeorion/files/patch-boost168 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property