cvs: php-src /ext/gd gd.c
| From: | Moriyoshi Koizumi | Date: | Mon, 15 Sep 2003 07:27:19 +0000 |
| Subject: | cvs: php-src /ext/gd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23778@lists.php.net to get a copy of this message | ||
moriyoshi Mon Sep 15 03:27:19 2003 EDT
Modified files:
/php-src/ext/gd gd.c
Log:
FREETYPE_PATCH is not always defined.
# will likely fix Sebastian's build :)
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.278 php-src/ext/gd/gd.c:1.279
--- php-src/ext/gd/gd.c:1.278 Tue Sep 9 15:08:30 2003
+++ php-src/ext/gd/gd.c Mon Sep 15 03:27:18 2003
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.278 2003/09/09 19:08:30 moriyoshi Exp $ */
+/* $Id: gd.c,v 1.279 2003/09/15 07:27:18 moriyoshi Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -476,7 +476,11 @@
php_info_print_table_row(2, "FreeType Linkage", "with freetype");
{
char tmp[256];
+#ifdef FREETYPE_PATCH
snprintf(tmp, sizeof(tmp), "%d.%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH);
+#else
+ snprintf(tmp, sizeof(tmp), "%d.%d", FREETYPE_MAJOR, FREETYPE_MINOR);
+#endif
php_info_print_table_row(2, "FreeType Version", tmp);
}
#elif HAVE_LIBTTF