Skip to content

Commit 8c55d47

Browse files
author
Joe Orton
committed
MFH: - Fixed bug #36208 (symbol namespace conflicts using bundled gd). (Jakub Moc)
1 parent b90d985 commit 8c55d47

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

NEWS

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ PHP NEWS
2424
- Fixed bug #36224 (date(DATE_ATOM) gives wrong results). (Derick, Hannes
2525
Magnusson)
2626
- Fixed bug #36222 (errorInfo in PDOException is always NULL). (Ilia)
27+
- Fixed bug #36208 (symbol namespace conflicts using bundled gd). (Jakub Moc)
2728
- Fixed bug #36185 (str_rot13(NULL) crash). (Pierre)
2829
- Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of rows
2930
affected by the operation). (Ilia)

main/php_compat.h

+6
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,12 @@
319319
#define term_source php_gd_term_source
320320
#define writewbmp php_gd_writewbmp
321321
#define ZeroDataBlock php_gd_ZeroDataBlock
322+
#define gdCacheCreate php_gd_gdCacheCreate
323+
#define gdCacheDelete php_gd_gdCacheDelete
324+
#define gdCacheGet php_gd_gdCacheGet
325+
#define gdFontCacheSetup php_gd_gdFontCacheSetup
326+
#define gdFontCacheShutdown php_gd_gdFontCacheShutdown
327+
#define gdFreeFontCache php_gd_gdFreeFontCache
322328
#endif /* HAVE_GD_BUNDLED */
323329

324330
/* Define to specify how much context to retain around the current parse

0 commit comments

Comments
 (0)