pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/dict-server Don't define alloca on DragonFly ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/581d79d137bd
branches:  trunk
changeset: 505288:581d79d137bd
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Jan 02 10:55:24 2006 +0000

description:
Don't define alloca on DragonFly and FreeBSD, conflicts with stdlib.h.

diffstat:

 textproc/dict-server/distinfo         |   4 +++-
 textproc/dict-server/patches/patch-aa |  13 +++++++++++++
 textproc/dict-server/patches/patch-ab |  15 +++++++++++++++
 3 files changed, 31 insertions(+), 1 deletions(-)

diffs (51 lines):

diff -r 0c93efacb724 -r 581d79d137bd textproc/dict-server/distinfo
--- a/textproc/dict-server/distinfo     Mon Jan 02 10:33:28 2006 +0000
+++ b/textproc/dict-server/distinfo     Mon Jan 02 10:55:24 2006 +0000
@@ -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 -r 0c93efacb724 -r 581d79d137bd textproc/dict-server/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dict-server/patches/patch-aa     Mon Jan 02 10:55:24 2006 +0000
@@ -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 -r 0c93efacb724 -r 581d79d137bd textproc/dict-server/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/dict-server/patches/patch-ab     Mon Jan 02 10:55:24 2006 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index