pkgsrc/security/sfs/patches/patch-aj
agc 94df3e688c Update sfs to 0.7.2nb7
+ add support for gcc4
2006-10-21 11:53:13 +00:00

13 lines
505 B
Text

$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: