--- /dev/null
+--- 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}")
# 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
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
%setup -q -a1
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
cd compact_enc_det