[Webkit-unassigned] [Bug 72085] Impossible build WebKit with glib2-2.31.0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 1 21:01:05 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=72085
Jonathan Hyry <jon at ttcwenatchee.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jon at ttcwenatchee.com
--- Comment #6 from Jonathan Hyry <jon at ttcwenatchee.com> 2012-02-01 21:01:05 PST ---
I have encountered this same issue trying to compile webkit-1.6.1. I am on Slackware 13.37 i686.
I noticed Mathew Dawkins' comment with the diff.... If you modify his diff as follows, webkit should compile normally:
--- webkit-1.6.1/Source/JavaScriptCore/wtf/gobject/GTypedefs.h~ 2011-09-26 14:54:57.000000000 -0600
+++ webkit-1.6.1/Source/JavaScriptCore/wtf/gobject/GTypedefs.h 2011-11-20 06:30:29.608190397 -0700
@@ -52,7 +51,6 @@
typedef struct _GHashTable GHashTable;
typedef struct _GInputStream GInputStream;
typedef struct _GList GList;
-typedef struct _GMutex GMutex;
+typedef union _GMutex GMutex;
typedef struct _GPatternSpec GPatternSpec;
typedef struct _GPollableOutputStream GPollableOutputStream;
typedef struct _GSocketClient GSocketClient;
_GMutex needs to be typedf'ed like this because the definition of a GMutex is as follows, per http://developer.gnome.org/glib/2.31/glib-Threads.html#GMutex:
union _GMutex
{
/*< private >*/
gpointer p;
guint i[2];
};
This appears to be the only problem so far. Though webkit is still compiling (has been for the past 20 minutes), it has not run into any errors/warnings. I will post a follow-up comment if it errors out of the build process.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list