diff options
author | Remi Collet <remi@remirepo.net> | 2023-12-28 09:37:45 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-12-28 09:37:45 +0100 |
commit | 682b9bf644231f46327a4adfb06f864aa8d0c3de (patch) | |
tree | 485cf970a088a7ab9ea2b3632350639795de8747 /event-build.patch | |
parent | 757719a6ca5befc5f60765d1d46b762d4be73599 (diff) |
update to 3.1.0
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'); } ?> |