pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/synergy1.2 Make it build on non Linux systems havi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6185bee486dc
branches:  trunk
changeset: 559957:6185bee486dc
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Fri Jun 05 09:49:53 2009 +0000

description:
Make it build on non Linux systems having alloca definedi, like DragonFly.

diffstat:

 net/synergy1.2/distinfo         |   3 ++-
 net/synergy1.2/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 6722c134304a -r 6185bee486dc net/synergy1.2/distinfo
--- a/net/synergy1.2/distinfo   Fri Jun 05 09:36:15 2009 +0000
+++ b/net/synergy1.2/distinfo   Fri Jun 05 09:49:53 2009 +0000
@@ -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 -r 6722c134304a -r 6185bee486dc net/synergy1.2/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/synergy1.2/patches/patch-ab   Fri Jun 05 09:49:53 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index