summaryrefslogtreecommitdiff
path: root/finance/gnucash/patches/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'finance/gnucash/patches/patch-CMakeLists.txt')
-rw-r--r--finance/gnucash/patches/patch-CMakeLists.txt21
1 files changed, 0 insertions, 21 deletions
diff --git a/finance/gnucash/patches/patch-CMakeLists.txt b/finance/gnucash/patches/patch-CMakeLists.txt
deleted file mode 100644
index 9cb8e67f37d..00000000000
--- a/finance/gnucash/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2018/09/30 23:47:32 wiz Exp $
-
-Disable -Werror due to boost issues.
-
---- CMakeLists.txt.orig 2018-09-29 21:16:50.000000000 +0000
-+++ CMakeLists.txt
-@@ -573,11 +573,11 @@ set(CMAKE_CXX_FLAGS "-std=gnu++11 ${CMAK
-
-
- if (UNIX)
-- set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}")
-+ set( CMAKE_C_FLAGS "-Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}")
- set( CMAKE_C_FLAGS "-Wno-deprecated-declarations -std=gnu11 -Wno-error=parentheses ${CMAKE_C_FLAGS}")
-- set( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}")
-+ set( CMAKE_CXX_FLAGS "-Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}")
- set( CMAKE_CXX_FLAGS "-Wno-deprecated-declarations -Wno-register ${CMAKE_CXX_FLAGS}")
-- set( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ${CMAKE_C_FLAGS}")
-+ set( CMAKE_C_FLAGS_RELEASE "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ${CMAKE_C_FLAGS}")
- endif (UNIX)
- if (MINGW)
- set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -Wno-error=deprecated-declarations -std=gnu11 ${CMAKE_C_FLAGS}")