pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/netcat6 Fix for gcc4: define alloca to __builtin_a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/da06fdcaeffc
branches: trunk
changeset: 515755:da06fdcaeffc
user: ghen <ghen%pkgsrc.org@localhost>
date: Fri Jul 07 17:51:19 2006 +0000
description:
Fix for gcc4: define alloca to __builtin_alloca if using gcc, from PR pkg/33930.
diffstat:
net/netcat6/distinfo | 4 ++--
net/netcat6/patches/patch-aa | 27 ++++++++++++++++++---------
2 files changed, 20 insertions(+), 11 deletions(-)
diffs (47 lines):
diff -r bb0bfcdc18c5 -r da06fdcaeffc net/netcat6/distinfo
--- a/net/netcat6/distinfo Fri Jul 07 17:00:27 2006 +0000
+++ b/net/netcat6/distinfo Fri Jul 07 17:51:19 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/03/14 01:42:55 joerg Exp $
+$NetBSD: distinfo,v 1.4 2006/07/07 17:51:19 ghen Exp $
SHA1 (nc6-1.0.tar.bz2) = 1c361a8060be427fe1b2209d7155e26670e0c1b9
RMD160 (nc6-1.0.tar.bz2) = c5444976925ffece7f27fc1ff3c16ebe19998b78
Size (nc6-1.0.tar.bz2) = 264257 bytes
-SHA1 (patch-aa) = 7f1f6df170d57cdb518138af7644a34cd93d1c62
+SHA1 (patch-aa) = 77cd0084c0be48bcbcbfd2a96f08f430eea68650
diff -r bb0bfcdc18c5 -r da06fdcaeffc net/netcat6/patches/patch-aa
--- a/net/netcat6/patches/patch-aa Fri Jul 07 17:00:27 2006 +0000
+++ b/net/netcat6/patches/patch-aa Fri Jul 07 17:51:19 2006 +0000
@@ -1,13 +1,22 @@
-$NetBSD: patch-aa,v 1.3 2006/03/14 01:42:55 joerg Exp $
+$NetBSD: patch-aa,v 1.4 2006/07/07 17:51:19 ghen Exp $
---- src/netsupport.c.orig 2006-03-14 01:33:01.000000000 +0000
-+++ src/netsupport.c
-@@ -38,7 +38,7 @@
- #ifdef _AIX
- #pragma alloca
+--- src/netsupport.c.orig 2006-01-19 23:46:23.000000000 +0100
++++ src/netsupport.c 2006-07-06 20:48:20.000000000 +0200
+@@ -32,6 +32,9 @@
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+
++#ifdef __GNUC__
++#define alloca __builtin_alloca
++#else
+ #if HAVE_ALLOCA_H
+ #include <alloca.h>
#else
--#ifndef alloca /* predefined by HP cc +Olibcalls */
-+#if !defined(alloca) && !defined(__DragonFly__) && !defined(__FreeBSD__)
- char *alloca();
+@@ -43,6 +46,7 @@ char *alloca();
#endif
#endif
+ #endif
++#endif
+
+ RCSID("@(#) $Header: /cvsroot/pkgsrc/net/netcat6/patches/patch-aa,v 1.4 2006/07/07 17:51:19 ghen Exp $");
+
Home |
Main Index |
Thread Index |
Old Index