textproc/pecl-xlswriter: Fix build with PHP 8.6
--- kernel/common.lo ---
/bin/sh /wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/libtool --tag=CC --mode=compile cc -I. -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0 -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/include -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/library/libxlsx/include -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/library/libxlsx/internal -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/library/libxlsx/third_party/minizip -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/library/libexpat/expat/lib -DHAVE_CONFIG_H -O2 -pipe -I/usr/local/include/minizip -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DNOCRYPT -DNOUNCRYPT -DXML_POOR_ENTROPY -DUSE_DTOA_LIBRARY -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/kernel/common.c -o kernel/common.lo -MMD -MF kernel/common.dep -MT kernel/common.lo
libtool: compile: cc -I. -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0 -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/include -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/library/libxlsx/include -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/library/libxlsx/internal -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/library/libxlsx/third_party/minizip -I/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/library/libexpat/expat/lib -DHAVE_CONFIG_H -O2 -pipe -I/usr/local/include/minizip -fstack-protector-strong -fno-strict-aliasing -D_GNU_SOURCE -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DNOCRYPT -DNOUNCRYPT -DXML_POOR_ENTROPY -DUSE_DTOA_LIBRARY -DZEND_COMPILE_DL_EXT=1 -c /wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/kernel/common.c -MMD -MF kernel/common.dep -MT kernel/common.lo -fPIC -DPIC -o kernel/.libs/common.o
/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/kernel/common.c:97:50: error: too few arguments to function call, expected 4, have 3
97 | int yearLocal = php_idate('Y', timestamp, 0);
| ~~~~~~~~~ ^
/usr/local/include/php/ext/date/php_date.h:130:13: note: 'php_idate' declared here
130 | PHPAPI bool php_idate(char format, time_t ts, bool localtime, int *result);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/kernel/common.c:98:50: error: too few arguments to function call, expected 4, have 3
98 | int monthLocal = php_idate('m', timestamp, 0);
| ~~~~~~~~~ ^
/usr/local/include/php/ext/date/php_date.h:130:13: note: 'php_idate' declared here
130 | PHPAPI bool php_idate(char format, time_t ts, bool localtime, int *result);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/kernel/common.c:99:50: error: too few arguments to function call, expected 4, have 3
99 | int dayLocal = php_idate('d', timestamp, 0);
| ~~~~~~~~~ ^
/usr/local/include/php/ext/date/php_date.h:130:13: note: 'php_idate' declared here
130 | PHPAPI bool php_idate(char format, time_t ts, bool localtime, int *result);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/kernel/common.c:100:50: error: too few arguments to function call, expected 4, have 3
100 | int hourLocal = php_idate('H', timestamp, 0);
| ~~~~~~~~~ ^
/usr/local/include/php/ext/date/php_date.h:130:13: note: 'php_idate' declared here
130 | PHPAPI bool php_idate(char format, time_t ts, bool localtime, int *result);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/kernel/common.c:101:50: error: too few arguments to function call, expected 4, have 3
101 | int minuteLocal = php_idate('i', timestamp, 0);
| ~~~~~~~~~ ^
/usr/local/include/php/ext/date/php_date.h:130:13: note: 'php_idate' declared here
130 | PHPAPI bool php_idate(char format, time_t ts, bool localtime, int *result);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/textproc/pecl-xlswriter/work-php86/xlswriter-3.0.0/kernel/common.c:102:50: error: too few arguments to function call, expected 4, have 3
102 | int secondLocal = php_idate('s', timestamp, 0);
| ~~~~~~~~~ ^
/usr/local/include/php/ext/date/php_date.h:130:13: note: 'php_idate' declared here
130 | PHPAPI bool php_idate(char format, time_t ts, bool localtime, int *result);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
*** [kernel/common.lo] Error code 1
Reference: https://pkg-status.freebsd.org/beefy23/data/150amd64-default/0c6548094723/logs/php86-pecl-xlswriter-3.0.0.log
Obtained from: https://github.com/viest/php-ext-xlswriter/commit/895ae9c8cf91acb9fc7466dc4b00a0534b05aa94bffcac5003Port details
textproc/pecl-xlswriter 3.0.0
Efficient and fast xlsx file extension
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: php82-pecl-xlswriter 3.0.0, php83-pecl-xlswriter 3.0.0, php84-pecl-xlswriter 3.0.0, php85-pecl-xlswriter 3.0.0, php86-pecl-xlswriter 3.0.0
- Upstream
- up to date
- Last update
- to 3.0.0 · bffcac5003
- Quarterly
- 2026Q4: php82-pecl-xlswriter 3.0.0, php83-pecl-xlswriter 3.0.0, php84-pecl-xlswriter 3.0.0, php85-pecl-xlswriter 3.0.0, php86-pecl-xlswriter 3.0.0
- WWW
- https://pecl.php.net/package/xlswriter
- Links
- cgit · VuXML
Install
- Package
# pkg install php82-pecl-xlswriter# pkg install php83-pecl-xlswriter# pkg install php84-pecl-xlswriter# pkg install php85-pecl-xlswriter# pkg install php86-pecl-xlswriterinstalls php82-pecl-xlswriter 3.0.0, php83-pecl-xlswriter 3.0.0, php84-pecl-xlswriter 3.0.0, php85-pecl-xlswriter 3.0.0, php86-pecl-xlswriter 3.0.0 fromlatest; fromquarterly(2026Q4) php82-pecl-xlswriter 3.0.0, php83-pecl-xlswriter 3.0.0, php84-pecl-xlswriter 3.0.0, php85-pecl-xlswriter 3.0.0, php86-pecl-xlswriter 3.0.0- Port
# cd /usr/ports/textproc/pecl-xlswriter && make install clean- Size
- 343 KiB download · 999 KiB installed
- Depends on
- lang/php82 8.2.35_2, math/libxlsxwriter 1.2.4
- License
- BSD2CLAUSE
- pkg-message
Shown after installing
This file has been added to automatically load the installed extension: /usr/local/etc/php/ext-20-xlswriter.ini.sample
- Note
- Size, dependencies, options and messages are those of php82-pecl-xlswriter.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 3.0.0 | 3.0.0 | – |
| FreeBSD 15 | 3.0.0 | 3.0.0 | – |
| FreeBSD 14 | 3.0.0 | 3.0.0 | 3.0.0 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 3.0.0 | 3.0.0 | – |
| FreeBSD 14 | 3.0.0 | 3.0.0 | 3.0.0 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 3.0.0.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (10)
textproc/pecl-xlswriter: Update to 3.0.0 Changes: https://pecl.php.net/package-changelog.php?package=xlswriter https://github.com/viest/php-ext-xlswriter/releases33d99bd6ae
textproc/pecl-xlswriter: Update to 2.0.3 Changes: https://pecl.php.net/package-changelog.php?package=xlswriter https://github.com/viest/php-ext-xlswriter/releasesa50e7fb040
*/*php86*: Sunrise Please DO NOT use this version in production, it is an early test version. For upgrade notes please visit: https://github.com/php/php-src/blob/php-8.6.0alpha1/UPGRADING Changelog: https://github.com/php/php-src/blob/php-8.6.0alpha1/NEWS63b6120db0
textproc/pecl-xlswriter: Update to 2.0.1 Changes: https://pecl.php.net/package-changelog.php?package=xlswriter https://github.com/viest/php-ext-xlswriter/releasescf2f766bbf
textproc/pecl-xlswriter: Use math/libxlsxwriter instead of the bundled one - Bump PORTREVISION for dependency and package changef979584420
textproc/pecl-xlswriter: Update to 2.0.0 Changes: https://pecl.php.net/package-changelog.php?package=xlswriter https://github.com/viest/php-ext-xlswriter/releasesaa53b9e589
textproc/pecl-xlswriter: Update to 1.5.8 Changes: https://pecl.php.net/package-changelog.php?package=xlswriter https://github.com/viest/php-ext-xlswriter/releases8e5e2668e6
textproc/pecl-xlswriter: Update to 1.5.7 Changes: https://pecl.php.net/package-changelog.php?package=xlswriter https://github.com/viest/php-ext-xlswriter/releases584224684e
textproc/pecl-xlswriter: Add pecl-xlswriter 1.5.5 xlswriter is a PHP C Extension that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.9ade9649c4