php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81484 libgd-2.3.3 does not provide GD_FLIP_VERTICAL macro
Submitted: 2021-09-27 20:06 UTC Modified: 2021-09-27 20:50 UTC
From: dpa-bugs at aegee dot org Assigned: cmb (profile)
Status: Not a bug Package: *Compile Issues
PHP Version: 7.4.24 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dpa-bugs at aegee dot org
New email:
PHP Version: OS:

 

 [2021-09-27 20:06 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-09-27 20:50 UTC] cmb@php.net
-Status: Open +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2021-09-27 20:50 UTC] cmb@php.net
This has already been fixed in libgd[1].

[1] <https://github.com/libgd/libgd/pull/766>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 23:01:30 2024 UTC