Opened 8 years ago

Closed 8 years ago

#52223 closed defect (fixed)

libevent @2.0.22_2 Fix regression on OS X 10.12 (Sierra)

Reported by: lbschenkel (Leonardo Brondani Schenkel) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: haspatch sierra Cc:
Port: libevent, libevent1

Description

libevent's code to detect a broken kqueue implementation on OS X had a bug and OS X 10.12 (Sierra) was incorrectly triggering the detection. This was fixed in upstream:

https://github.com/libevent/libevent/commit/df6f99e5b51a3c0786f54cb9822604ec63385400

Without the above change, programs using libevent and kqueue (like tmux) will print the following message on OS X 10.12:

[warn] kq_init: detected broken kqueue; not using.: File exists

I have attached a patch for a new revision of Portfile which incorporates the patch above and the patch itself.

Attachments (1)

libevent.patch (1.2 KB) - added by lbschenkel (Leonardo Brondani Schenkel) 8 years ago.
new Portfile revision and patch for OS X Sierra

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by lbschenkel (Leonardo Brondani Schenkel)

Attachment: libevent.patch added

new Portfile revision and patch for OS X Sierra

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch sierra added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Port: libevent1 added
Resolution: fixed
Status: assignedclosed

Fixed libevent in r152574 and libevent1 in r152585.

Note: See TracTickets for help on using tickets.