lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 6b0288785c9ba8a07282b665955344479b40f1ae
parent b3beb14b67abe5bbbc3f1a15032abd70b19c3c7b
Author: Jean-Michel Lacroix <lacroix@lepine-lacroix.info>
Date:   Tue, 24 Nov 2015 09:45:45 -0500

bandwidthd: fix build with gcc5
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 <lacroix@lepine-lacroix.info>

Diffstat:
Mutils/bandwidthd/Makefile | 2+-
Mutils/bandwidthd/files/bandwidthd.init | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/bandwidthd/Makefile b/utils/bandwidthd/Makefile @@ -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 diff --git a/utils/bandwidthd/files/bandwidthd.init b/utils/bandwidthd/files/bandwidthd.init @@ -1,5 +1,5 @@ #!/bin/sh /etc/rc.common -# Copyright (C) 2008-2011 OpenWrt.org +# Copyright (C) 2008-2015 OpenWrt.org START=99