]> git.pld-linux.org Git - packages/php.git/commitdiff
- link cpdf module with -lgd (ugly because of ugly configuration system; needs lib64...
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 4 Apr 2005 21:55:24 +0000 (21:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-cpdf-fix.patch -> 1.7

php-cpdf-fix.patch

index 6808681268075080270a576ad3ae7b2bc5c14221..2e1b5390a0b082edc0f00b5712e31bf47a851a85 100644 (file)
@@ -1,12 +1,10 @@
---- php-4.3.3RC3/ext/cpdf/config.m4.orig       2003-06-26 20:06:46.000000000 +0200
-+++ php-4.3.3RC3/ext/cpdf/config.m4    2003-08-16 16:03:49.062764192 +0200
-@@ -53,7 +53,8 @@
-   PHP_WITH_SHARED
-   if test "$withval" != "no"; then
-     cpdf_withval=$withval
--    PHP_NEW_EXTENSION(cpdf, cpdf.c, $ext_shared,, \\$(GDLIB_CFLAGS))
-+    PHP_NEW_EXTENSION(cpdf, cpdf.c, $shared,, \\$(GDLIB_CFLAGS))
-+    ext_shared=$shared
-     PHP_SUBST(CPDF_SHARED_LIBADD)
-     CPDF_JPEG_TEST
-     CPDF_TIFF_TEST
+--- php-5.0.4/ext/cpdf/config.m4.orig  2004-12-30 08:04:10.000000000 +0100
++++ php-5.0.4/ext/cpdf/config.m4       2005-04-04 22:44:23.169848344 +0200
+@@ -49,6 +49,7 @@
+ if test "$PHP_CPDFLIB" != "no"; then
+   PHP_NEW_EXTENSION(cpdf, cpdf.c, $ext_shared,, \\$(GDLIB_CFLAGS))
++  PHP_ADD_LIBRARY_WITH_PATH(gd, /usr/lib, CPDF_SHARED_LIBADD)
+   PHP_SUBST(CPDF_SHARED_LIBADD)
+   CPDF_JPEG_TEST
+   CPDF_TIFF_TEST
This page took 0.890467 seconds and 4 git commands to generate.