diff options
author | Ismael Luceno | 2021-01-21 19:13:40 +0100 |
---|---|---|
committer | Ismael Luceno | 2021-01-21 19:14:45 +0100 |
commit | 7958b281cd371dc29a89e66aa1af46e88a0f8b12 (patch) | |
tree | c7453e3ffa76acb4f0d39ef80e3cee3efd1a3c0e /net | |
parent | 73b4a714461543c8dee513aa2f5f60a798fec274 (diff) |
iputils-ping: Fix duplicated variable definition
Fix the duplicated definition of "device" at ping6_common.c by making it
extern.
Diffstat (limited to 'net')
-rw-r--r-- | net/iputils-ping/HISTORY | 1 | ||||
-rwxr-xr-x | net/iputils-ping/PRE_BUILD | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/net/iputils-ping/HISTORY b/net/iputils-ping/HISTORY index 7acb2f0de3..ab81527fd2 100644 --- a/net/iputils-ping/HISTORY +++ b/net/iputils-ping/HISTORY @@ -1,6 +1,7 @@ 2021-01-21 Ismael Luceno <ismael@sourcemage.org> * BUILD: fixed to build only ping without patching * 0001-build-ping.patch: removed, no longer needed + * PRE_BUILD: fixed duplicated variable definition 2018-06-30 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> * DETAILS: version 20180629 diff --git a/net/iputils-ping/PRE_BUILD b/net/iputils-ping/PRE_BUILD index 029e38b2ac..889fae45d4 100755 --- a/net/iputils-ping/PRE_BUILD +++ b/net/iputils-ping/PRE_BUILD @@ -1,5 +1,7 @@ default_pre_build && cd "$SOURCE_DIRECTORY" && +# fix duplicated definition +sedit 's/^char \*device;$/extern &/' ping6_common.c && if ! is_depends_enabled $SPELL libcap; then sed -i -e 's/USE_CAP=yes/USE_CAP=no/' Makefile |