<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>20992</bug_id>
          
          <creation_ts>2008-09-22 08:54:46 -0700</creation_ts>
          <short_desc>Build fails on GTK+ Mac OS</short_desc>
          <delta_ts>2008-09-24 00:45:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Richard Hult">richard</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92132</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Hult">richard</who>
    <bug_when>2008-09-22 08:54:46 -0700</bug_when>
    <thetext>JavaScriptCore/wtf/ThreadingGtk.cpp has this snippet at the beginning:

#if !PLATFORM(DARWIN)
static ThreadIdentifier mainThreadIdentifier;
#endif

Later in the same file the variable is used unconditionally, causing a build error when building with GTK+ on Mac OS. I&apos;m not sure why it is conditionalized at all, my guess is that the right fix is to just remove the #if.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92438</commentid>
    <comment_count>1</comment_count>
      <attachid>23736</attachid>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2008-09-23 17:10:42 -0700</bug_when>
    <thetext>Created attachment 23736
remove platform ifdefs on ThreadingGtk

Removed platform ifdef as suggested by Richard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92454</commentid>
    <comment_count>2</comment_count>
      <attachid>23736</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-09-23 19:58:32 -0700</bug_when>
    <thetext>Comment on attachment 23736
remove platform ifdefs on ThreadingGtk

There was a separate bug about this which I reviewed recently and had a different fix.  I thought that had landed already.  Are you sure you&apos;re up to date?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92455</commentid>
    <comment_count>3</comment_count>
      <attachid>23736</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-09-23 19:59:22 -0700</bug_when>
    <thetext>Comment on attachment 23736
remove platform ifdefs on ThreadingGtk

Oh, nevermind.  I think I was thinking of Qt.  This code was probably copied from Qt, and probably doesn&apos;t need those #ifdefs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92460</commentid>
    <comment_count>4</comment_count>
      <attachid>23736</attachid>
    <who name="Alp Toker">alp</who>
    <bug_when>2008-09-23 20:40:49 -0700</bug_when>
    <thetext>Comment on attachment 23736
remove platform ifdefs on ThreadingGtk

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92479</commentid>
    <comment_count>5</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2008-09-24 00:45:21 -0700</bug_when>
    <thetext>landed in r36846</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>23736</attachid>
            <date>2008-09-23 17:10:42 -0700</date>
            <delta_ts>2008-09-23 20:40:49 -0700</delta_ts>
            <desc>remove platform ifdefs on ThreadingGtk</desc>
            <filename>gtk-mac-buildfix.patch</filename>
            <type>text/plain</type>
            <size>1257</size>
            <attacher name="Jan Alonzo">jmalonzo</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0ph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AIG5hbWVzcGFjZSBXVEYgewogCiBNdXRleCogYXRvbWljYWxseUluaXRpYWxpemVkU3RhdGlj
TXV0ZXg7CiAKLSNpZiAhUExBVEZPUk0oREFSV0lOKQogc3RhdGljIFRocmVhZElkZW50aWZpZXIg
bWFpblRocmVhZElkZW50aWZpZXI7Ci0jZW5kaWYKIAogc3RhdGljIE11dGV4JiB0aHJlYWRNYXBN
dXRleCgpCiB7CkBAIC02MCw5ICs1OCw3IEBAIHZvaWQgaW5pdGlhbGl6ZVRocmVhZGluZygpCiAg
ICAgICAgIGF0b21pY2FsbHlJbml0aWFsaXplZFN0YXRpY011dGV4ID0gbmV3IE11dGV4OwogICAg
ICAgICB0aHJlYWRNYXBNdXRleCgpOwogICAgICAgICB3dGZfcmFuZG9tX2luaXQoKTsKLSNpZiAh
UExBVEZPUk0oREFSV0lOKQogICAgICAgICBtYWluVGhyZWFkSWRlbnRpZmllciA9IGN1cnJlbnRU
aHJlYWQoKTsKLSNlbmRpZgogICAgICAgICBpbml0aWFsaXplTWFpblRocmVhZCgpOwogICAgIH0K
IH0K
</data>
<flag name="review"
          id="10666"
          type_id="1"
          status="+"
          setter="alp"
    />
          </attachment>
      

    </bug>

</bugzilla>