pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libtorrent Retire propolice hack, it compiles now....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90408067b825
branches:  trunk
changeset: 518810:90408067b825
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Sep 18 22:04:52 2006 +0000

description:
Retire propolice hack, it compiles now. Add a small patch to fix
compilation on DragonFly 1.4.

diffstat:

 net/libtorrent/distinfo         |   3 ++-
 net/libtorrent/hacks.mk         |  18 ------------------
 net/libtorrent/patches/patch-aa |  12 ++++++++++++
 3 files changed, 14 insertions(+), 19 deletions(-)

diffs (49 lines):

diff -r 75f2bb12362e -r 90408067b825 net/libtorrent/distinfo
--- a/net/libtorrent/distinfo   Mon Sep 18 16:39:11 2006 +0000
+++ b/net/libtorrent/distinfo   Mon Sep 18 22:04:52 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2006/09/13 21:04:19 tron Exp $
+$NetBSD: distinfo,v 1.10 2006/09/18 22:04:52 joerg Exp $
 
 SHA1 (libtorrent-0.10.1.tar.gz) = 0eb15edc789bbd549a505c5c9a54279ac352c538
 RMD160 (libtorrent-0.10.1.tar.gz) = 1cc40a2543e075658012b00f9709550de0c0a8d0
 Size (libtorrent-0.10.1.tar.gz) = 447888 bytes
+SHA1 (patch-aa) = 98a4a23beb017c03005bcc42aa1d6cfefdfcfded
diff -r 75f2bb12362e -r 90408067b825 net/libtorrent/hacks.mk
--- a/net/libtorrent/hacks.mk   Mon Sep 18 16:39:11 2006 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# $NetBSD: hacks.mk,v 1.2 2006/01/12 20:32:04 adam 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 75f2bb12362e -r 90408067b825 net/libtorrent/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libtorrent/patches/patch-aa   Mon Sep 18 22:04:52 2006 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.5 2006/09/18 22:04:52 joerg Exp $
+
+--- src/torrent/chunk_manager.cc.orig  2006-09-18 21:54:17.000000000 +0000
++++ src/torrent/chunk_manager.cc
+@@ -37,6 +37,7 @@
+ #include "config.h"
+ 
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+ 
+ #include "data/chunk_list.h"



Home | Main Index | Thread Index | Old Index