svn commit: r504409 - head/multimedia/avidemux/files
Tobias Kortkamp
tobik at FreeBSD.org
Mon Jun 17 10:55:14 UTC 2019
Author: tobik
Date: Mon Jun 17 10:55:13 2019
New Revision: 504409
URL: https://svnweb.freebsd.org/changeset/ports/504409
Log:
multimedia/avidemux: Disable -Werror=attributes and unbreak build with GCC 9
In file included from .../.build/ffmpeg/source/libavutil/common.h:437,
from .../.build/ffmpeg/source/libavutil/avutil.h:296,
from .../.build/ffmpeg/source/libavutil/samplefmt.h:24,
from .../.build/ffmpeg/source/libavcodec/avcodec.h:31,
from .../avidemux_2.6.11/avidemux_core/ADM_core/src/ADM_memcpy.cpp:41:
.../.build/ffmpeg/source/libavutil/mem.h:185:79: error: 'alloc_size' attribute ignored on a function returning 'int' [-Werror=attributes]
185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size);
| ^
cc1plus: some warnings being treated as errors
http://package22.nyi.freebsd.org/data/112amd64-default-PR238330/2019-06-09_20h29m30s/logs/errors/avidemux-2.6.11_14.log
PR: 238330
Added:
head/multimedia/avidemux/files/patch-cmake_admMainChecks.cmake (contents, props changed)
Added: head/multimedia/avidemux/files/patch-cmake_admMainChecks.cmake
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/multimedia/avidemux/files/patch-cmake_admMainChecks.cmake Mon Jun 17 10:55:13 2019 (r504409)
@@ -0,0 +1,11 @@
+--- cmake/admMainChecks.cmake.orig 2019-06-17 10:41:06 UTC
++++ cmake/admMainChecks.cmake
+@@ -81,7 +81,7 @@ ELSE (WIN32)
+ ENDIF (WIN32)
+
+ if (CMAKE_COMPILER_IS_GNUCC)
+- add_definitions("-Werror=attributes")
++ add_definitions("-Wattributes")
+ endif (CMAKE_COMPILER_IS_GNUCC)
+ # Clang
+ IF(${CMAKE_CXX_COMPILER} MATCHES ".*[cC]lang.*")
More information about the svn-ports-head
mailing list