From 50e41292c1df9da5d2d5670567631d3d3b83ab11 Mon Sep 17 00:00:00 2001 From: marino Date: Wed, 8 Aug 2012 13:42:42 +0000 Subject: [PATCH] net/synergy1.2: Fix regression on DragonFly The previous changeset, "Fix issues with new GCC" overwrote the existing patch-ab which dealt with pre-existing alloca definitions. Incorporate the old patch-ab into the current patch-ab to fix regression. --- net/synergy1.2/distinfo | 4 ++-- net/synergy1.2/patches/patch-ab | 13 +++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/net/synergy1.2/distinfo b/net/synergy1.2/distinfo index 73eab5bac75b..44f19d045b3b 100644 --- a/net/synergy1.2/distinfo +++ b/net/synergy1.2/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.4 2011/11/22 20:07:20 joerg Exp $ +$NetBSD: distinfo,v 1.5 2012/08/08 13:42:42 marino 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) = 5a48140c7622195a716eededae2d1ee0f6fa4e85 -SHA1 (patch-ab) = 011deedba1d2a793ff4add4196c8a10708e864f5 +SHA1 (patch-ab) = 24f611bc942b6c0dac8e3d398150e5a8bb44ebd6 SHA1 (patch-lib-arch-CArchDaemonUnix.cpp) = 1d11d87f9a388ba68403ff74d4fcd5fa180a919e SHA1 (patch-lib_arch_CMultibyte.cpp) = 66cc7cd1e327a1bfd519cb003835914221cbb369 SHA1 (patch-lib_base_CStringUtil.cpp) = 8f803bcab5a37bd4bf5a918fe3333338bd7d22c2 diff --git a/net/synergy1.2/patches/patch-ab b/net/synergy1.2/patches/patch-ab index 9c8e2b42a0f0..d6f183c29e66 100644 --- a/net/synergy1.2/patches/patch-ab +++ b/net/synergy1.2/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.2 2011/11/22 20:07:20 joerg Exp $ +$NetBSD: patch-ab,v 1.3 2012/08/08 13:42:42 marino Exp $ ---- lib/arch/CArchNetworkBSD.cpp.orig 2011-11-22 19:34:07.000000000 +0000 +--- lib/arch/CArchNetworkBSD.cpp.orig 2005-07-28 01:50:02.000000000 +0000 +++ lib/arch/CArchNetworkBSD.cpp @@ -28,6 +28,7 @@ #include @@ -10,3 +10,12 @@ $NetBSD: patch-ab,v 1.2 2011/11/22 20:07:20 joerg Exp $ #if HAVE_POLL # include +@@ -50,6 +51,8 @@ + #if HAVE_ALLOCA_H + # define freea(x_) + #else ++# undef alloca ++# undef freea + # define alloca(x_) malloc(x_) + # define freea(x_) free(x_) + #endif