[PECL-CVS] [pecl-processing-rrd] master: release: prepare 2.0.4 (#9)

[email protected] (Thomas Vincent via GitHub)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Thomas Vincent (somethingwithproof)
Committer: GitHub (web-flow)
Pusher: MirKml
Date: 2026-08-20T14:07:33+02:00

Commit: https://github.com/php/pecl-processing-rrd/commit/e7002847af5769a4330c525101b78a796851a974
Raw diff: https://github.com/php/pecl-processing-rrd/commit/e7002847af5769a4330c525101b78a796851a974.diff

release: prepare 2.0.4 (#9)

Bumps package.xml and PHP_RRD_VERSION to 2.0.4 so the PHP 8.4/8.5 build
fix from #4 can ship; the last release (2.0.3) predates it. Also corrects
the 'librdd' typo in the config.m4 probe message.

Validated in Docker: pecl package + pecl install produce a working 2.0.4
that reports its version correctly and passes the test suite on 8.1-8.5.

Signed-off-by: Thomas Vincent <[email protected]>

Changed paths:
  M  config.m4
  M  package.xml
  M  php_rrd.h


Diff:

diff --git a/config.m4 b/config.m4
index 43ad2e1..e94ec97 100644
--- a/config.m4
+++ b/config.m4
@@ -17,7 +17,7 @@ fi
 
 if test "$PHP_RRD" != "no"; then
   AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-  AC_MSG_CHECKING(for librdd)
+  AC_MSG_CHECKING(for librrd)
   if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists librrd && $PKG_CONFIG librrd --atleast-version 1.3.0; then
     AC_MSG_RESULT(found)
     LIBRRD_CFLAGS=`$PKG_CONFIG librrd --cflags`
diff --git a/package.xml b/package.xml
index e6c2a3a..7f5eb9f 100644
--- a/package.xml
+++ b/package.xml
@@ -11,9 +11,9 @@
   <active>yes</active>
  </lead>
  <!-- latest release information -->
- <date>2021-04-22</date>
+ <date>2026-08-19</date>
  <version>
-  <release>2.0.3</release>
+  <release>2.0.4</release>
   <api>1.1</api>
  </version>
  <stability>
@@ -22,7 +22,8 @@
  </stability>
  <license>BSD</license>
  <notes><![CDATA[
-  - fix windows build - thanks Christoph <[email protected]>
+  - fix build on PHP 8.4 and 8.5: php_smart_string.h moved to Zend/zend_smart_string.h - thanks Remi
+  - fix incompatible pointer types on 32-bit builds - thanks Remi
   ]]>
  </notes>
  <contents>
@@ -86,6 +87,23 @@
  <providesextension>rrd</providesextension>
  <extsrcrelease />
  <changelog>
+  <release>
+   <version>
+    <release>2.0.4</release>
+    <api>1.1</api>
+   </version>
+   <stability>
+    <release>stable</release>
+    <api>stable</api>
+   </stability>
+   <license>BSD</license>
+   <notes><![CDATA[
+    - fix build on PHP 8.4 and 8.5: php_smart_string.h moved to Zend/zend_smart_string.h - thanks Remi
+    - fix incompatible pointer types on 32-bit builds - thanks Remi
+   ]]>
+   </notes>
+   <date>2026-08-19</date>
+  </release>
   <release>
    <version>
     <release>2.0.3</release>
diff --git a/php_rrd.h b/php_rrd.h
index 3471e3e..c341feb 100644
--- a/php_rrd.h
+++ b/php_rrd.h
@@ -14,7 +14,7 @@
 extern zend_module_entry rrd_module_entry;
 #define phpext_rrd_ptr &rrd_module_entry
 
-#define PHP_RRD_VERSION "2.0.3"
+#define PHP_RRD_VERSION "2.0.4"
 
 #ifdef ZTS
 #include "TSRM.h"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.