]> git.pld-linux.org Git - packages/php.git/blob - php-gd_imagerotate_enable.patch
- cosmetics
[packages/php.git] / php-gd_imagerotate_enable.patch
1 --- ./ext/gd/gd.c.org   2004-08-17 01:08:56.000000000 +0200
2 +++ ./ext/gd/gd.c       2004-10-18 14:24:15.797275104 +0200
3 @@ -209,8 +209,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 @@ -416,11 +416,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         /* Section Filters */
25         REGISTER_LONG_CONSTANT("IMG_FILTER_NEGATE", IMAGE_FILTER_NEGATE, CONST_CS | CONST_PERSISTENT);
26 @@ -1191,7 +1191,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 @@ -1221,7 +1220,6 @@
35         }
36  }
37  /* }}} */
38 -#endif
39  
40  #if HAVE_GD_IMAGESETTILE
41  /* {{{ proto bool imagesettile(resource image, resource tile)
42 --- ./ext/gd/php_gd.h.org       2004-01-08 18:32:08.000000000 +0100
43 +++ ./ext/gd/php_gd.h   2004-10-18 14:24:34.372451248 +0200
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.026881 seconds and 3 git commands to generate.