You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
7dd9cd0ed5
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@93629 d073be05-634f-4543-b044-5fe20cf6d1d6
21 lines
1.0 KiB
Diff
21 lines
1.0 KiB
Diff
--- freeimage.c.orig 2004-07-22 08:32:54.000000000 -0500
|
|
+++ freeimage.c 2012-05-25 17:48:52.000000000 -0500
|
|
@@ -134,7 +134,7 @@
|
|
*
|
|
* Every user visible function must have an entry in freeimage_functions[].
|
|
*/
|
|
-function_entry freeimage_functions[] = {
|
|
+zend_function_entry freeimage_functions[] = {
|
|
/* Bitmap management functions */
|
|
PHP_FE(freeimage_load, NULL)
|
|
PHP_FE(freeimage_save, NULL)
|
|
@@ -1828,7 +1828,7 @@
|
|
if (zend_parse_parameters(argc TSRMLS_CC, "lsbb|b", &fif, &filename, &filename_len, &create_new, &read_only, &keep_cache_in_memory) == FAILURE)
|
|
return;
|
|
multibitmap = (FIMULTIBITMAP *)emalloc(sizeof(FIMULTIBITMAP));
|
|
- multibitmap = FreeImage_OpenMultiBitmap((FREE_IMAGE_FORMAT)fif, filename, create_new, read_only, keep_cache_in_memory);
|
|
+ multibitmap = FreeImage_OpenMultiBitmap((FREE_IMAGE_FORMAT)fif, filename, create_new, read_only, keep_cache_in_memory, /* int flags FI_DEFAULT(0) */ 0);
|
|
if (multibitmap != NULL) {
|
|
ZEND_REGISTER_RESOURCE(return_value, multibitmap, le_freeimage_multibitmap);
|
|
} else {
|