Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2019 01:15:22 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505953 - in head/multimedia/oggvideotools: . files
Message-ID:  <201907060115.x661FMSr062416@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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[])
+ {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907060115.x661FMSr062416>