Skip to contentSkip to conversation

package/iptraf-ng: Fix musl build

PATCH Superseded Bernd Kuhls 2 participants 2 messages Jan 23, 2016 – Mar 30, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/iptraf-ng: Fix musl build

Ported from
http://git.alpinelinux.org/cgit/aports/tree/main/iptraf-ng/APKBUILD#n28

Fixes
http://autobuild.buildroot.net/results/72b/72b019ce5bb52b8b87d92cce675708f7b9f8a96e/
http://autobuild.buildroot.net/results/f67/f67f1c2a627a6d535dd5c00e2ee131b5c5a99a0a/

---
 package/iptraf-ng/iptraf-ng.mk | 1 +
 1 file changed, 1 insertion(+)
package/iptraf-ng/iptraf-ng.mk +1 -0
index 7313873..404db8b 100644
@@ -11,5 +11,6 @@ IPTRAF_NG_LICENSE_FILES = LICENSE
 IPTRAF_NG_DEPENDENCIES = ncurses
 
 IPTRAF_NG_MAKE_ENV = NCURSES_LDFLAGS="-lpanel -lncurses"
+IPTRAF_NG_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
 
 $(eval $(autotools-package))
Signature · 1 line
2.7.0.rc3
#1 lore raw

PATCH 1/1 package/iptraf-ng: Fix musl build

Hi,

Quoted 21 lines · Bernd Kuhls

Ported from
http://git.alpinelinux.org/cgit/aports/tree/main/iptraf-ng/APKBUILD#n
28

Fixes
http://autobuild.buildroot.net/results/72b/72b019ce5bb52b8b87d92cce67
5708f7b9f8a96e/
http://autobuild.buildroot.net/results/f67/f67f1c2a627a6d535dd5c00e2e
e131b5c5a99a0a/

---
?package/iptraf-ng/iptraf-ng.mk | 1 +
?1 file changed, 1 insertion(+)

package/iptraf- renamed from package/iptraf-ng/iptraf-ng.mk +0 -0

ng/iptraf-ng.mk
index 7313873..404db8b 100644

package/iptraf-ng/iptraf-ng.mk +0 -0
@@ -11,5 +11,6 @@ IPTRAF_NG_LICENSE_FILES = LICENSE
Quoted 6 lines

?IPTRAF_NG_DEPENDENCIES = ncurses
?
?IPTRAF_NG_MAKE_ENV = NCURSES_LDFLAGS="-lpanel -lncurses" +IPTRAF_NG_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" ?
?$(eval $(autotools-package))

Any reason why this patch is marked as "Changes requested" in patchwork [1]? The patch does fix the musl build issue, therefor:

[1]?http://patchwork.ozlabs.org/patch/572189/