From 3ef4508d1fef04e6435cd360bee66ff3fad308c8 Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann Date: Jul 17 2020 18:54:02 +0000 Subject: Update 7kaa to rev 8 via SR 821419 https://build.opensuse.org/request/show/821419 by user dstoecker + dimstar_suse --- diff --git a/.files b/.files index c015723..b036e29 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index e83f1bd..617ab23 100644 --- a/.rev +++ b/.rev @@ -88,4 +88,12 @@ Mon Sep 29 21:54:09 UTC 2014 - nemysis@gmx.ch 789825 + + de446ef94582ddc3b77ebe7dfc5c7c7d + 2.15.4p1 + + dimstar_suse + + 821419 + diff --git a/7kaa-2.15.3.tar.xz b/7kaa-2.15.3.tar.xz deleted file mode 120000 index 0acadec..0000000 --- a/7kaa-2.15.3.tar.xz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeiac3kuhambsyxxlnj22vrnkikh6sc6iwuns7eycoxqnzto2w6t75i \ No newline at end of file diff --git a/7kaa-2.15.4p1.tar.xz b/7kaa-2.15.4p1.tar.xz new file mode 120000 index 0000000..08c22fe --- /dev/null +++ b/7kaa-2.15.4p1.tar.xz @@ -0,0 +1 @@ +/ipfs/bafybeict4khfq5xag5bqbzauzmcwm76x2rqrwyrwlsqpdobgitj6cigo6e \ No newline at end of file diff --git a/7kaa-no-return-in-nonvoid-function.patch b/7kaa-no-return-in-nonvoid-function.patch new file mode 100644 index 0000000..5a94269 --- /dev/null +++ b/7kaa-no-return-in-nonvoid-function.patch @@ -0,0 +1,12 @@ +diff -Nur 7kaa-2.15.4p1/include/OFIRM.h new/include/OFIRM.h +--- 7kaa-2.15.4p1/include/OFIRM.h 2020-07-11 04:47:28.000000000 +0200 ++++ new/include/OFIRM.h 2020-07-13 17:12:35.540867933 +0200 +@@ -322,7 +322,7 @@ + void detect_info_both(); + + virtual void put_info(int refreshFlag) {;} +- virtual int detect_info() {;} ++ virtual int detect_info() {return 0;} + void sort_worker(); + + void process_animation(); diff --git a/7kaa.changes b/7kaa.changes index 6f21157..38678be 100644 --- a/7kaa.changes +++ b/7kaa.changes @@ -1,4 +1,35 @@ ------------------------------------------------------------------- +Sun Jul 12 15:49:42 UTC 2020 - Carsten Ziepke + +- Update to 2.15.4p1 + * This is a patch release to fix a few issues with 2.15.4. + All users should upgrade. +- Update to 2.15.4 + * Fixed a problem in multiplayer that halted the game play. + * Added option to play with the original seven kingdoms, and + enabled on original scenarios. + * Apply the leadership bonus when the general is in fort for + defending soldiers in range. + * Fixed the mobile general range calculation for the leadership + bonus to not apply to the troop anywhere on the map. + * Apply the leadership bonus when the general is on a ship for + defending soldiers in range. + * Updated translations. + * Added hotkeys for managing the build menu in the War Factory, + Harbor, and Town. + * Restored support for real full screen resolution that requires + a screen mode change. + * Improved dynamic UI button and text layout. + * Added Polish translation. + * Added trade locations to the trade report. + * Sort and filter trade locations based on the map selected + caravan. + * Allow setting stops using the trade report. + * Allow copying trade routes using the trade report. +- Add 7kaa-no-return-in-nonvoid-function.patch +- Clean with spec-cleaner + +------------------------------------------------------------------- Fri Mar 27 09:34:45 UTC 2020 - Christophe Giboudeaux - Update to 2.15.3. Changes since 2.15.2: diff --git a/7kaa.spec b/7kaa.spec index d729640..961928a 100644 --- a/7kaa.spec +++ b/7kaa.spec @@ -16,19 +16,20 @@ # -# See also http://en.opensuse.org/openSUSE:Specfile_guidelines Name: 7kaa -Version: 2.15.3 +Version: 2.15.4p1 Release: 0 Summary: Seven Kingdoms: Ancient Adversaries License: GPL-2.0-only Group: Amusements/Games/Strategy/Real Time -URL: http://7kfans.com/ +URL: https://7kfans.com/ Source0: https://github.com/the3dfxdude/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source1: %{name}.png Source2: %{name}.desktop # PATCH-FIX-UPSTREAM - gcc6_char_cast.patch -- https://github.com/the3dfxdude/7kaa/issues/63 Patch0: gcc6_char_cast.patch +# PATCH-FIX-UPSTREAM - 7kaa-no-return-in-nonvoid-function.patch -- gh#the3dfxdude/7kaa#192 +Patch1: 7kaa-no-return-in-nonvoid-function.patch BuildRequires: curl-devel BuildRequires: fdupes BuildRequires: gcc-c++ @@ -59,11 +60,12 @@ the GPL v2. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build export CXXFLAGS="%{optflags} -fno-strict-aliasing" %configure --docdir=%{_docdir}/%{name} -make %{?_smp_mflags} +%make_build %install %make_install