]> git.pld-linux.org Git - packages/performous.git/commitdiff
- disable Werror to prevent benign warning breaking build on non x86_64 archs master auto/th/performous-1.3.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 20 Oct 2023 21:53:13 +0000 (23:53 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 20 Oct 2023 21:53:13 +0000 (23:53 +0200)
no-Werror.patch [new file with mode: 0644]
performous.spec

diff --git a/no-Werror.patch b/no-Werror.patch
new file mode 100644 (file)
index 0000000..9724f18
--- /dev/null
@@ -0,0 +1,15 @@
+--- performous-1.3.0/game/CMakeLists.txt~      2023-08-21 21:48:26.000000000 +0200
++++ performous-1.3.0/game/CMakeLists.txt       2023-10-20 23:51:23.466946951 +0200
+@@ -311,12 +311,6 @@
+       set_target_properties(performous PROPERTIES OUTPUT_NAME "Performous")
+ endif()
+-if(WIN32 AND MSVC)
+-#     target_compile_options(performous PUBLIC /WX)
+-else()
+-      target_compile_options(performous PUBLIC -Werror)
+-endif()
+-
+ # Generate config.hh
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/config.cmake.hh" "${CMAKE_CURRENT_BINARY_DIR}/config.hh" @ONLY)
+ include_directories("${CMAKE_CURRENT_BINARY_DIR}")
index 8e19d7841e5308a2a692db9b60ae5dea78785690..a7424adb50105d8b0ca462e96766b9808af147ce 100644 (file)
@@ -12,6 +12,7 @@ Source1:      compact_enc_det.tar.xz
 # Source1-md5: c4af58e784fe054b787254acf5c1af12
 Patch0:                ced-no-forced-cxx11.patch
 Patch1:                find-ced.patch
+Patch2:                no-Werror.patch
 URL:           http://performous.org/
 BuildRequires: ImageMagick-c++-devel
 BuildRequires: SDL2-devel >= 2
@@ -24,8 +25,10 @@ BuildRequires:       fontconfig-devel
 BuildRequires: gettext-tools
 BuildRequires: glew-devel
 BuildRequires: glibmm-devel
+BuildRequires: gmock-devel
 BuildRequires: help2man
 BuildRequires: libepoxy-devel >= 1.2
+BuildRequires: libfmt-devel
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: librsvg-devel
@@ -61,6 +64,7 @@ wykrywane.
 %setup -q -a1
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 cd compact_enc_det
This page took 0.353607 seconds and 4 git commands to generate.