diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-06 15:21:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-06 15:21:12 +0000 |
commit | 734ebb79080aab27a82cb1a8380d4fc581e25638 (patch) | |
tree | d85d058efb0f8970c1bc96f4802ede97377c701d /app-office/scribus/files | |
parent | c8fb42216b10862e8178f91831e4c51fb2c55ac4 (diff) |
gentoo auto-resync : 06:02:2023 - 15:21:12
Diffstat (limited to 'app-office/scribus/files')
-rw-r--r-- | app-office/scribus/files/scribus-1.5.8-cmake.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-office/scribus/files/scribus-1.5.8-cmake.patch b/app-office/scribus/files/scribus-1.5.8-cmake.patch new file mode 100644 index 000000000000..a461ee20c281 --- /dev/null +++ b/app-office/scribus/files/scribus-1.5.8-cmake.patch @@ -0,0 +1,28 @@ +--- a/CMakeLists.txt 2022-01-23 17:14:43.000000000 +0100 ++++ b/CMakeLists.txt 2023-02-05 15:59:57.828047452 +0100 +@@ -362,25 +362,6 @@ + if(APPLE) + ### Include our Apple configure commands + include(CMakeLists_Apple.cmake) +-else() +- if(${CMAKE_GENERATOR} MATCHES "^(Visual Studio|NMake).*") +- # Windows build with Visual Studio +- # Surely there's a better way to identify the compiler? +- set(CMAKE_CXX_FLAGS_DEBUG) +- set(CMAKE_C_FLAGS_DEBUG) +- else() +- # vanilla gcc +- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g -Wall -fstrict-aliasing") +- set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g -Wall -fstrict-aliasing") +- endif() +- if(${CMAKE_GENERATOR} MATCHES "^(Visual Studio|NMake).*") +- set(CMAKE_CXX_FLAGS_RELEASE) +- set(CMAKE_C_FLAGS_RELEASE) +- else() +- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O2 -Wall") +- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2 -Wall") +- # add_definitions(-DNDEBUG) +- endif() + endif() + if(WIN32) + add_definitions(-DWIN32_LEAN_AND_MEAN |