edit libevent patch