summaryrefslogtreecommitdiff
path: root/games-puzzle/krystaldrop/files/krystaldrop-0.7.2-gcc41.patch
blob: c962a212159657a23ba110c14b4f9da00060c1b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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