[Webkit-unassigned] [Bug 19975] [OpenBSD] Patches to enable build of WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 11 03:40:10 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=19975


ddkilzer at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22246|                            |review-
               Flag|                            |




------- Comment #5 from ddkilzer at webkit.org  2008-07-11 03:40 PDT -------
(From update of attachment 22246)
>--- JavaScriptCore/kjs/collector.cpp.orig	Mon Jun 16 01:40:06 2008
>+++ JavaScriptCore/kjs/collector.cpp	Fri Jul 11 11:46:16 2008
>@@ -61,6 +61,10 @@
> #include <thread.h>
> #endif
> 
>+#if PLATFORM(OPENBSD)
>+#include <pthread.h>
>+#endif
>+
> #if HAVE(PTHREAD_NP_H)
> #include <pthread_np.h>
> #else

Looks good.

>@@ -331,6 +335,11 @@ static inline void* currentThreadStackBase()
>     stack_t s;
>     thr_stksegment(&s);
>     return s.ss_sp;
>+#elif PLATFORM(OPENBSD)
>+    pthread_t thread = pthread_self();
>+    stack_t stack;
>+    pthread_stackseg_np(thread, &stack);
>+    return stack.ss_sp;
> #elif PLATFORM(UNIX)
>     static void* stackBase = 0;
>     static size_t stackSize = 0;

This is already in the first patch.  There's no need to include it here.

The ChangeLog for the first patch is "free".  Please create one using the
prepare-ChangeLog script.  Thanks!

r- for above issues.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list