Ping. On Tue, 16 Jul 2019 00:30:23 +0200 Charlene Wendling wrote:
> > > http://build-failures.rhaalovely.net//powerpc/2019-06-29/devel/pycdc.log > > Using -Werror for releases seems ambitious to me, especially that GCC > is very adept at generating them. > > I've removed the flag, and it builds [0] on macppc. Tests pass as > well. Same thing for amd64 where there is no warning at all to start > with. > > Comments/feedback are welcome! > > Charlène. > > > [0] https://bin.charlenew.xyz/pycdc.log > Index: Makefile =================================================================== RCS file: /cvs/ports/devel/pycdc/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile 12 Jul 2019 20:45:56 -0000 1.4 +++ Makefile 15 Jul 2019 22:14:54 -0000 @@ -3,7 +3,7 @@ COMMENT = python bytecode disassembler and decompiler DISTNAME = pycdc-0.0.20180428 -REVISION = 1 +REVISION = 2 GH_ACCOUNT = zrax GH_PROJECT = pycdc Index: patches/patch-CMakeLists_txt =================================================================== RCS file: patches/patch-CMakeLists_txt diff -N patches/patch-CMakeLists_txt --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-CMakeLists_txt 15 Jul 2019 22:14:54 -0000 @@ -0,0 +1,17 @@ +$OpenBSD$ + +Fix for ports-gcc, the code generates warnings that triggers a +build failure + +Index: CMakeLists.txt +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 2.8) + find_package(PythonInterp REQUIRED) + + if(CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") +- set(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror ${CMAKE_CXX_FLAGS}") ++ set(CMAKE_CXX_FLAGS "-Wall -Wextra ${CMAKE_CXX_FLAGS}") + endif() + + set(PYTHON_VERSIONS