diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-02 10:55:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-02 10:55:24 +0000 |
commit | 099afd8990153adda6028f1290f2e137cb8fbd79 (patch) | |
tree | 9dda7fd7f36e00bbd1f47503625382f4bb0b054c /textproc/dict-server | |
parent | cba91624643eed555cc3e636e906f771f5844b07 (diff) | |
download | pkgsrc-099afd8990153adda6028f1290f2e137cb8fbd79.tar.gz |
Don't define alloca on DragonFly and FreeBSD, conflicts with stdlib.h.
Diffstat (limited to 'textproc/dict-server')
-rw-r--r-- | textproc/dict-server/distinfo | 4 | ||||
-rw-r--r-- | textproc/dict-server/patches/patch-aa | 13 | ||||
-rw-r--r-- | textproc/dict-server/patches/patch-ab | 15 |
3 files changed, 31 insertions, 1 deletions
diff --git a/textproc/dict-server/distinfo b/textproc/dict-server/distinfo index 0ab5c165331..24a1bb376e9 100644 --- a/textproc/dict-server/distinfo +++ b/textproc/dict-server/distinfo @@ -1,8 +1,10 @@ -$NetBSD: distinfo,v 1.13 2005/03/29 12:16:21 adam Exp $ +$NetBSD: distinfo,v 1.14 2006/01/02 10:55:24 joerg Exp $ SHA1 (dictd-1.9.15.tar.gz) = 081ea97a4a6a936855af30d9c2a31f5733985822 RMD160 (dictd-1.9.15.tar.gz) = 4cdef7132855d4ef949ba7ceacbea16881e3ef5d Size (dictd-1.9.15.tar.gz) = 741597 bytes +SHA1 (patch-aa) = ac64b226ea700d1b6484009b829dca1a9eab3cef +SHA1 (patch-ab) = cca19a370d6eb23b6176ab8788256a9ac86fc177 SHA1 (patch-ad) = 75d08ce1778898edcd52b4b94c974aba54f769a7 SHA1 (patch-ae) = 1b161f8c52a6029f0af2ddb824fc23ee5f867cff SHA1 (patch-ag) = 4473d472bddc34c5d5be2d6be6a0cee015717a79 diff --git a/textproc/dict-server/patches/patch-aa b/textproc/dict-server/patches/patch-aa new file mode 100644 index 00000000000..3386f132246 --- /dev/null +++ b/textproc/dict-server/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.4 2006/01/02 10:55:24 joerg Exp $ + +--- dictP.h.orig 2006-01-02 10:35:42.000000000 +0000 ++++ dictP.h +@@ -68,7 +68,7 @@ + # pragma alloca + # else + # ifndef alloca /* predefined by HP cc +Olibcalls */ +-# if !defined(__svr4__) && !defined(__sgi__) /* not on IRIX */ ++# if !defined(__svr4__) && !defined(__sgi__) && !defined(__DragonFly__) && !defined(__FreeBSD__) /* not on IRIX */ + char *alloca (); + # endif + # endif diff --git a/textproc/dict-server/patches/patch-ab b/textproc/dict-server/patches/patch-ab new file mode 100644 index 00000000000..1989a9ec2c3 --- /dev/null +++ b/textproc/dict-server/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.5 2006/01/02 10:55:24 joerg Exp $ + +--- libmaa/maaP.h.orig 2006-01-02 10:42:04.000000000 +0000 ++++ libmaa/maaP.h +@@ -41,8 +41,10 @@ + # pragma alloca + # else + # ifndef alloca /* predefined by HP cc +Olibcalls */ ++# if !defined(__DragonFly__) && !defined(__FreeBSD__) + char *alloca (); + # endif ++# endif + # endif + #endif + |