Hello community,

here is the log from the commit of package hedgewars for openSUSE:Factory 
checked in at 2020-09-22 21:12:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hedgewars (Old)
 and      /work/SRC/openSUSE:Factory/.hedgewars.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hedgewars"

Tue Sep 22 21:12:31 2020 rev:11 rq:835946 version:1.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/hedgewars/hedgewars.changes      2020-07-03 
00:17:26.665066882 +0200
+++ /work/SRC/openSUSE:Factory/.hedgewars.new.4249/hedgewars.changes    
2020-09-22 21:12:58.568023625 +0200
@@ -1,0 +2,6 @@
+Mon Sep 21 23:20:10 UTC 2020 - D B <[email protected]>
+
+- Added fix for compiling with FPC 3.2.0 
+  * hedgewars-fpc320_fix.patch to fix 
+
+-------------------------------------------------------------------

New:
----
  hedgewars-fpc320_fix.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hedgewars.spec ++++++
--- /var/tmp/diff_new_pack.ES30qj/_old  2020-09-22 21:13:00.528025339 +0200
+++ /var/tmp/diff_new_pack.ES30qj/_new  2020-09-22 21:13:00.532025342 +0200
@@ -38,6 +38,7 @@
 Patch0:         hedgewars-disable_fpc_workaround.patch
 # PATCH-FIX-UPSTREAM
 Patch1:         0001-Fix-build-with-Qt-5.15.patch
+Patch2:         hedgewars-fpc320_fix.patch
 BuildRequires:  SDL2-devel
 BuildRequires:  SDL2_image-devel
 BuildRequires:  SDL2_mixer-devel
@@ -126,6 +127,7 @@
 %setup -q -n %{name}-src-%{version}
 %patch0 -p0
 %patch1 -p1
+%patch2 -p1
 
 %build
 # CMAKE_POLICY_DEFAULT_CMP0083=NEW - apply POSITION_INDEPENDENT_CODE also to 
"-pie", since CMake 3.14

++++++ hedgewars-fpc320_fix.patch ++++++
diff -r eee2b3eff91d -r 6832dab555ae hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas      Sun Aug 09 14:43:02 2020 +0200
+++ b/hedgewars/uWorld.pas      Mon Aug 10 12:56:53 2020 +0300
@@ -1168,8 +1168,8 @@
 procedure ShiftWorld(Dir: LongInt); inline;
 begin
     preShiftWorldDx:= WorldDx;
-    WorldDx:= WorldDx + LongInt(Dir * LongInt(playWidth));
-
+    Dir := Dir * LongInt(playWidth);
+    WorldDx:= WorldDx + Dir;
 end;
 
 procedure UnshiftWorld(); inline;

Reply via email to