summaryrefslogtreecommitdiff
path: root/textproc/dict-server/patches/patch-am
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2002-12-10 08:26:43 +0000
committeruebayasi <uebayasi>2002-12-10 08:26:43 +0000
commit1e956a427545eddd30d69738cfa198fe24d3822c (patch)
tree0fd925d8f506c8fe02b18e33b31e1f00c7cadf24 /textproc/dict-server/patches/patch-am
parent43a67e914e755e29225d44a0097d5835f4f38228 (diff)
downloadpkgsrc-1e956a427545eddd30d69738cfa198fe24d3822c.tar.gz
Fix a build problem on NetBSD/sparc.
Address PR19337 from Sean Williams <sajw at freeshell dot org>.
Diffstat (limited to 'textproc/dict-server/patches/patch-am')
-rw-r--r--textproc/dict-server/patches/patch-am13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/dict-server/patches/patch-am b/textproc/dict-server/patches/patch-am
new file mode 100644
index 00000000000..8b0680e4be5
--- /dev/null
+++ b/textproc/dict-server/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2002/12/10 08:26:44 uebayasi Exp $
+
+--- ../dict-web1913-1.4/dump.h.orig Mon Feb 23 04:31:40 1998
++++ ../dict-web1913-1.4/dump.h
+@@ -139,7 +139,7 @@
+ declarations for standard library calls. We provide them here for
+ situations that we know about. */
+
+-#if defined(__sparc__)
++#if defined(__sparc__) && !defined(__NetBSD__)
+ /* Both SunOS and Solaris */
+ extern int getrusage( int who, struct rusage * );
+ extern void bcopy( const void *, void *, int );