<?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>98089</bug_id>
          
          <creation_ts>2012-10-01 16:16:23 -0700</creation_ts>
          <short_desc>Missing sys/mman.h include on Mac</short_desc>
          <delta_ts>2013-01-16 14:41:15 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>Unspecified</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="Jonathan Liu">net147</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>hausmann</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zeno</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>732098</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-10-01 16:16:23 -0700</bug_when>
    <thetext>Source/JavaScriptCore/jit/ExecutableAllocatorFixedVMPool.cpp needs sys/mman.h include on Mac (see https://bugs.webkit.org/show_bug.cgi?id=97995#c5).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>732103</commentid>
    <comment_count>1</comment_count>
      <attachid>166567</attachid>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-10-01 16:18:39 -0700</bug_when>
    <thetext>Created attachment 166567
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733244</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-02 17:14:43 -0700</bug_when>
    <thetext>I want to r+ this based on the comment you cited, but I don&apos;t understand why the build isn&apos;t broken because of this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>733263</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-10-02 17:35:30 -0700</bug_when>
    <thetext>An indirect include from one of the other headers perhaps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>796651</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2012-12-22 00:52:17 -0800</bug_when>
    <thetext>I don&apos;t understand why this is needed. The Mac (apple &amp; QT) bots are green.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>796665</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-12-22 04:29:01 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; I don&apos;t understand why this is needed. The Mac (apple &amp; QT) bots are green.

See https://bugs.webkit.org/show_bug.cgi?id=97995#c5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>808708</commentid>
    <comment_count>6</comment_count>
      <attachid>166567</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2013-01-16 14:15:41 -0800</bug_when>
    <thetext>Comment on attachment 166567
Patch

Eventually we’ll have to figure out a policy for Mac includes. Generally speaking the Mac port works by including certain global includes as part of the prefix, and patches like this are only needed because some other ports are leaving things out of the global prefix. But since we have a &quot;config.h&quot; that is used on all platforms, these could instead be fixed by adding more to the &quot;config.h&quot; or something it includes on those ports. Instead of constantly taking small patches like this one.

But I’ll set that aside for now and say r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>808733</commentid>
    <comment_count>7</comment_count>
      <attachid>166567</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-01-16 14:41:11 -0800</bug_when>
    <thetext>Comment on attachment 166567
Patch

Clearing flags on attachment: 166567

Committed r139926: &lt;http://trac.webkit.org/changeset/139926&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>808734</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-01-16 14:41:15 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>166567</attachid>
            <date>2012-10-01 16:18:39 -0700</date>
            <delta_ts>2013-01-16 14:41:11 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-98089.patch</filename>
            <type>text/plain</type>
            <size>1109</size>
            <attacher name="Jonathan Liu">net147</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTMwMDk1KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBA
CisyMDEyLTEwLTAxICBKb25hdGhhbiBMaXUgIDxuZXQxNDdAZ21haWwuY29tPgorCisgICAgICAg
IEFkZCBtaXNzaW5nIHN5cy9tbWFuLmggaW5jbHVkZSBvbiBNYWMKKyAgICAgICAgaHR0cHM6Ly9i
dWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTk4MDg5CisKKyAgICAgICAgUmV2aWV3ZWQg
YnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgVGhlIG1hZHZpc2UgZnVuY3Rpb24gYW5kIE1B
RFZfRlJFRSBjb25zdGFudCByZXF1aXJlIHN5cy9tbWFuLmguCisKKyAgICAgICAgKiBqaXQvRXhl
Y3V0YWJsZUFsbG9jYXRvckZpeGVkVk1Qb29sLmNwcDoKKwogMjAxMi0xMC0wMSAgSm9uYXRoYW4g
TGl1ICA8bmV0MTQ3QGdtYWlsLmNvbT4KIAogICAgICAgICBSZW1vdmUgdW51c2VkIHN5cy9tbWFu
LmggaW5jbHVkZQpJbmRleDogU291cmNlL0phdmFTY3JpcHRDb3JlL2ppdC9FeGVjdXRhYmxlQWxs
b2NhdG9yRml4ZWRWTVBvb2wuY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9KYXZhU2NyaXB0Q29y
ZS9qaXQvRXhlY3V0YWJsZUFsbG9jYXRvckZpeGVkVk1Qb29sLmNwcAkocmV2aXNpb24gMTMwMDky
KQorKysgU291cmNlL0phdmFTY3JpcHRDb3JlL2ppdC9FeGVjdXRhYmxlQWxsb2NhdG9yRml4ZWRW
TVBvb2wuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zNiw2ICszNiwxMCBAQAogI2luY2x1ZGUgPHd0
Zi9QYWdlUmVzZXJ2YXRpb24uaD4KICNpbmNsdWRlIDx3dGYvVk1UYWdzLmg+CiAKKyNpZiBPUyhE
QVJXSU4pCisjaW5jbHVkZSA8c3lzL21tYW4uaD4KKyNlbmRpZgorCiAjaWYgT1MoTElOVVgpCiAj
aW5jbHVkZSA8c3RkaW8uaD4KICNlbmRpZgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>