4df3b4e029
extension is all that useful considering the ImageMagick- and GD-based alternatives, but if it has to go, it will not be for reasons of being "php-5.3 only". While here change hard-coded default of /usr/share to ${LOCALBASE}/share, define LICENSE and otherwise pet portlint. Approved by: being condemned
22 lines
673 B
Text
22 lines
673 B
Text
--- php_imlib2.h 2004-01-01 18:01:13.000000000 -0500
|
|
+++ php_imlib2.h 2015-04-09 13:10:05.000000000 -0400
|
|
@@ -2,5 +2,4 @@
|
|
#define PHP_IMLIB2_H
|
|
|
|
-#include "X11/Xlib.h"
|
|
#include <Imlib2.h>
|
|
|
|
@@ -86,5 +85,5 @@
|
|
int font_cache_max_size;
|
|
int font_cache_status;
|
|
- char *font_path;
|
|
+ const char *font_path;
|
|
ZEND_END_MODULE_GLOBALS(imlib2)
|
|
|
|
@@ -104,5 +103,5 @@
|
|
#ifdef ZTS
|
|
#define IMLIB2_G(v) TSRMG(imlib2_globals_id, zend_imlib2_globals *, v)
|
|
-#define IMLIB2_LS_FETCH() imlib2_globals *imlib2_globals = ts_resource(gd_imlib_id)
|
|
+#define IMLIB2_LS_FETCH() zend_imlib2_globals *imlib2_globals = ts_resource(imlib2_globals_id)
|
|
#else
|
|
#define IMLIB2_G(v) (imlib2_globals.v)
|