summaryrefslogtreecommitdiff
path: root/security/sfs/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'security/sfs/patches/patch-aj')
-rw-r--r--security/sfs/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/sfs/patches/patch-aj b/security/sfs/patches/patch-aj
new file mode 100644
index 00000000000..ae1d2f2b539
--- /dev/null
+++ b/security/sfs/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2006/10/21 11:53:13 agc Exp $
+
+--- ./arpc/Makefile.in.orig 2002-12-20 14:54:00.000000000 +0000
++++ ./arpc/Makefile.in
+@@ -406,7 +406,7 @@ pmap_prot.C: $(srcdir)/pmap_prot.x
+ (echo '#define proc XXX_egcs_bug_proc'; \
+ echo '#include "sysconf.h"'; \
+ echo '#undef proc') > $@~
+- -$(RPCC) -c $(srcdir)/pmap_prot.x -o- >> $@~ \
++ -$(RPCC) -c $(srcdir)/pmap_prot.x -o- | awk '/panic/ { printf("%s return false;\n", $$0); next } { print }' >> $@~ \
+ && mv -f $@~ $@
+
+ dist-hook: