tags 777903 + patch
thanks

Here's a fix for the GCC 5 build issue.  I added '-std=gnu89' to the
rules file to use the GNU89 inline semantics.
Upstream may prefer to move to C99 instead, please see section
"Different semantics for inline functions" at
https://gcc.gnu.org/gcc-5/porting_to.html for more background.

--
Betty Dall
Linux for HP Helion, Hewlett-Packard

--- hugs98-98.200609.21/debian/rules.orig	2015-07-10 16:02:40.992731905 +0000
+++ hugs98-98.200609.21/debian/rules	2015-07-10 15:50:25.364741901 +0000
@@ -56,7 +56,7 @@
 	done
 	# touch so that patched configure does not trigger autoreconf
 	touch configure.ac aclocal.m4 && touch configure
-	CFLAGS='-Wall -fPIC' $(MAKE) EXTRA_CONFIGURE_OPTS="$(CONFIG_OPTS)"
+	CFLAGS='-Wall -fPIC -std=gnu89' $(MAKE) EXTRA_CONFIGURE_OPTS="$(CONFIG_OPTS)"
 	touch $@
 
 clean:

Reply via email to