94df3e688c
+ add support for gcc4
13 lines
505 B
Text
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:
|