pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/wine Enable kthread loader as the default on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/595e989c6875
branches:  trunk
changeset: 543923:595e989c6875
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Thu Jun 26 19:46:56 2008 +0000

description:
Enable kthread loader as the default on NetBSD; this package now works on
a 4.99.66/i386 kernel.

diffstat:

 emulators/wine/PLIST.NetBSD     |   2 ++
 emulators/wine/distinfo         |   4 +++-
 emulators/wine/patches/patch-ba |  16 ++++++++++++++++
 emulators/wine/patches/patch-bb |  17 +++++++++++++++++
 4 files changed, 38 insertions(+), 1 deletions(-)

diffs (62 lines):

diff -r dc244cb69ad3 -r 595e989c6875 emulators/wine/PLIST.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/wine/PLIST.NetBSD       Thu Jun 26 19:46:56 2008 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.NetBSD,v 1.1 2008/06/26 19:46:56 jmcneill Exp $
+bin/wine-pthread
diff -r dc244cb69ad3 -r 595e989c6875 emulators/wine/distinfo
--- a/emulators/wine/distinfo   Thu Jun 26 15:55:18 2008 +0000
+++ b/emulators/wine/distinfo   Thu Jun 26 19:46:56 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.76 2008/06/22 23:38:18 dholland Exp $
+$NetBSD: distinfo,v 1.77 2008/06/26 19:46:56 jmcneill Exp $
 
 SHA1 (wine-1.0.tar.bz2) = 84150abdda18bc34b187335c6862718a6e08d255
 RMD160 (wine-1.0.tar.bz2) = 1dbfa38e54e7d6269ad4110f22b2791393fd3b59
@@ -13,3 +13,5 @@
 SHA1 (patch-ai) = a334ee48b949f9f5d4356beed3b422ee032619c2
 SHA1 (patch-aj) = fa9d3baad8d3b895edc6275c2b6da23daa941a09
 SHA1 (patch-ak) = 5f9836d5b6c957a2a6828b1979c1beeb4e900b31
+SHA1 (patch-ba) = c549da1e8afe50e51fc032a1d6da36e1cca1758f
+SHA1 (patch-bb) = 42fd1c1c0bea76f56ded83b5e839f7899e93b810
diff -r dc244cb69ad3 -r 595e989c6875 emulators/wine/patches/patch-ba
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/wine/patches/patch-ba   Thu Jun 26 19:46:56 2008 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ba,v 1.1 2008/06/26 19:46:56 jmcneill Exp $
+
+--- configure.orig     2008-06-26 15:39:25.000000000 -0400
++++ configure  2008-06-26 15:39:53.000000000 -0400
+@@ -16819,6 +16819,11 @@
+ 
+         EXTRA_BINARIES="wine-pthread"
+  ;;
++      netbsd*)
++        MAIN_BINARY="wine-kthread"
++
++        EXTRA_BINARIES="wine-pthread"
++ ;;
+     esac
+     ;;
+ esac
diff -r dc244cb69ad3 -r 595e989c6875 emulators/wine/patches/patch-bb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/wine/patches/patch-bb   Thu Jun 26 19:46:56 2008 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-bb,v 1.1 2008/06/26 19:46:56 jmcneill Exp $
+
+--- loader/kthread.c.orig      2008-06-26 15:40:21.000000000 -0400
++++ loader/kthread.c   2008-06-26 15:40:35.000000000 -0400
+@@ -115,10 +115,12 @@
+     pthread_descr descr = __pthread_thread_self();
+     return &descr->thread_errno;
+ }
++#ifndef __NetBSD__
+ int *__error(void)     { return __errno_location(); }  /* FreeBSD */
+ int *__errno(void)     { return __errno_location(); }  /* NetBSD */
+ int *___errno(void)    { return __errno_location(); }  /* Solaris */
+ int *__thr_errno(void) { return __errno_location(); }  /* UnixWare */
++#endif
+ 
+ /***********************************************************************
+  *           __h_errno_location



Home | Main Index | Thread Index | Old Index