pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/xcopilot Use alloca from stdlib.h on DragonF...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fab31006299
branches:  trunk
changeset: 506194:3fab31006299
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jan 12 20:58:56 2006 +0000

description:
Use alloca from stdlib.h on DragonFly and FreeBSD.

diffstat:

 emulators/xcopilot/distinfo         |   3 ++-
 emulators/xcopilot/patches/patch-ak |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r a7490604fbdf -r 3fab31006299 emulators/xcopilot/distinfo
--- a/emulators/xcopilot/distinfo       Thu Jan 12 20:57:25 2006 +0000
+++ b/emulators/xcopilot/distinfo       Thu Jan 12 20:58:56 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 18:49:22 agc Exp $
+$NetBSD: distinfo,v 1.5 2006/01/12 20:58:56 joerg Exp $
 
 SHA1 (xcopilot-0.6.6.tar.gz) = 91f76d1fd8fc19b6fea18853425aa3076e945d5d
 RMD160 (xcopilot-0.6.6.tar.gz) = e267495db384070e7e192043f23290f0004ecd4a
@@ -13,3 +13,4 @@
 SHA1 (patch-ah) = fa166c5ecf7458c91f89b216aee5acb6de270292
 SHA1 (patch-ai) = 255d997e2ef340a8d4b91ce25c2a3071df5c4520
 SHA1 (patch-aj) = 560a3dd902323ec1d07c292b6e8f95acb6c1c939
+SHA1 (patch-ak) = dfb717cb81f797b85d84274f14fc0d36926ccb5d
diff -r a7490604fbdf -r 3fab31006299 emulators/xcopilot/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xcopilot/patches/patch-ak       Thu Jan 12 20:58:56 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2006/01/12 20:58:56 joerg Exp $
+
+--- config.h.in.orig   2006-01-12 20:51:24.000000000 +0000
++++ config.h.in
+@@ -71,6 +71,8 @@
+ /* AIX requires this to be the first thing in the file.  */
+ #if HAVE_ALLOCA_H
+ # include <alloca.h>
++#elif defined(__DragonFly__) || defined(__FreeBSD__)
++# include <stdlib.h>
+ #else
+ # ifdef _AIX
+  #pragma alloca



Home | Main Index | Thread Index | Old Index