Bug #81484 [Opn->Nab]: libgd-2.3.3 does not provide GD_FLIP_VERTICAL macro

From: Date: Mon, 27 Sep 2021 20:50:44 +0000
Subject: Bug #81484 [Opn->Nab]: libgd-2.3.3 does not provide GD_FLIP_VERTICAL macro
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236873@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81484&edit=1 ID: 81484 Updated by: cmb@php.net Reported by: dpa-bugs at aegee dot org Summary: libgd-2.3.3 does not provide GD_FLIP_VERTICAL macro -Status: Open +Status: Not a bug Type: Bug Package: *Compile Issues PHP Version: 7.4.24 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: This has already been fixed in libgd[1]. [1] <https://github.com/libgd/libgd/pull/766> Previous Comments: ------------------------------------------------------------------------ [2021-09-27 20:06:44] dpa-bugs at aegee dot org Description: ------------ Php can be configured with external or internal gd. External libdb-2.3.0 provides the macros #define GD_FLIP_HORINZONTAL 1 #define GD_FLIP_VERTICAL 2 #define GD_FLIP_BOTH 3 External libgd-2.3.3 does not provide these macros: https://github.com/libgd/libgd/blob/master/src/gd.h When the macros are not provided, php fails to compile with external libgd. Expected result: ---------------- If the compilation is going to fail, this must be checked during ./configure. I do not understand libgd, but php shall be able to use also external gd-2.3.3. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81484&edit=1

« previous php.bugs (#236873) next »