summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIsmael Luceno2019-08-22 22:05:29 +0200
committerIsmael Luceno2019-08-22 22:15:40 +0200
commit633d16719c3b17264157e7fe723d395f785e3f31 (patch)
treed2d8f51056cc2c3d99c79e0abaea1ac2aaa1ef59 /net
parent1366564937b669cefca9fc43a9557d5715abd76f (diff)
iptraf-ng: Add -D_GNU_SOURCE to CFLAGS
The code assumes a system with GNU API. Needed by musl and probably by newer Glibc too.
Diffstat (limited to 'net')
-rwxr-xr-xnet/iptraf-ng/BUILD2
-rw-r--r--net/iptraf-ng/HISTORY1
2 files changed, 3 insertions, 0 deletions
diff --git a/net/iptraf-ng/BUILD b/net/iptraf-ng/BUILD
new file mode 100755
index 0000000000..ba1aebf49b
--- /dev/null
+++ b/net/iptraf-ng/BUILD
@@ -0,0 +1,2 @@
+CFLAGS+=' -D_GNU_SOURCE' &&
+default_build
diff --git a/net/iptraf-ng/HISTORY b/net/iptraf-ng/HISTORY
index f73edb9acb..3fb58df6bf 100644
--- a/net/iptraf-ng/HISTORY
+++ b/net/iptraf-ng/HISTORY
@@ -1,5 +1,6 @@
2019-08-22 Ismael Luceno <ismael@sourcemage.org>
* PRE_BUILD: removed, no longer needed
+ * BUILD: Added -D_GNU_SOURCE to CFLAGS
2013-09-15 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.1.4, reformatted description