tags 778109 +patch
thanks

> Unfortunately the patch introduces a FTBFS with gcc 4.9:

D'oh! I was sloppy and did not test, nor read the standards thoroughly.
My apologies :(. Given that the function is implemented in a single "c" file, 
but used in
multiple places, the C89 and C99 standards seem to be incompatible in
declaring it "extern inline" from my reading. Here is an alternate way of
fixing the FTBFS, without changing the source; simply tell gcc-5 to use
the gnu89 standard instead of the default gnu99.

--- s51dude-0.3.1.orig/debian/rules     2015-07-23 21:54:24.921516269 +0000
+++ s51dude-0.3.1/debian/rules  2015-07-23 21:59:29.696824595 +0000
@@ -2,5 +2,8 @@
 %:
        dh $@

+override_dh_auto_build:
+       dh_auto_build -- CFLAGS="-std=gnu89 $(CFLAGS)"
+
 override_dh_compress:
        dh_compress --exclude=hex


-- 
Brett Johnson <br...@hp.com>


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to