[Lunar-commits] <moonbase-other> VisualBoyAdvance: fix build with modern libpng

v4hn me at v4hn.de
Mon May 6 01:40:54 CEST 2013


commit 296f549f64755134af2ae9351e65b6d225229090
Author: v4hn <me at v4hn.de>
Date: Sun, 05 May 2013 16:37:05 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/296f549f64755134af2ae9351e65b6d225229090

VisualBoyAdvance: fix build with modern libpng
---
  games/VisualBoyAdvance/BUILD | +6/-6     
  1 file changed, 6 insertions(+), 6 deletions(-)

--- a/games/VisualBoyAdvance/BUILD
+++ b/games/VisualBoyAdvance/BUILD
@@ -1,9 +1,9 @@
-(
-   # How the hell did this _ever_ compile like that?
-   sedit "s:for(int i = 0; i < 16; i++):for(int z = 0; z < 16; z++):" src/sdl/debugger.cpp &&
+# How the hell did this _ever_ compile like that?
+sedit "s:for(int i = 0; i < 16; i++):for(int z = 0; z < 16; z++):" src/sdl/debugger.cpp &&
 
-   CXXFLAGS+=" -fpermissive" &&
+# make it work with modern libpng
+sedit "s:png_ptr->jmpbuf:png_jmpbuf(png_ptr):" src/Util.cpp &&
 
-   default_game_build
+CXXFLAGS+=" -fpermissive" &&
 
-) > $C_FIFO 2>&1
+default_game_build




More information about the Lunar-commits mailing list