summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/krystaldrop/files/krystaldrop-0.7.2-gcc41.patch')
-rw-r--r--games-puzzle/krystaldrop/files/krystaldrop-0.7.2-gcc41.patch78
1 files changed, 78 insertions, 0 deletions
diff --git a/games-puzzle/krystaldrop/files/krystaldrop-0.7.2-gcc41.patch b/games-puzzle/krystaldrop/files/krystaldrop-0.7.2-gcc41.patch
new file mode 100644
index 000000000000..c962a2121596
--- /dev/null
+++ b/games-puzzle/krystaldrop/files/krystaldrop-0.7.2-gcc41.patch
@@ -0,0 +1,78 @@
+Index: krystaldrop/Sources/KDpp/Tools/FilePath.h
+===================================================================
+--- krystaldrop.orig/Sources/KDpp/Tools/FilePath.h
++++ krystaldrop/Sources/KDpp/Tools/FilePath.h
+@@ -75,7 +75,7 @@ public:
+ /**
+ Adds a directory before the filePath....
+ */
+- void KD_FilePath::PrefixDirectory(const string &path);
++ void PrefixDirectory(const string &path);
+
+
+ /**
+Index: krystaldrop/Sources/KDpp/Video/Color.h
+===================================================================
+--- krystaldrop.orig/Sources/KDpp/Video/Color.h
++++ krystaldrop/Sources/KDpp/Video/Color.h
+@@ -38,7 +38,7 @@ public:
+ KD_Color operator*( float lambda );
+
+ // Multiply by another color
+- KD_Color KD_Color::operator*( const KD_Color &other );
++ KD_Color operator*( const KD_Color &other );
+
+ // Sets all the components between 0 and 1
+ void normalize();
+Index: krystaldrop/Sources/KrystalDrop/Game/AnimRow.h
+===================================================================
+--- krystaldrop.orig/Sources/KrystalDrop/Game/AnimRow.h
++++ krystaldrop/Sources/KrystalDrop/Game/AnimRow.h
+@@ -22,7 +22,7 @@ class KD_AnimatedRow: public KD_Row
+ void UpdateBlocks (unsigned multiplier); /* multiplier is used to catch up when a lag has occured */
+
+ public:
+- KD_AnimatedRow::KD_AnimatedRow (short Height_In_Gems, short x_Offset,
++ KD_AnimatedRow (short Height_In_Gems, short x_Offset,
+ KD_Hand* Hand, KD_Parameters* Param, KD_Memo* Memo);
+ ~KD_AnimatedRow();
+
+Index: krystaldrop/Sources/KrystalDrop/Game/Table.h
+===================================================================
+--- krystaldrop.orig/Sources/KrystalDrop/Game/Table.h
++++ krystaldrop/Sources/KrystalDrop/Game/Table.h
+@@ -329,7 +329,7 @@ public:
+ /**
+ Sets the sprites for the border of the field.
+ */
+- void KD_Table::setAllBorders(KD_Sprite *spr[KD_NB_SPRITE_FOR_BORDER]);
++ void setAllBorders(KD_Sprite *spr[KD_NB_SPRITE_FOR_BORDER]);
+ void setHorizontalBar(KD_Sprite *spr);
+ void setVerticalBar(KD_Sprite *spr);
+ void setUpperLeftBar(KD_Sprite *spr);
+Index: krystaldrop/Sources/Makefile
+===================================================================
+--- krystaldrop.orig/Sources/Makefile
++++ krystaldrop/Sources/Makefile
+@@ -35,7 +35,7 @@ ACC_ZLIB_SUPPORT=yes
+ export
+ VERSION=0_7_2
+
+-CC=g++ -Werror
++CC=g++
+ LINK=g++
+ MAKE=make
+
+Index: krystaldrop/Sources/Makefile.lib
+===================================================================
+--- krystaldrop.orig/Sources/Makefile.lib
++++ krystaldrop/Sources/Makefile.lib
+@@ -30,7 +30,7 @@ STATIC_LIBRARY=no
+ export
+ VERSION=0_7
+
+-CC=g++ -Werror
++CC=g++
+ LINK=g++
+ MAKE=make
+