public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php-pecl-event] rawhide: v4.0.1
Date: Tue, 01 Dec 2026 10:29:01 GMT	[thread overview]
Message-ID: <179612094114.1.18071034986296784728.rpms-php-pecl-event-445f21cdb9f1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php-pecl-event
Branch : rawhide
Commit : 445f21cdb9f1ba8c5cbaf4bf179b10835e7129d0
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2026-12-01T11:28:53+01:00
Stats  : +8/-44 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/php-pecl-event/c/445f21cdb9f1ba8c5cbaf4bf179b10835e7129d0?branch=rawhide

Log:
v4.0.1

---
diff --git a/.gitignore b/.gitignore
index a24ebd7..99a73c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,4 @@ clog
 /osmanov-pecl-event-63cb86c26995.tar.bz2
 /pecl-event-3.2.0.tar.gz
 /pecl-event-4.0.0.tar.gz
+/pecl-event-4.0.1.tar.gz

diff --git a/15.patch b/15.patch
deleted file mode 100644
index 0653746..0000000
--- a/15.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From aa5f4ad6c8b1e04e3f6e4a5f74195070de55c5b8 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Tue, 1 Dec 2026 10:26:16 +0100
-Subject: [PATCH] Fix #13 failure on big endian
-
----
- classes/event.c | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/classes/event.c b/classes/event.c
-index caec248..45a066d 100644
---- a/classes/event.c
-+++ b/classes/event.c
-@@ -324,6 +324,7 @@ PHP_EVENT_METHOD(Event, set)
- 	zend_fcall_info   fci = {0};
- 	zend_fcall_info_cache fci_cache;
- 	zval             *zarg   = NULL;
-+	short             whatshort;
- 
- 	if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oz!|lf!z!",
- 				&zbase, php_event_base_ce, &pzfd,
-@@ -388,13 +389,14 @@ PHP_EVENT_METHOD(Event, set)
- 		ZVAL_COPY(&e->data, zarg);
- 	}
- 
-+	whatshort = (short)what;
- 	event_get_assignment(e->event, NULL /* the new base is b->base */,
- 			(pzfd ? NULL : &fd),
--			(short *) (what == -1 ? &what : NULL),
-+			(whatshort == -1 ? &whatshort : NULL),
- 			NULL /* ignore old callback */ ,
- 			NULL /* ignore old callback argument */);
- 
--	if (event_assign(e->event, b->base, fd, what, event_cb, (void *)e)) {
-+	if (event_assign(e->event, b->base, fd, whatshort, event_cb, (void *)e)) {
- 		RETURN_FALSE;
- 	}
- 	php_event_bind_base(e, zbase);

diff --git a/php-pecl-event.spec b/php-pecl-event.spec
index 9c0845d..7987fdf 100644
--- a/php-pecl-event.spec
+++ b/php-pecl-event.spec
@@ -15,7 +15,7 @@
 
 %global ini_name         40-%{pecl_name}.ini
 
-%global upstream_version 4.0.0
+%global upstream_version 4.0.1
 #global upstream_prever  RC3
 #global upstream_postver r1
 
@@ -29,13 +29,11 @@ Name:          php-pecl-%{pecl_name}
 Summary:       Provides interface to libevent library
 License:       PHP-3.01
 Version:       %{upstream_version}%{?upstream_prever:~%{upstream_prever}}%{?upstream_postver:+%{upstream_postver}}
-Release:       2%{?dist}
+Release:       1%{?dist}
 %forgemeta
 URL:           %{forgeurl}
 Source0:       %{forgesource}
 
-Patch0:        15.patch
-
 ExcludeArch:   %{ix86}
 
 BuildRequires: gcc
@@ -74,7 +72,6 @@ Documentation: http://php.net/event
 
 %prep
 %forgesetup
-%patch -P0 -p1
 
 # Sanity check, really often broken
 extver=$(sed -n '/#define PHP_EVENT_VERSION/{s/.* "//;s/".*$//;p}' php_event.h)
@@ -145,6 +142,10 @@ TEST_PHP_ARGS="-n $OPTS -d extension=$PWD/modules/%{pecl_name}.so" \
 
 
 %changelog
+* Tue Dec  1 2026 Remi Collet <remi@remirepo.net> - 4.0.1-1
+- update to 4.0.1
+- drop patch merged upstream
+
 * Tue Dec  1 2026 Remi Collet <remi@remirepo.net> - 4.0.0-2
 - add fix for bigendian from
   https://github.com/rosmanov/pecl-event/pull/15

diff --git a/sources b/sources
index fa91dc5..8c23c81 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pecl-event-4.0.0.tar.gz) = 3e27a5ec6ea9cfcc93240fcbfdc728cd222b0f04afe64aa80ad26b83d006e2a20bd2a0e7786c117263ad842e0cfff68b6fea44661fa92171e08be659a2d2c70b
+SHA512 (pecl-event-4.0.1.tar.gz) = edd16bc58079880e652c0e717b79316d63006d816c5e299e3962803e5482233fd53050d88d4d45e873002f8afe89e4acd2bdfcb0e59fd5f9bcb88befa8d67f4b

                 reply	other threads:[~2026-12-01 10:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179612094114.1.18071034986296784728.rpms-php-pecl-event-445f21cdb9f1@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox