[Lunar-commits] <moonbase> paintown: fix compilation with recent major Lunar update

Paul Bredbury brebs at lunar-linux.org
Fri Sep 25 09:00:38 CEST 2009


commit d50518262ba6c755a9d42880890ad1f75307c283
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Sep 25 14:00:38 2009 +0700

    paintown: fix compilation with recent major Lunar update
---
 games/paintown/BUILD |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/games/paintown/BUILD b/games/paintown/BUILD
index 6a8c5cf..b73e5dc 100644
--- a/games/paintown/BUILD
+++ b/games/paintown/BUILD
@@ -1,5 +1,12 @@
 (
 
+  # Fix compilation error:
+  # build/menu/option_lives.cpp:56: error: 'sprintf' was not declared in this scope
+  sedit '/globals.h"/a\#include <stdio.h>' src/menu/option_{lives,npc_buddies,speed}.cpp &&
+  sedit '/lit_bitmap.h"/a\#include <stdio.h>' src/util/bitmap.cpp &&
+  sedit "s:-Wall::" SConstruct &&
+  sedit "s:char \* extension:const char \* extension:" src/game.cpp &&
+
   # Set data path
   sedit "s:\"data\":\"$MODULE_PREFIX/share/games/paintown\":" src/util/funcs.cpp &&
   sedit "s:return 'data':return '$MODULE_PREFIX/share/games/paintown':" SConstruct &&


More information about the Lunar-commits mailing list