Bug#778120: sipsak: ftbfs with GCC-5
Brett Johnson
brett at hp.com
Mon Jul 20 17:59:11 UTC 2015
tags 778120 +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.
--- sipsak-0.9.6.orig/debian/rules 2015-07-20 17:54:23.000000000 +0000
+++ sipsak-0.9.6/debian/rules 2015-07-20 17:52:08.311828866 +0000
@@ -11,7 +11,7 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -std=gnu89
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
--
Brett Johnson <brett at hp.com>
More information about the Pkg-voip-maintainers
mailing list