tags 777907 + patch
thanks

Even simpler change that preserves the build integrity with GCC4.9. The package builds and links with GCC 5 with this change.

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.

--
Nicholas Luedtke
Linux for HP Helion OpenStack, Hewlett-Packard
diff -urN hunt-1.5.orig/Makefile hunt-1.5/Makefile
--- hunt-1.5.orig/Makefile	2015-07-20 14:37:07.965162235 +0000
+++ hunt-1.5/Makefile	2015-07-20 14:37:32.713162020 +0000
@@ -1,4 +1,4 @@
-CFLAGS=-Wall -O2 -g -D_REENTRANT
+CFLAGS=-Wall -O2 -g -D_REENTRANT -std=gnu89
 #CFLAGS+=-DSYNC_FAST
 #CFLAGS+=-D_WITH_LINUX_KERNEL_HDR
 

Reply via email to