pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/pnet Make it build on DragonFly. Probably incompl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6783d8e38fcc
branches: trunk
changeset: 394015:6783d8e38fcc
user: hasso <hasso%pkgsrc.org@localhost>
date: Tue Jun 02 18:39:20 2009 +0000
description:
Make it build on DragonFly. Probably incomplete, but at least hello world
compiles and runs.
diffstat:
lang/pnet/distinfo | 4 +++-
lang/pnet/patches/patch-aa | 21 +++++++++++++++++++++
lang/pnet/patches/patch-ab | 19 +++++++++++++++++++
3 files changed, 43 insertions(+), 1 deletions(-)
diffs (60 lines):
diff -r 35f3cc667cea -r 6783d8e38fcc lang/pnet/distinfo
--- a/lang/pnet/distinfo Tue Jun 02 18:22:46 2009 +0000
+++ b/lang/pnet/distinfo Tue Jun 02 18:39:20 2009 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.7 2008/02/18 16:39:43 xtraeme Exp $
+$NetBSD: distinfo,v 1.8 2009/06/02 18:39:20 hasso Exp $
SHA1 (pnet-0.8.0.tar.gz) = 3d048cbef0476f21cbdd86f81c1706f52b7a7218
RMD160 (pnet-0.8.0.tar.gz) = 232f96fb92be2cab4109ab03845bafa84c3d0259
Size (pnet-0.8.0.tar.gz) = 4510420 bytes
+SHA1 (patch-aa) = a25d25c0b4a1998fa930e7cddc4537beb016be5b
+SHA1 (patch-ab) = 2df077f95643791d32cff2e4a82b0bc5cd67a01b
diff -r 35f3cc667cea -r 6783d8e38fcc lang/pnet/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pnet/patches/patch-aa Tue Jun 02 18:39:20 2009 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.4 2009/06/02 18:39:20 hasso Exp $
+
+--- libffi/configure.orig 2009-06-02 16:37:36 +0300
++++ libffi/configure 2009-06-02 16:38:41 +0300
+@@ -20700,6 +20700,7 @@ i*86-*-solaris2.1[0-9]*) TARGET=X86_64;
+ i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-beos*) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-freebsd* | i*86-*-kfreebsd*-gnu) TARGET=X86; TARGETDIR=x86;;
++i*86-*-dragonfly*) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-netbsdelf* | i*86-*-knetbsd*-gnu) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-rtems*) TARGET=X86; TARGETDIR=x86;;
+ i*86-*-win32*) TARGET=X86_WIN32; TARGETDIR=x86;;
+@@ -20731,7 +20732,7 @@ arm*-*-rtems*) TARGET=ARM; TARGETDIR=arm
+ cris-*-*) TARGET=LIBFFI_CRIS; TARGETDIR=cris;;
+ s390-*-linux-*) TARGET=S390; TARGETDIR=s390;;
+ s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;;
+-x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) TARGET=X86_64; TARGETDIR=x86;;
++x86_64-*-linux* | x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu | x86_64-*-dragonfly*) TARGET=X86_64; TARGETDIR=x86;;
+ sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;;
+ sh-*-rtems*) TARGET=SH; TARGETDIR=sh;;
+ sh64-*-linux* | sh5*-*-linux*) TARGET=SH64; TARGETDIR=sh64;;
diff -r 35f3cc667cea -r 6783d8e38fcc lang/pnet/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/pnet/patches/patch-ab Tue Jun 02 18:39:20 2009 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.3 2009/06/02 18:39:20 hasso Exp $
+
+--- libgc/configure.orig 2009-06-02 16:41:38 +0300
++++ libgc/configure 2009-06-02 16:43:54 +0300
+@@ -4754,6 +4754,14 @@ _ACEOF
+ INCLUDES="$INCLUDES -pthread"
+ THREADDLLIBS=-pthread
+ ;;
++ *-*-dragonfly*)
++ cat >>confdefs.h <<\_ACEOF
++#define GC_FREEBSD_THREADS 1
++_ACEOF
++
++ INCLUDES="$INCLUDES -pthread"
++ THREADDLLIBS=-pthread
++ ;;
+ *-*-kfreebsd*-gnu)
+ cat >>confdefs.h <<\_ACEOF
+ #define GC_FREEBSD_THREADS 1
Home |
Main Index |
Thread Index |
Old Index