On Sat, May 12, 2018 17:21, lan...@openbsd.org wrote:
> bulk build on macppc-1.ports.openbsd.org
> started on  Tue Apr 17 11:23:22 MDT 2018
> finished at Sat May 12 06:46:31 MDT 2018

Hi!
The patch below fixes build of simgear on powerpc (and probably other
!clang arches)
OK?

> http://build-failures.rhaalovely.net//powerpc/2018-04-17/graphics/simgear.log

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        17 May 2018 15:30:18 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: CMakeLists.txt
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -29,7 +29,7 @@ if(CMAKE_VERSION VERSION_LESS "3.1")
+     set (CMAKE_CXX_FLAGS "-std=gnu++98 ${CMAKE_CXX_FLAGS}")
+   endif()
+ else()
+-  set (CMAKE_CXX_STANDARD 98)
++  set (CMAKE_CXX_STANDARD 11)
+ endif()
+
+ project(SimGear)




Reply via email to