pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/amule Add missing include for close(2). Fix Dragon...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3563f850403c
branches: trunk
changeset: 512024:3563f850403c
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Apr 28 20:43:42 2006 +0000
description:
Add missing include for close(2). Fix DragonFly, esp. hack around a
propolice ICE.
diffstat:
net/amule/distinfo | 5 +++--
net/amule/hacks.mk | 18 ++++++++++++++++++
net/amule/patches/patch-aa | 13 +++++++++++--
net/amule/patches/patch-ab | 12 ++++++++++++
4 files changed, 44 insertions(+), 4 deletions(-)
diffs (76 lines):
diff -r 66424ca8af45 -r 3563f850403c net/amule/distinfo
--- a/net/amule/distinfo Fri Apr 28 20:33:30 2006 +0000
+++ b/net/amule/distinfo Fri Apr 28 20:43:42 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.11 2006/04/14 09:54:32 adam Exp $
+$NetBSD: distinfo,v 1.12 2006/04/28 20:43:42 joerg Exp $
SHA1 (aMule-2.1.1.tar.bz2) = dd2e48a13cf7260f327364f293eda0d90832048e
RMD160 (aMule-2.1.1.tar.bz2) = 4a12afd91ecaaff75defa69796a7124abcd84dca
Size (aMule-2.1.1.tar.bz2) = 3263428 bytes
-SHA1 (patch-aa) = aa8145cd2cd53d72ad0effa36b22ba1f2bf088dc
+SHA1 (patch-aa) = 49f38c9ca56945442c5e184dc341f7a91ed6c989
+SHA1 (patch-ab) = df17202991dc5477feca2a0129d9703a71665869
diff -r 66424ca8af45 -r 3563f850403c net/amule/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amule/hacks.mk Fri Apr 28 20:43:42 2006 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: hacks.mk,v 1.1 2006/04/28 20:43:42 joerg Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly" && ${PKGSRC_COMPILER} == "gcc"
+#
+# Workaround an ICE in the stack-smashing protection in GCC 3.4.x.
+#
+.if !defined(HAS_PROPOLICE)
+HAS_PROPOLICE!= ( ${CC} -v 2>&1 | ${GREP} 'propolice' ) 2>/dev/null || echo no
+MAKEVARS+= HAS_PROPOLICE
+.endif
+
+.if ${HAS_PROPOLICE} != "no"
+CFLAGS+= -fno-stack-protector
+CXXFLAGS+= -fno-stack-protector
+.endif
+.endif
diff -r 66424ca8af45 -r 3563f850403c net/amule/patches/patch-aa
--- a/net/amule/patches/patch-aa Fri Apr 28 20:33:30 2006 +0000
+++ b/net/amule/patches/patch-aa Fri Apr 28 20:43:42 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2006/01/20 22:06:32 adam Exp $
+$NetBSD: patch-aa,v 1.6 2006/04/28 20:43:42 joerg Exp $
---- configure.orig 2006-01-02 00:00:38.000000000 +0100
+--- configure.orig 2006-03-18 00:27:48.000000000 +0000
+++ configure
@@ -7003,6 +7003,7 @@ else
result="no"
@@ -10,3 +10,12 @@
HAVE_GETTEXT=$result
echo "$as_me:$LINENO: result: $result ($autopoint_version)" >&5
+@@ -16139,7 +16140,7 @@ echo $ECHO_N "checking if this is a Free
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ else
+- LDFLAGS="$LDFLAGS -lpthread"
++ LDFLAGS="$LDFLAGS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ fi
diff -r 66424ca8af45 -r 3563f850403c net/amule/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/amule/patches/patch-ab Fri Apr 28 20:43:42 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.6 2006/04/28 20:43:42 joerg Exp $
+
+--- src/FileLock.h.orig 2006-04-28 19:12:49.000000000 +0000
++++ src/FileLock.h
+@@ -30,6 +30,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <unistd.h>
+ #include <cerrno>
+
+
Home |
Main Index |
Thread Index |
Old Index