diff options
author | joerg <joerg@pkgsrc.org> | 2006-01-12 20:58:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-01-12 20:58:56 +0000 |
commit | 49adf0a12cd2bf4c72aeaf1f815059188c7fccfd (patch) | |
tree | 535df805f4a4c3699afceee3632f6df57c244e11 | |
parent | b3df5f217c36b7b304355127f6e3feb96d6c248f (diff) | |
download | pkgsrc-49adf0a12cd2bf4c72aeaf1f815059188c7fccfd.tar.gz |
Use alloca from stdlib.h on DragonFly and FreeBSD.
-rw-r--r-- | emulators/xcopilot/distinfo | 3 | ||||
-rw-r--r-- | emulators/xcopilot/patches/patch-ak | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/emulators/xcopilot/distinfo b/emulators/xcopilot/distinfo index 2e4349890a5..0c6a5d7e010 100644 --- a/emulators/xcopilot/distinfo +++ b/emulators/xcopilot/distinfo @@ -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-ag) = 68a22072946811f9cc97434f532081a07fda567f SHA1 (patch-ah) = fa166c5ecf7458c91f89b216aee5acb6de270292 SHA1 (patch-ai) = 255d997e2ef340a8d4b91ce25c2a3071df5c4520 SHA1 (patch-aj) = 560a3dd902323ec1d07c292b6e8f95acb6c1c939 +SHA1 (patch-ak) = dfb717cb81f797b85d84274f14fc0d36926ccb5d diff --git a/emulators/xcopilot/patches/patch-ak b/emulators/xcopilot/patches/patch-ak new file mode 100644 index 00000000000..f326e2a8e0b --- /dev/null +++ b/emulators/xcopilot/patches/patch-ak @@ -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 |