Make sendto() work for IPv4 by setting the IP_MULTICAST_IF socket option. Allows this port to drop the dependency on net/libnet and stop using the associated sendto() replacement hack (which supports only IPv4). Make IPv6 work: Fix adding/deleting IPv6 routes, and don't complain about a missing net.inet6.icmp6.rediraccept sysctl. Also enable the verbose build so build logs show the commands being used to compile things. ok danj@ sthen@
25 lines
867 B
Plaintext
25 lines
867 B
Plaintext
$OpenBSD: patch-make_hash_source_sh,v 1.1 2017/06/20 15:14:10 stsp Exp $
|
|
|
|
Index: make/hash_source.sh
|
|
--- make/hash_source.sh.orig
|
|
+++ make/hash_source.sh
|
|
@@ -96,14 +96,16 @@ if [ ! -e "$buildDataTxt" ]; then
|
|
if [ "$verbose" = "0" ]; then
|
|
cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
|
else
|
|
- cp -p -v "$tmpBuildDataTxt" "$buildDataTxt"
|
|
+ echo cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
|
+ cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
|
fi
|
|
elif [ -n "$(diff -I "^const char build_date\[\].*\$" "$tmpBuildDataTxt" "$buildDataTxt" | sed 's/"/\\"/g')" ]; then
|
|
echo "[UPDATE] $buildDataTxt"
|
|
if [ "$verbose" = "0" ]; then
|
|
cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
|
else
|
|
- cp -p -v "$tmpBuildDataTxt" "$buildDataTxt"
|
|
+ echo cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
|
+ cp -p "$tmpBuildDataTxt" "$buildDataTxt"
|
|
fi
|
|
fi
|
|
rm -f "$tmpBuildDataTxt"
|