tags 778119 +patch
thanks

FTBFS caused by changed inline function semantics/rules in gcc5. C11 standard
is now default, but packages source not compliant. Revert to gnu89 standard
by passing "-std=gnu89" to compiler in CFLAGS.

--- simulavr-0.1.2.2.orig/debian/rules  2015-07-20 18:04:00.000000000 +0000
+++ simulavr-0.1.2.2/debian/rules       2015-07-20 18:02:11.396710658 +0000
@@ -3,7 +3,7 @@
 DEB_BUILD_GNU_TYPE      := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_GNU_TYPE       := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -std=gnu89
 LDFLAGS= -Wl,-z,defs
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))

-- 
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