Date: Sun, 20 Sep 2015 18:24:44 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397380 - in head: converters/fix-mime-charset/files games/crack-attack/files games/galaxyhack/files graphics/ampasCTL graphics/ampasCTL/files graphics/graphopt/files math/ised/files Message-ID: <201509201824.t8KIOiZX027458@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Sep 20 18:24:44 2015 New Revision: 397380 URL: https://svnweb.freebsd.org/changeset/ports/397380 Log: Add <cstring> and/or <cstdlib> to 7 ports to support modern gcc Approved by: gcc5 support blanket Added: head/converters/fix-mime-charset/files/ head/converters/fix-mime-charset/files/patch-src_argp-local.h (contents, props changed) head/converters/fix-mime-charset/files/patch-src_decoder.cc (contents, props changed) head/games/crack-attack/files/patch-src_TextureLoader.h (contents, props changed) head/games/galaxyhack/files/patch-JSDL.cpp (contents, props changed) head/graphics/ampasCTL/files/patch-ctlrender_tiff__file.cc (contents, props changed) head/graphics/ampasCTL/files/patch-lib_IlmCtl_CtlExc.cpp (contents, props changed) head/graphics/graphopt/files/patch-src_classes_nodes.cc (contents, props changed) head/math/ised/files/ head/math/ised/files/patch-src_ised.cpp (contents, props changed) Modified: head/graphics/ampasCTL/Makefile Added: head/converters/fix-mime-charset/files/patch-src_argp-local.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/fix-mime-charset/files/patch-src_argp-local.h Sun Sep 20 18:24:44 2015 (r397380) @@ -0,0 +1,10 @@ +--- src/argp-local.h.orig 2003-11-25 23:51:41 UTC ++++ src/argp-local.h +@@ -12,6 +12,7 @@ + #include <getopt.h> + #include <string.h> + #include <iostream> ++#include <cstdlib> + + #define __need_error_t + #include <errno.h> Added: head/converters/fix-mime-charset/files/patch-src_decoder.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/fix-mime-charset/files/patch-src_decoder.cc Sun Sep 20 18:24:44 2015 (r397380) @@ -0,0 +1,10 @@ +--- src/decoder.cc.orig 2003-08-28 18:45:38 UTC ++++ src/decoder.cc +@@ -1,6 +1,7 @@ + // @(#) $Id: decoder.cc,v 1.7 2003/08/28 18:45:38 balu Exp $ + + #include "decoder.h" ++#include <cstring> + + unsigned char base64_rank[256]= + {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255, Added: head/games/crack-attack/files/patch-src_TextureLoader.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/crack-attack/files/patch-src_TextureLoader.h Sun Sep 20 18:24:44 2015 (r397380) @@ -0,0 +1,10 @@ +--- src/TextureLoader.h.orig 2005-04-16 08:13:38 UTC ++++ src/TextureLoader.h +@@ -27,6 +27,7 @@ + #ifndef TEXTURELOADER_H + #define TEXTURELOADER_H + ++#include <cstring> + #include <GL/glut.h> + + #include "glext.h" Added: head/games/galaxyhack/files/patch-JSDL.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/galaxyhack/files/patch-JSDL.cpp Sun Sep 20 18:24:44 2015 (r397380) @@ -0,0 +1,10 @@ +--- JSDL.cpp.orig 2015-09-20 01:08:54 UTC ++++ JSDL.cpp +@@ -18,6 +18,7 @@ + #include <SDL_mixer.h> + + #include <cstdlib> ++#include <cstring> + #include <fstream> + #include <stdexcept> + Modified: head/graphics/ampasCTL/Makefile ============================================================================== --- head/graphics/ampasCTL/Makefile Sun Sep 20 17:04:19 2015 (r397379) +++ head/graphics/ampasCTL/Makefile Sun Sep 20 18:24:44 2015 (r397380) @@ -41,10 +41,6 @@ OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> post-patch: - @${REINPLACE_CMD} -e 's|#include <alloca.h>||' \ - ${WRKSRC}/lib/dpx/dpx_util.cc ${WRKSRC}/lib/IlmCtl/CtlExc.cpp \ - ${WRKSRC}/lib/IlmCtl/CtlTypeStorage.cpp ${WRKSRC}/ctlrender/tiff_file.cc - @${REINPLACE_CMD} -e 's|lib/CMake|lib/cmake|' \ -e 's|add_subdirectory(doc)||' \ -e 's|lib/pkgconfig|libdata/pkgconfig|' \ Added: head/graphics/ampasCTL/files/patch-ctlrender_tiff__file.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ampasCTL/files/patch-ctlrender_tiff__file.cc Sun Sep 20 18:24:44 2015 (r397380) @@ -0,0 +1,18 @@ +--- ctlrender/tiff_file.cc.orig 2014-06-03 01:11:24 UTC ++++ ctlrender/tiff_file.cc +@@ -53,6 +53,7 @@ + /////////////////////////////////////////////////////////////////////////// + + #include "tiff_file.hh" ++#include <cstdlib> + #include <stdarg.h> + #include <dpx.hh> + #if defined(HAVE_LIBTIFF) +@@ -61,7 +62,6 @@ + #include <sys/param.h> + #include <math.h> + #include <Iex.h> +-#include <alloca.h> + + void tiff_read_multiplane(TIFF *t, float scale, ctl::dpx::fb<float> * pixels); + void tiff_read_interleaved(TIFF *t, float scale, ctl::dpx::fb<float> * pixels); Added: head/graphics/ampasCTL/files/patch-lib_IlmCtl_CtlExc.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ampasCTL/files/patch-lib_IlmCtl_CtlExc.cpp Sun Sep 20 18:24:44 2015 (r397380) @@ -0,0 +1,13 @@ +--- lib/IlmCtl/CtlExc.cpp.orig 2014-06-03 01:11:24 UTC ++++ lib/IlmCtl/CtlExc.cpp +@@ -53,9 +53,9 @@ + /////////////////////////////////////////////////////////////////////////// + + #include <CtlExc.h> ++#include <cstdlib> + #include <stdarg.h> + #include <stdio.h> +-#include <alloca.h> + #include <string.h> + + namespace Ctl { Added: head/graphics/graphopt/files/patch-src_classes_nodes.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/graphopt/files/patch-src_classes_nodes.cc Sun Sep 20 18:24:44 2015 (r397380) @@ -0,0 +1,9 @@ +--- src/classes/nodes.cc.intermediate 2015-09-20 00:14:03 UTC ++++ src/classes/nodes.cc +@@ -1,5 +1,6 @@ + #include <cstdio> + #include <cstdlib> ++#include <cstring> + #include "nodes.h" + + Added: head/math/ised/files/patch-src_ised.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/ised/files/patch-src_ised.cpp Sun Sep 20 18:24:44 2015 (r397380) @@ -0,0 +1,10 @@ +--- src/ised.cpp.orig 2012-09-01 16:10:10 UTC ++++ src/ised.cpp +@@ -16,6 +16,7 @@ + **/ + + #include <cstdio> ++#include <cstring> + #include "vm.h" + + #include <unistd.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509201824.t8KIOiZX027458>