diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-07-06 01:15:22 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-07-06 01:15:22 +0000 |
commit | c535b415ad825cb5aa561003ee59834f2333108f (patch) | |
tree | 440ed0ea03a4c2a1f0e3de56682e1243733eca29 /multimedia/oggvideotools | |
parent | 18f408e31f2b03371b3163cb51369b7cf6c1acb9 (diff) |
multimedia/oggvideotools: fix build with GCC-based architectures
decoderTest.cpp needs include <cstring> for memset() to build with GCC8.
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D20823
Notes
Notes:
svn path=/head/; revision=505953
Diffstat (limited to 'multimedia/oggvideotools')
-rw-r--r-- | multimedia/oggvideotools/Makefile | 2 | ||||
-rw-r--r-- | multimedia/oggvideotools/files/patch-src_base_test_decoderTest.cpp | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/multimedia/oggvideotools/Makefile b/multimedia/oggvideotools/Makefile index be801b671a3a..5baaad101233 100644 --- a/multimedia/oggvideotools/Makefile +++ b/multimedia/oggvideotools/Makefile @@ -19,8 +19,6 @@ LIB_DEPENDS= libgd.so:graphics/gd \ libtheora.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis -BROKEN_powerpc64= fails to build: decoderTest.cpp: 'memset' was not declared in this scope - USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig tar:bz2 USE_CXXSTD= c++11 USE_SDL= sdl diff --git a/multimedia/oggvideotools/files/patch-src_base_test_decoderTest.cpp b/multimedia/oggvideotools/files/patch-src_base_test_decoderTest.cpp new file mode 100644 index 000000000000..e5f81ae8ded6 --- /dev/null +++ b/multimedia/oggvideotools/files/patch-src_base_test_decoderTest.cpp @@ -0,0 +1,10 @@ +--- src/base/test/decoderTest.cpp.orig 2019-07-01 07:30:12 UTC ++++ src/base/test/decoderTest.cpp +@@ -5,6 +5,7 @@ + #include "oggDecoder.h" + #include <vector> + #include <iostream> ++#include <cstring> + + int main(int argc, char* argv[]) + { |