Projects
home:rottame:vhosts-ng:php80
php8
php8-gd-libgd23.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php8-gd-libgd23.patch of Package php8
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 @@ -94,6 +94,12 @@ #if defined(GD_FLIP_HORINZONTAL) && !defined(GD_FLIP_HORIZONTAL) #define GD_FLIP_HORIZONTAL GD_FLIP_HORINZONTAL #endif +/* libgd >= 2.3 no longer defines the flip modes; same values as the bundled libgd */ +#ifndef GD_FLIP_HORIZONTAL +# define GD_FLIP_HORIZONTAL 1 +# define GD_FLIP_VERTICAL 2 +# define GD_FLIP_BOTH 3 +#endif #ifdef HAVE_GD_FREETYPE static void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int);
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
.