diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-17 18:28:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-17 18:28:08 +0000 |
commit | 1f254b1ee917690b4f8f7738fdcfc295ee304ff7 (patch) | |
tree | 136ad1b72b899873af1ab7e8fcc6ec343484f41f /app-office/gnucash/files | |
parent | bcf596975a1c2450e077c80c84017c54198f216c (diff) |
gentoo auto-resync : 17:03:2023 - 18:28:08
Diffstat (limited to 'app-office/gnucash/files')
-rw-r--r-- | app-office/gnucash/files/gnucash-4.13-no-werror.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-office/gnucash/files/gnucash-4.13-no-werror.patch b/app-office/gnucash/files/gnucash-4.13-no-werror.patch new file mode 100644 index 000000000000..5b45898eacc1 --- /dev/null +++ b/app-office/gnucash/files/gnucash-4.13-no-werror.patch @@ -0,0 +1,20 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -578,14 +578,14 @@ set(CMAKE_C_STANDARD_REQUIRED ON) + set(CMAKE_C_EXTENSIONS ON) + + 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-error=deprecated-declarations -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-error=deprecated-declarations ${REGISTER_CXXFLAG} ${CMAKE_CXX_FLAGS}") + set( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ${CMAKE_C_FLAGS}") + endif() + 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 ${CMAKE_C_FLAGS}") ++ set( CMAKE_C_FLAGS "-Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -Wno-error=deprecated-declarations ${CMAKE_C_FLAGS}") + set( CMAKE_CXX_FLAGS "-DWINVER=0x0500 -D_EMULATE_GLIBC=0 ${CMAKE_CXX_FLAGS}") # Workaround for bug in gtest on mingw, see https://github.com/google/googletest/issues/893 and https://github.com/google/googletest/issues/920 + endif() + |