Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't rely on libgd unused constants #7490

Closed
wants to merge 2 commits into from

Conversation

remicollet
Copy link
Contributor

As these are to be removed from libgd (already missing in 2.3.3)

See discussion on libgd/libgd@bdc281e

ping @pierrejoye @cmb69

ext/gd/gd.c Outdated
#define GD_FLIP_VERTICAL 2
#endif
#ifndef GD_FLIP_BOTH
#define GD_FLIP_BOTH 3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make these PHP_GD_FLIP_HORIZONTAL etc and not use the GD constants at all.

@pierrejoye
Copy link
Contributor

pierrejoye commented Sep 13, 2021 via email

@remicollet
Copy link
Contributor Author

Thanks

Squashed and merged in 8.1+ in b364644

@remicollet remicollet closed this Sep 13, 2021
@remicollet remicollet deleted the issue-flip branch September 13, 2021 12:49
@zack6849
Copy link

Is this fix going to be backported to 7.x? I can't compile PHP 7.4 anymore

@cmb69
Copy link
Contributor

cmb69 commented Sep 16, 2021

@zack6849, I think that should be fixed upstream, and a new release done, i.e. gd 2.3.4. This commit is just to cater to the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants