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 <[email protected]>

-- 
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to