diff options
author | John Marino <marino@FreeBSD.org> | 2015-09-20 18:24:44 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-09-20 18:24:44 +0000 |
commit | a54b0245264245e51c5619dae0feebf59c4a6715 (patch) | |
tree | e8df23ceb88993016fde0e988119c9708e7adb41 /graphics/ampasCTL | |
parent | 54997ba2b78163b80b979a50ce80c98f8f3bfa9e (diff) | |
download | ports-a54b0245264245e51c5619dae0feebf59c4a6715.tar.gz ports-a54b0245264245e51c5619dae0feebf59c4a6715.zip |
Notes
Diffstat (limited to 'graphics/ampasCTL')
-rw-r--r-- | graphics/ampasCTL/Makefile | 4 | ||||
-rw-r--r-- | graphics/ampasCTL/files/patch-ctlrender_tiff__file.cc | 18 | ||||
-rw-r--r-- | graphics/ampasCTL/files/patch-lib_IlmCtl_CtlExc.cpp | 13 |
3 files changed, 31 insertions, 4 deletions
diff --git a/graphics/ampasCTL/Makefile b/graphics/ampasCTL/Makefile index 3ae60037e763..93b260196d5a 100644 --- a/graphics/ampasCTL/Makefile +++ b/graphics/ampasCTL/Makefile @@ -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|' \ diff --git a/graphics/ampasCTL/files/patch-ctlrender_tiff__file.cc b/graphics/ampasCTL/files/patch-ctlrender_tiff__file.cc new file mode 100644 index 000000000000..91494fdbcb2c --- /dev/null +++ b/graphics/ampasCTL/files/patch-ctlrender_tiff__file.cc @@ -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); diff --git a/graphics/ampasCTL/files/patch-lib_IlmCtl_CtlExc.cpp b/graphics/ampasCTL/files/patch-lib_IlmCtl_CtlExc.cpp new file mode 100644 index 000000000000..de05c3fe7c47 --- /dev/null +++ b/graphics/ampasCTL/files/patch-lib_IlmCtl_CtlExc.cpp @@ -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 { |