svn commit: r505953 - in head/multimedia/oggvideotools: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Jul 6 01:15:23 UTC 2019
Author: pkubaj
Date: Sat Jul 6 01:15:22 2019
New Revision: 505953
URL: https://svnweb.freebsd.org/changeset/ports/505953
Log:
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
Added:
head/multimedia/oggvideotools/files/patch-src_base_test_decoderTest.cpp (contents, props changed)
Modified:
head/multimedia/oggvideotools/Makefile
Modified: head/multimedia/oggvideotools/Makefile
==============================================================================
--- head/multimedia/oggvideotools/Makefile Sat Jul 6 01:13:13 2019 (r505952)
+++ head/multimedia/oggvideotools/Makefile Sat Jul 6 01:15:22 2019 (r505953)
@@ -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
Added: head/multimedia/oggvideotools/files/patch-src_base_test_decoderTest.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/oggvideotools/files/patch-src_base_test_decoderTest.cpp Sat Jul 6 01:15:22 2019 (r505953)
@@ -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[])
+ {
More information about the svn-ports-all
mailing list