Bug#778135: syrthes: ftbfs with GCC-5
Brett Johnson
brett at hp.com
Wed Jul 15 19:23:02 UTC 2015
tags 778135 +patch
thanks
gcc5 has changed inline function semantics to match C99 standard,
but packages does not conform to C99. Fix by telling gcc to use
gnu89 standard instead.
--- syrthes-4.3.0-dfsg1.orig/debian/rules 2015-07-13 14:39:20.000000000 +0000
+++ syrthes-4.3.0-dfsg1/debian/rules 2015-07-15 19:05:11.228512040 +0000
@@ -4,6 +4,8 @@
DPKG_EXPORT_BUILDFLAGS := yes
include /usr/share/dpkg/buildflags.mk
+CFLAGS += -std=gnu89
+
# Which MPI implementation (requested by libhdf5-mpi-dev)
ifneq (,$(shell ls /usr/share/mpi-default-dev/debian_defaults))
include /usr/share/mpi-default-dev/debian_defaults
--
Brett Johnson <brett at hp.com>
More information about the debian-science-maintainers
mailing list