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
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## All lines beginning with `## DP:' are a description of the patch.
## DP: Goneri Le Bouder
## DP: fix the build with gcc-4.1
@DPATCH@
diff -ru enemylines3-1.2.orig/font_ttf.h enemylines3-1.2/font_ttf.h
--- enemylines3-1.2.orig/font_ttf.h 2006-03-30 18:16:47.000000000 +0200
+++ enemylines3-1.2/font_ttf.h 2006-05-03 10:07:37.000000000 +0200
@@ -7,7 +7,7 @@
class Font_ttf{
public:
- static unsigned int Font_ttf::gen_dl(std::string fontname,unsigned int size,C3 col=C3(255,255,255));
+ static unsigned int gen_dl(std::string fontname,unsigned int size,C3 col=C3(255,255,255));
static int dx();
static int dy();
};
diff -ru enemylines3-1.2.orig/game.cc enemylines3-1.2/game.cc
--- enemylines3-1.2.orig/game.cc 2006-03-30 18:16:47.000000000 +0200
+++ enemylines3-1.2/game.cc 2006-05-03 10:15:04.000000000 +0200
@@ -504,7 +504,7 @@
}
wave_interval.tick(ticks);
if (wave_interval.check()) {
- for (int i=0;i<num_enemies();i++) {
+ for (unsigned int i=0;i<num_enemies();i++) {
action(A_ADDENEMY);
}
action(A_ADDEXTRA);
diff -ru enemylines3-1.2.orig/map.h enemylines3-1.2/map.h
--- enemylines3-1.2.orig/map.h 2006-03-30 18:16:47.000000000 +0200
+++ enemylines3-1.2/map.h 2006-05-03 10:18:02.000000000 +0200
@@ -24,7 +24,7 @@
unsigned int dz();
- bool Map::inside(C3 c);
+ bool inside(C3 c);
e_tiletype get(C3);
void set(C3,e_tiletype);
|