Projects
home:rottame:vhosts-ng:php73
php7
php7-gd-libgd23.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php7-gd-libgd23.patch of Package php7
ext/gd: build against libgd >= 2.3, which no longer defines GD_FLIP_* (used only for the IMG_FLIP_* constants and the imageflip() switch). --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -62,6 +62,12 @@ #include <gd.h> #include <gd_errors.h> +/* libgd >= 2.3 no longer defines the flip modes; same values as the bundled libgd */ +#ifndef GD_FLIP_HORINZONTAL +# define GD_FLIP_HORINZONTAL 1 +# define GD_FLIP_VERTICAL 2 +# define GD_FLIP_BOTH 3 +#endif #include <gdfontt.h> /* 1 Tiny font */ #include <gdfonts.h> /* 2 Small font */ #include <gdfontmb.h> /* 3 Medium bold font */
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.