summaryrefslogtreecommitdiff
path: root/games-puzzle/xlogical/files/xlogical-1.0.8-gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/xlogical/files/xlogical-1.0.8-gcc11.patch')
-rw-r--r--games-puzzle/xlogical/files/xlogical-1.0.8-gcc11.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games-puzzle/xlogical/files/xlogical-1.0.8-gcc11.patch b/games-puzzle/xlogical/files/xlogical-1.0.8-gcc11.patch
new file mode 100644
index 000000000000..f225d41fea0e
--- /dev/null
+++ b/games-puzzle/xlogical/files/xlogical-1.0.8-gcc11.patch
@@ -0,0 +1,12 @@
+--- a/sdl_audio.cpp
++++ b/sdl_audio.cpp
+@@ -60,3 +60,3 @@
+
+- for( end=aPath+len; end >= 0; end-=1 )
++ for( end=aPath+len; end >= aPath; end-=1 )
+ {
+@@ -64,3 +64,3 @@
+ }
+- for( start=end; start >= 0; start-=1 )
++ for( start=end; start >= aPath; start-=1 )
+ {