summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-05-21 14:28:57 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-05-21 14:28:57 +0000
commit0c7ced28f5427fce986c934d7f85f22b2e13ab91 (patch)
treef219a78499457fcbf520f9d4403d4e3e98169ea8 /games-roguelike/ivan/files
parentStable on ppc. bug 133942 (diff)
downloadgentoo-2-0c7ced28f5427fce986c934d7f85f22b2e13ab91.tar.gz
gentoo-2-0c7ced28f5427fce986c934d7f85f22b2e13ab91.tar.bz2
gentoo-2-0c7ced28f5427fce986c934d7f85f22b2e13ab91.zip
Fix for gcc-4.1
(Portage version: 2.1_rc1-r3)
Diffstat (limited to 'games-roguelike/ivan/files')
-rw-r--r--games-roguelike/ivan/files/digest-ivan-0.502
-rw-r--r--games-roguelike/ivan/files/ivan-0.50-gcc41.patch58
2 files changed, 60 insertions, 0 deletions
diff --git a/games-roguelike/ivan/files/digest-ivan-0.50 b/games-roguelike/ivan/files/digest-ivan-0.50
index 6e6c683d13e0..5f1475aa8465 100644
--- a/games-roguelike/ivan/files/digest-ivan-0.50
+++ b/games-roguelike/ivan/files/digest-ivan-0.50
@@ -1 +1,3 @@
MD5 88de761ea3ed34a977cd412ff7d2a36e ivan-0.50.tar.gz 803651
+RMD160 7e84340cd8fdfbdaaf7fde730fc0a76b137e2e91 ivan-0.50.tar.gz 803651
+SHA256 d8bc588ad902f27906ab34c2f8a9cace03867b45ff6a57025e046931f36ad480 ivan-0.50.tar.gz 803651
diff --git a/games-roguelike/ivan/files/ivan-0.50-gcc41.patch b/games-roguelike/ivan/files/ivan-0.50-gcc41.patch
new file mode 100644
index 000000000000..4562ce144a72
--- /dev/null
+++ b/games-roguelike/ivan/files/ivan-0.50-gcc41.patch
@@ -0,0 +1,58 @@
+--- FeLib/Include/fearray.h.old 2006-05-21 16:02:19.000000000 +0200
++++ FeLib/Include/fearray.h 2006-05-21 16:03:16.000000000 +0200
+@@ -34,7 +34,7 @@
+ };
+
+ template <class type>
+-inline fearray<type>::fearray<type>(const fearray<type>& A)
++inline fearray<type>::fearray(const fearray<type>& A)
+ : Data(A.Data), Size(A.Size)
+ {
+ if(Data)
+@@ -42,7 +42,7 @@
+ }
+
+ template <class type>
+-inline fearray<type>::fearray<type>(const type* Array, sizetype Size)
++inline fearray<type>::fearray(const type* Array, sizetype Size)
+ : Size(Size)
+ {
+ char* Ptr = new char[Size * sizeof(type) + sizeof(ulong)];
+--- Main/Source/script.cpp.old 2006-05-21 16:14:43.000000000 +0200
++++ Main/Source/script.cpp 2006-05-21 16:16:12.000000000 +0200
+@@ -471,7 +471,7 @@
+ INIT_ENTRY(Flags);
+ }
+
+-contentscript<character>::contentscript<character>()
++contentscript<character>::contentscript()
+ : INIT(Team, DEFAULT_TEAM),
+ INIT(Flags, 0)
+ { }
+@@ -498,7 +498,7 @@
+ return Instance;
+ }
+
+-contentscript<item>::contentscript<item>()
++contentscript<item>::contentscript()
+ : INIT(Category, ANY_CATEGORY),
+ INIT(MinPrice, 0),
+ INIT(MaxPrice, MAX_PRICE),
+@@ -592,7 +592,7 @@
+ INIT_ENTRY(IsInside);
+ }
+
+-contentscript<olterrain>::contentscript<olterrain>()
++contentscript<olterrain>::contentscript()
+ : INIT(VisualEffects, 0),
+ INIT(AttachedArea, DEFAULT_ATTACHED_AREA),
+ INIT(AttachedEntry, DEFAULT_ATTACHED_ENTRY)
+@@ -679,7 +679,7 @@
+ }
+ }
+
+-template <class type, class contenttype> contentmap<type, contenttype>::contentmap<type, contenttype>() : ContentMap(0) { }
++template <class type, class contenttype> contentmap<type, contenttype>::contentmap() : ContentMap(0) { }
+
+ template <class type, class contenttype> contentmap<type, contenttype>::~contentmap<type, contenttype>()
+ {