diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2002-12-10 08:26:43 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2002-12-10 08:26:43 +0000 |
commit | 0f7c461da632ea5879bb3fb32c001604292f2b58 (patch) | |
tree | 0fd925d8f506c8fe02b18e33b31e1f00c7cadf24 /textproc/dict-server | |
parent | 49396d619e10e82e92c6c771b3159f163b4c484d (diff) | |
download | pkgsrc-0f7c461da632ea5879bb3fb32c001604292f2b58.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')
-rw-r--r-- | textproc/dict-server/distinfo | 4 | ||||
-rw-r--r-- | textproc/dict-server/patches/patch-al | 13 | ||||
-rw-r--r-- | textproc/dict-server/patches/patch-am | 13 |
3 files changed, 29 insertions, 1 deletions
diff --git a/textproc/dict-server/distinfo b/textproc/dict-server/distinfo index cd5ab352ab2..2c35a62dc13 100644 --- a/textproc/dict-server/distinfo +++ b/textproc/dict-server/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2002/11/11 12:36:40 uebayasi Exp $ +$NetBSD: distinfo,v 1.7 2002/12/10 08:26:43 uebayasi Exp $ SHA1 (dictd-1.8.0.tar.gz) = c8318ae83a540d336405db126ff04bfc60b60ffc Size (dictd-1.8.0.tar.gz) = 574796 bytes @@ -21,3 +21,5 @@ SHA1 (patch-ah) = d3453553e15858054bce4943a0316d485938806a SHA1 (patch-ai) = 21b2c9ace814e005139c64c4b6890e8b7e249f29 SHA1 (patch-aj) = 76527be1d4ff89aeec72606d9575a99e6a8e2d3b SHA1 (patch-ak) = 4167c9007ed7b31ff9a29b368d82154bc95893cf +SHA1 (patch-al) = 548956d7eba7ebd937128fb8eb53fb0f70cd64fb +SHA1 (patch-am) = 4ba0be52fcd42d8b2f4ebb3bb499ad507966c678 diff --git a/textproc/dict-server/patches/patch-al b/textproc/dict-server/patches/patch-al new file mode 100644 index 00000000000..d1169b3f18e --- /dev/null +++ b/textproc/dict-server/patches/patch-al @@ -0,0 +1,13 @@ +$NetBSD: patch-al,v 1.1 2002/12/10 08:26:44 uebayasi Exp $ + +--- ../dict-gazetteer-1.3/format.c.orig Mon Jul 21 00:21:24 1997 ++++ ../dict-gazetteer-1.3/format.c +@@ -22,7 +22,7 @@ + This is usually clearer when + searching. */ + +-#ifdef __sparc__ ++#if defined(__sparc__) && !defined(__NetBSD__) + extern int atoi(char *); + extern int printf( char *, ... ); + extern int fprintf( FILE *, char *, ... ); 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 ); |