diff options
Diffstat (limited to 'event-build.patch')
-rw-r--r-- | event-build.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/event-build.patch b/event-build.patch index 453a4a6..90e7a63 100644 --- a/event-build.patch +++ b/event-build.patch @@ -36,7 +36,7 @@ index 3a7bb37..3286efa 100644 if (flags & ~(EVDNS_BASE_DISABLE_WHEN_INACTIVE - | EVDNS_BASE_INITIALIZE_NAMESERVERS - | EVDNS_BASE_NAMESERVERS_NO_DEFAULT)) { -+#if LIBEVENT_VERSION_NUMBER >= 0x02011000 ++#if LIBEVENT_VERSION_NUMBER >= 0x02010a00 + | EVDNS_BASE_NAMESERVERS_NO_DEFAULT +#endif + | EVDNS_BASE_INITIALIZE_NAMESERVERS)) { @@ -52,7 +52,7 @@ index a903020..6676cad 100644 PHP_EVENT_REG_CLASS_CONST_LONG(php_event_dns_base_ce, DISABLE_WHEN_INACTIVE, EVDNS_BASE_DISABLE_WHEN_INACTIVE); PHP_EVENT_REG_CLASS_CONST_LONG(php_event_dns_base_ce, INITIALIZE_NAMESERVERS, EVDNS_BASE_INITIALIZE_NAMESERVERS); +#endif -+#if LIBEVENT_VERSION_NUMBER >= 0x02011000 ++#if LIBEVENT_VERSION_NUMBER >= 0x02010a00 PHP_EVENT_REG_CLASS_CONST_LONG(php_event_dns_base_ce, NAMESERVERS_NO_DEFAULT, EVDNS_BASE_NAMESERVERS_NO_DEFAULT); #endif @@ -81,7 +81,7 @@ index 075b24b..1c08c1e 100644 if (flags & ~(EVDNS_BASE_DISABLE_WHEN_INACTIVE - | EVDNS_BASE_INITIALIZE_NAMESERVERS - | EVDNS_BASE_NAMESERVERS_NO_DEFAULT)) { -+#if LIBEVENT_VERSION_NUMBER >= 0x02011000 ++#if LIBEVENT_VERSION_NUMBER >= 0x02010a00 + | EVDNS_BASE_NAMESERVERS_NO_DEFAULT +#endif + | EVDNS_BASE_INITIALIZE_NAMESERVERS)) { @@ -97,7 +97,7 @@ index e593b80..17b66f3 100644 PHP_EVENT_REG_CLASS_CONST_LONG(php_event_dns_base_ce, DISABLE_WHEN_INACTIVE, EVDNS_BASE_DISABLE_WHEN_INACTIVE); PHP_EVENT_REG_CLASS_CONST_LONG(php_event_dns_base_ce, INITIALIZE_NAMESERVERS, EVDNS_BASE_INITIALIZE_NAMESERVERS); +#endif -+#if LIBEVENT_VERSION_NUMBER >= 0x02011000 ++#if LIBEVENT_VERSION_NUMBER >= 0x02010a00 PHP_EVENT_REG_CLASS_CONST_LONG(php_event_dns_base_ce, NAMESERVERS_NO_DEFAULT, EVDNS_BASE_NAMESERVERS_NO_DEFAULT); #endif @@ -110,7 +110,7 @@ index c0e8e7d..07cf7fc 100644 $eventUtilClass = EVENT_NS . '\\EventUtil'; -if ($eventUtilClass::LIBEVENT_VERSION_NUMBER < 0x02010000) { -+if ($eventUtilClass::LIBEVENT_VERSION_NUMBER < 0x02011000) { ++if ($eventUtilClass::LIBEVENT_VERSION_NUMBER < 0x02010a00) { die('skip this test is for libevent version >= 2.1'); } ?> |