Package: open-invaders
Version: 0.2-1
Severity: serious
Tags: patch

The attached patch on top of that mentioned in README.Debian makes
open-invaders build and run on powerpc. Note that I think the allegro
headers should define ALLEGRO_LINUX, see bug #437688, but this is
probably a proper bug of its own for non-Linux platforms at least.


--- System information. ---
Architecture: powerpc
Kernel:       Linux 2.6.22-1-powerpc

Debian Release: lenny/sid
  500 unstable        mirror.switch.ch 
  500 stable          security.debian.org 
  102 experimental    ftp.ch.debian.org 

-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer
diff -up -ru open-invaders-0.2.orig/src/input.cc open-invaders-0.2/src/input.cc
--- open-invaders-0.2.orig/src/input.cc	2007-06-20 23:04:56.000000000 +0200
+++ open-invaders-0.2/src/input.cc	2007-08-13 18:01:13.000000000 +0200
@@ -61,7 +62,7 @@ void interrupt_keys()
 	#endif
 	
 	#ifndef ALLEGRO_LINUX
-		string filepath='.';
+		string filepath=".";
 	#endif
 
 	if((key[KEY_LCONTROL]||key[KEY_RCONTROL])&&key[KEY_S])

Reply via email to