tags 777764 + patch
thanks

Here's a fix for the GCC 5 build issue.  I added -std=gnu89 to CFLAGS
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.

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard
diff -u abook-0.6.0~pre2/debian/rules abook-0.6.0~pre2/debian/rules
--- abook-0.6.0~pre2/debian/rules
+++ abook-0.6.0~pre2/debian/rules
@@ -9,7 +9,7 @@
 QUILT_STAMPFN = patch-stamp
 include /usr/share/quilt/quilt.make
 
-CFLAGS = -g -Wall
+CFLAGS = -g -Wall -std=gnu89
 INSTALL = install
 INSTALL_FILE    = $(INSTALL) -p    -oroot -groot -m644
 INSTALL_PROGRAM = $(INSTALL) -p    -oroot -groot -m755

Reply via email to