From 89a0617bbcd7bd17c4e34d13b1f68924e7b42a11 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 30 Jul 2019 12:03:42 +0000 Subject: [PATCH] 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 --- comms/libbtbb/files/patch-lib_CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 comms/libbtbb/files/patch-lib_CMakeLists.txt diff --git a/comms/libbtbb/files/patch-lib_CMakeLists.txt b/comms/libbtbb/files/patch-lib_CMakeLists.txt new file mode 100644 index 000000000000..cbf58292e4d6 --- /dev/null +++ b/comms/libbtbb/files/patch-lib_CMakeLists.txt @@ -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)