On Thu Jan 14, 2021 at 10:24:48AM -0700, k...@openbsd.org wrote:
> Bulk build on sparc64-0a.ports.openbsd.org
> 
> Started : Mon Jan 11 22:26:20 MST 2021
> Finished: Thu Jan 14 10:24:33 MST 2021
> Duration: 2 Days 11 hours 58 minutes
> 
> Built using OpenBSD 6.8-current (GENERIC.MP) #639: Mon Jan 11 17:51:56 MST 
> 2021
> 
> Built 9384 packages
> 
> Number of packages built each day:
> Jan 11: 3273
> Jan 12: 4822
> Jan 13: 1232
> Jan 14: 57
> 
> 
> http://build-failures.rhaalovely.net/sparc64/2021-01-11/x11/grantlee-qt5.log

Could someone with access to sparc64 test the following diff, please.

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        14 Jan 2021 18:31:48 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: CMakeLists.txt
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -50,7 +50,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
+   set (CMAKE_C_FLAGS   "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 
-Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts 
-Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security 
-Wmissing-format-attribute -fno-common")
+   set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long 
-Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith 
-Wformat-security -fno-check-new -fno-common -pedantic-errors")
+ 
+-  if (NOT APPLE)
++  if ((NOT APPLE) AND (NOT OPENBSD))
+     set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined 
${CMAKE_SHARED_LINKER_FLAGS}")
+     set ( CMAKE_MODULE_LINKER_FLAGS "-Wl,--fatal-warnings -Wl,--no-undefined 
${CMAKE_MODULE_LINKER_FLAGS}")
+   endif ()

Reply via email to