diff options
author | hasso <hasso@pkgsrc.org> | 2009-06-05 09:49:53 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-06-05 09:49:53 +0000 |
commit | 141cd0bf1849aa3e0685bb3399ce8fcfd3f39e58 (patch) | |
tree | e6b1af2d8e511e308172941225c7f8a4c1e0766b /net | |
parent | 92e26cd069cd0b3286c74d2d0db90685b1f25b6a (diff) | |
download | pkgsrc-141cd0bf1849aa3e0685bb3399ce8fcfd3f39e58.tar.gz |
Make it build on non Linux systems having alloca definedi, like DragonFly.
Diffstat (limited to 'net')
-rw-r--r-- | net/synergy1.2/distinfo | 3 | ||||
-rw-r--r-- | net/synergy1.2/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/synergy1.2/distinfo b/net/synergy1.2/distinfo index 4ba5bb093fd..f65fd55298c 100644 --- a/net/synergy1.2/distinfo +++ b/net/synergy1.2/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2009/02/09 17:04:49 joerg Exp $ +$NetBSD: distinfo,v 1.3 2009/06/05 09:49:53 hasso Exp $ SHA1 (synergy-1.2.7.tar.gz) = 5964460892fd9e9cb55c5bfe4e781f2bc08d0b76 RMD160 (synergy-1.2.7.tar.gz) = 6bdbe5adbc13c2f49afcb99ccaa20b96a12c2bcf Size (synergy-1.2.7.tar.gz) = 707319 bytes SHA1 (patch-aa) = 20747abe2f447adb5967a767ee5ec9d9f09c8fb4 +SHA1 (patch-ab) = 2a4b8c368f0733f0c6e9d60b42660e459a2a55c1 diff --git a/net/synergy1.2/patches/patch-ab b/net/synergy1.2/patches/patch-ab new file mode 100644 index 00000000000..c4367d74aec --- /dev/null +++ b/net/synergy1.2/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2009/06/05 09:49:53 hasso Exp $ + +--- lib/arch/CArchNetworkBSD.cpp.orig 2009-06-05 12:09:52 +0300 ++++ lib/arch/CArchNetworkBSD.cpp 2009-06-05 12:11:02 +0300 +@@ -50,6 +50,8 @@ + #if HAVE_ALLOCA_H + # define freea(x_) + #else ++# undef alloca ++# undef freea + # define alloca(x_) malloc(x_) + # define freea(x_) free(x_) + #endif |