_FORTIFY_SOURCE used in ubuntu (but not in debian) somehow breaks parsegen. 
natty is also not affected.
the simple fix would be to just disable the fortification for the 3 files it 
compiles.

cfg.c:600:7: sorry, unimplemented: called from here
/usr/include/bits/stdio2.h:96:1: sorry, unimplemented: inlining failed in call 
to 'fprintf': indirect function call with a yet undetermined callee

--- zsnes-1.510+bz2.orig/src/Makefile.in        2011-08-06 00:11:41.000000000 
+0200
+++ zsnes-1.510+bz2/src/Makefile.in     2011-08-06 00:15:24.299201891 +0200
@@ -95,7 +95,7 @@
 %.o: %.cpp
        @CXX@ @CXXFLAGS@ -o $@ -c $<
 %.o %.h: %.psr $(PSR)
-       ./$(PSR) @PSRFLAGS@ -gcc @CC@ -compile -flags "@CFLAGS@ -O1" -cheader 
$*.h -fname $* $*.o $<
+       ./$(PSR) @PSRFLAGS@ -gcc @CC@ -compile -flags "@CFLAGS@ -O1 
-D_FORTIFY_SOURCE=0" -cheader $*.h -fname $* $*.o $<
 
 default: main
 all: main tools

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/819774

Title:
  Please sync zsnes 1.510+bz2-1 (universe) from Debian unstable (main)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsnes/+bug/819774/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to