summaryrefslogtreecommitdiff
path: root/games/xye/gcc-4.7.patch
diff options
context:
space:
mode:
authorBill Kirkpatrick <bkirkp@gmail.com>2014-01-11 12:34:36 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:20:59 -0600
commitd57f5cb1d467684d2c0fb88c8fc1ce69a2bb325c (patch)
treee8a4b3359413a9e7ed40a465671cfcbe2b74ee8d /games/xye/gcc-4.7.patch
parentfd73b2e190c97a827f74a61d3fd54fd040894e60 (diff)
downloadslackbuilds-d57f5cb1d467684d2c0fb88c8fc1ce69a2bb325c.tar.gz
games/xye: Updated for version 0.12.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/xye/gcc-4.7.patch')
-rw-r--r--games/xye/gcc-4.7.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/games/xye/gcc-4.7.patch b/games/xye/gcc-4.7.patch
deleted file mode 100644
index d976601cff..0000000000
--- a/games/xye/gcc-4.7.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -Naur xye-0.12.0.orig/src/editorsave.cpp xye-0.12.0/src/editorsave.cpp
---- xye-0.12.0.orig/src/editorsave.cpp 2011-10-29 21:57:28.000000000 +0000
-+++ xye-0.12.0/src/editorsave.cpp 2012-08-05 10:34:00.131028629 +0000
-@@ -662,16 +662,16 @@
- }
- saveColorStuff(file, board);
-
-- int i,j;
-+ int j,k;
- file << "\t<ground>\n";
- resetSavedPosition();
-- for (i=0;i<XYE_HORZ;i++) for (j=0;j<XYE_VERT;j++) saveGroundObject(file,editor::board->objects[i][j],i,XYE_VERT-j-1);
-+ for (j=0;j<XYE_HORZ;j++) for (k=0;k<XYE_VERT;k++) saveGroundObject(file,editor::board->objects[j][k],j,XYE_VERT-k-1);
- file << "\t</ground>\n";
- file << "\t<objects>\n";
- resetSavedPosition();
-- for (i=0;i<XYE_HORZ;i++) for (j=0;j<XYE_VERT;j++)
-+ for (j=0;j<XYE_HORZ;j++) for (k=0;k<XYE_VERT;k++)
- {
-- saveNormalObject(file,editor::board->objects[i][j],i,XYE_VERT-j-1);
-+ saveNormalObject(file,editor::board->objects[j][k],j,XYE_VERT-k-1);
- }
- savePortals( file, editor::board);
-
-diff -Naur xye-0.12.0.orig/src/gen.cpp xye-0.12.0/src/gen.cpp
---- xye-0.12.0.orig/src/gen.cpp 2011-10-07 19:00:29.000000000 +0000
-+++ xye-0.12.0/src/gen.cpp 2012-08-05 10:20:47.652013747 +0000
-@@ -21,6 +21,7 @@
- #include<cstdio>
- #include<iostream>
- #include<fstream>
-+#include <unistd.h>
-
- const float F_RAND_MAX = (float)(RAND_MAX);
-