svn commit: r507633 - head/comms/libbtbb/files
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jul 30 12:03:43 UTC 2019
Author: pkubaj
Date: Tue Jul 30 12:03:42 2019
New Revision: 507633
URL: https://svnweb.freebsd.org/changeset/ports/507633
Log:
comms/libbtbb: fix build with GCC-based architectures
Base GCC doesn't support gnu90, but does support gnu89, which is the same.
PR: 239296
Approved by: gnn (maintainer), linimon (mentor)
Differential Revision: https://reviews.freebsd.org/D20996
Added:
head/comms/libbtbb/files/patch-lib_CMakeLists.txt (contents, props changed)
Added: head/comms/libbtbb/files/patch-lib_CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/libbtbb/files/patch-lib_CMakeLists.txt Tue Jul 30 12:03:42 2019 (r507633)
@@ -0,0 +1,11 @@
+--- lib/CMakeLists.txt.orig 2019-07-19 07:29:49 UTC
++++ lib/CMakeLists.txt
+@@ -32,7 +32,7 @@ add_definitions( -DVERSION="${VERSION}" )
+
+ if(NOT MSVC)
+ add_definitions(-Wall)
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90")
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu89")
+ endif()
+
+ add_subdirectory(src)
More information about the svn-ports-all
mailing list