]> git.pld-linux.org Git - packages/php.git/blob - php-gd_imagerotate_enable.patch
- release 1.2 ro rebuild with new imap
[packages/php.git] / php-gd_imagerotate_enable.patch
1 --- ./ext/gd/gd.c.org   Fri May 21 01:38:05 2004
2 +++ ./ext/gd/gd.c       Thu Aug 12 14:48:38 2004
3 @@ -162,8 +162,8 @@
4         PHP_FE(imagecopyresampled,                                              NULL)
5  #endif
6  
7 -#ifdef HAVE_GD_BUNDLED
8         PHP_FE(imagerotate,                                                     NULL)
9 +#ifdef HAVE_GD_BUNDLED
10         PHP_FE(imageantialias,                                                  NULL)
11  #endif
12  
13 @@ -361,11 +361,11 @@
14  #ifdef GD2_FMT_COMPRESSED
15         REGISTER_LONG_CONSTANT("IMG_GD2_COMPRESSED", GD2_FMT_COMPRESSED, CONST_CS | CONST_PERSISTENT);
16  #endif
17 -#if HAVE_GD_BUNDLED
18         REGISTER_LONG_CONSTANT("IMG_EFFECT_REPLACE", gdEffectReplace, CONST_CS | CONST_PERSISTENT);
19         REGISTER_LONG_CONSTANT("IMG_EFFECT_ALPHABLEND", gdEffectAlphaBlend, CONST_CS | CONST_PERSISTENT);
20         REGISTER_LONG_CONSTANT("IMG_EFFECT_NORMAL", gdEffectNormal, CONST_CS | CONST_PERSISTENT);
21         REGISTER_LONG_CONSTANT("IMG_EFFECT_OVERLAY", gdEffectOverlay, CONST_CS | CONST_PERSISTENT);
22 +#if HAVE_GD_BUNDLED
23         REGISTER_LONG_CONSTANT("GD_BUNDLED", 1, CONST_CS | CONST_PERSISTENT);
24  #else
25         REGISTER_LONG_CONSTANT("GD_BUNDLED", 0, CONST_CS | CONST_PERSISTENT);
26 @@ -1121,7 +1121,6 @@
27  /* }}} */
28  #endif
29  
30 -#ifdef HAVE_GD_BUNDLED
31  /* {{{ proto resource imagerotate(resource src_im, float angle, int bgdcolor)
32     Rotate an image using a custom angle */
33  PHP_FUNCTION(imagerotate)
34 @@ -1118,7 +1117,6 @@
35         }
36  }
37  /* }}} */
38 -#endif
39  
40  #if HAVE_GD_IMAGESETTILE
41  /* {{{ proto int imagesettile(resource image, resource tile)
42 --- ./ext/gd/php_gd.h.org       Mon Mar 31 10:49:30 2003
43 +++ ./ext/gd/php_gd.h   Thu Aug 12 14:46:23 2004
44 @@ -103,8 +103,8 @@
45  PHP_FUNCTION(imagecopyresampled);
46  #endif
47  
48 -#ifdef HAVE_GD_BUNDLED
49  PHP_FUNCTION(imagerotate);
50 +#ifdef HAVE_GD_BUNDLED
51  PHP_FUNCTION(imageantialias);
52  #endif
53  
This page took 0.128726 seconds and 3 git commands to generate.