diff options
-rw-r--r-- | net/net-snmp/patches/patch-mib2cupdate | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/net/net-snmp/patches/patch-mib2cupdate b/net/net-snmp/patches/patch-mib2cupdate deleted file mode 100644 index abaebf92a4a..00000000000 --- a/net/net-snmp/patches/patch-mib2cupdate +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-mib2cupdate,v 1.1 2006/03/11 16:59:54 rillig Exp $ - -Removed bashisms. - ---- local/mib2c-update.orig 2006-03-11 17:23:13.000000000 +0100 -+++ local/mib2c-update 2006-03-11 17:55:55.000000000 +0100 -@@ -96,7 +96,7 @@ check_setup() - # rc=0 - # fi - -- if [[ $rc -eq 0 && $UPDATE_NOPROBE -ne 1 ]]; then -+ if [ $rc -eq 0 ] && [ $UPDATE_NOPROBE -ne 1 ]; then - mib2c -c unknown > /dev/null 2>&1 - if [ $? -eq 0 ]; then - error "WARNING: mib2c returns 0 on error conditions!" -@@ -131,7 +131,7 @@ do_diff() - diff -U $FUZZ -p -b -w --show-c-function \ - -I "$""Id:" $f $DD_CURR/$f >> $DD_OUTPUT - rc=$? -- (( rcs = $rcs + $rc )) -+ rcs=`expr $rcs + $rc` - if [ $rc -eq 1 ]; then - echo " $f is different" - fi |