bandwidthd: fix build with gcc5
authorJean-Michel Lacroix <redacted>
Tue, 24 Nov 2015 14:45:45 +0000 (09:45 -0500)
committerJean-Michel Lacroix <redacted>
Tue, 24 Nov 2015 14:45:45 +0000 (09:45 -0500)
This is a small fix to allow the package to compile with gcc5
Addition of the -std=gnu89 CFLAGS.
Small correction of the copyright date of file bandwidthd.init

Signed-off-by: Jean-Michel Lacroix <redacted>
utils/bandwidthd/Makefile
utils/bandwidthd/files/bandwidthd.init

index 6cbace921c468520d7035bf86a05c510852a1ecf..ad5fde4daa0de144730893ad13dc57d6aa80cce9 100644 (file)
@@ -82,7 +82,7 @@ CONFIGURE_ARGS += \
         ac_cv_file__usr_local_pgsql_include=no
 endif
 
-EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
+EXTRA_CFLAGS+= $(TARGET_CPPFLAGS) -std=gnu89
 EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
 
 define Package/bandwidthd/install
index 6483daa2c00b97f7ca7927cea5d6ec88768229a6..38d9cb165cea9a04bc751c692945e10d1c52e2c6 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh /etc/rc.common
-# Copyright (C) 2008-2011 OpenWrt.org
+# Copyright (C) 2008-2015 OpenWrt.org
 
 START=99
 
git clone https://git.99rst.org/PROJECT