pkgsrc-Bugs archive

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

pkg/45192: add DragonFly support to xulrunner thread_posix



>Number:         45192
>Category:       pkg
>Synopsis:       add DragonFly support to xulrunner thread_posix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 30 12:10:00 +0000 2011
>Originator:     Alex Hornung
>Release:        DragonFly 2.11
>Organization:
DragonFly BSD
>Environment:
DragonFly alex-pc.local 2.11-DEVELOPMENT DragonFly 
v2.11.0.605.gc3dc9-DEVELOPMENT #0: Fri Jul 29 13:17:18 UTC 2011     
root%pkgbox64.dragonflybsd.org@localhost:/usr/obj/usr/src/sys/X86_64_GENERIC  
x86_64

pkgsrc-current
>Description:
The below patch adds DragonFly support to the patch that adds NetBSD support to 
the aforementioned file.

The patch is also available at 
http://leaf.dragonflybsd.org/~alexh/xulrunner_dragonfly_gettid_support.patch
>How-To-Repeat:

>Fix:

diff --git 
a/devel/xulrunner/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc
 
b/devel/xulrunner/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc
index 1ab948e..31967a0 100644
--- 
a/devel/xulrunner/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc
+++ 
b/devel/xulrunner/patches/patch-ipc_chromium_src_base_platform__thread__posix.cc
@@ -18,7 +18,7 @@ $NetBSD$
 +#elif defined(OS_NETBSD)
 +  return _lwp_self();
 +#elif defined(OS_DRAGONFLY)
-+#error No DragonFly support. hint: look at FreeBSD ports.
++  return lwp_gettid();
  #elif defined(OS_LINUX)
    return syscall(__NR_gettid);
  #endif



Home | Main Index | Thread Index | Old Index