iliaa           Sun Dec 16 17:14:55 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/exif   exif.c 
    /php-src    NEWS 
  Log:
  
  MFB: Fixed bug #43606 (define missing depencies of the exif extension)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/exif/exif.c?r1=1.173.2.5.2.20&r2=1.173.2.5.2.21&diff_format=u
Index: php-src/ext/exif/exif.c
diff -u php-src/ext/exif/exif.c:1.173.2.5.2.20 
php-src/ext/exif/exif.c:1.173.2.5.2.21
--- php-src/ext/exif/exif.c:1.173.2.5.2.20      Sun Jun 10 20:12:45 2007
+++ php-src/ext/exif/exif.c     Sun Dec 16 17:14:54 2007
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: exif.c,v 1.173.2.5.2.20 2007/06/10 20:12:45 iliaa Exp $ */
+/* $Id: exif.c,v 1.173.2.5.2.21 2007/12/16 17:14:54 iliaa Exp $ */
 
 /*  ToDos
  *
@@ -142,7 +142,7 @@
 };
 /* }}} */
 
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173.2.5.2.20 2007/06/10 20:12:45 
iliaa Exp $"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173.2.5.2.21 2007/12/16 17:14:54 
iliaa Exp $"
 
 /* {{{ PHP_MINFO_FUNCTION
  */
@@ -241,12 +241,21 @@
 }
 /* }}} */
 
+/* {{{ exif dependencies */
+static const zend_module_dep exif_module_deps[] = {
+       ZEND_MOD_REQUIRED("standard")
+       #if EXIF_USE_MBSTRING
+       ZEND_MOD_REQUIRED("mbstring")
+       #endif
+       {NULL, NULL, NULL}
+};
+/* }}} */
+
 /* {{{ exif_module_entry
  */
 zend_module_entry exif_module_entry = {
-#if ZEND_MODULE_API_NO >= 20010901
-       STANDARD_MODULE_HEADER,
-#endif
+       STANDARD_MODULE_HEADER_EX, NULL,
+       exif_module_deps,
        "exif",
        exif_functions,
        PHP_MINIT(exif), 
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1033&r2=1.2027.2.547.2.1034&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1033 php-src/NEWS:1.2027.2.547.2.1034
--- php-src/NEWS:1.2027.2.547.2.1033    Thu Dec 13 00:33:26 2007
+++ php-src/NEWS        Sun Dec 16 17:14:54 2007
@@ -3,6 +3,8 @@
 ?? ??? 2008, PHP 5.2.6
 - Fixed weired behavior in CGI parameter parsing. (Dmitry, Hannes Magnusson)
 
+- Fixed bug #43606 (define missing depencies of the exif extension)
+  (crrodriguez at suse dot de)
 - Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url()  
   function). (Ilia)
 - Fixed bug #43533 (escapeshellarg('') returns null). (Ilia)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to