summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIsmael Luceno2019-05-26 22:52:59 +0200
committerIsmael Luceno2019-05-27 12:27:32 +0200
commit1e2ee8385886230ada7049e16b3631edb84658d0 (patch)
tree1817c4e6d75574e8267241fdb2c391177927542c /net
parentdb0389a702d897a2e8cfb2b5a67286a84530dde7 (diff)
iftop: Fix build against musl
Diffstat (limited to 'net')
-rw-r--r--net/iftop/HISTORY3
-rwxr-xr-xnet/iftop/PRE_BUILD3
2 files changed, 6 insertions, 0 deletions
diff --git a/net/iftop/HISTORY b/net/iftop/HISTORY
index d276d21e86..9eb3a696c2 100644
--- a/net/iftop/HISTORY
+++ b/net/iftop/HISTORY
@@ -1,3 +1,6 @@
+2019-05-27 Ismael Luceno <ismael@sourcemage.org>
+ * PRE_BUILD: Fixed build against musl
+
2007-03-13 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
* DETAILS: fix array indices
diff --git a/net/iftop/PRE_BUILD b/net/iftop/PRE_BUILD
new file mode 100755
index 0000000000..ddbdb632c1
--- /dev/null
+++ b/net/iftop/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+sedit 's!maybe_os in$!& linux-musl*|\\!' config/config.sub