Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 912772

Summary: media-libs/gd-2.3.3: backport GD_BICUBIC patch
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: Current packagesAssignee: Codec Project <codec>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/libgd/libgd/issues/847
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906585    

Description Michael Orlitzky gentoo-dev 2023-08-21 18:15:35 UTC
The GD_BICUBIC and GD_BICUBIC_FIXED interpolation methods were accidentally removed from gd:

  https://github.com/libgd/libgd/issues/847

A small patch brings them back:

  https://github.com/libgd/libgd/commit/a5f5698a

Would it be possible to backport it? Without it, the PHP test suite will fail with the system copy of gd.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-21 18:16:17 UTC
Please do if you can, preoccupied atm
Comment 2 Larry the Git Cow gentoo-dev 2023-08-21 20:46:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=620a28b9417440d1e59ca93178063ba54fd2d55d

commit 620a28b9417440d1e59ca93178063ba54fd2d55d
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2023-08-21 20:22:53 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2023-08-21 20:44:37 +0000

    media-libs/gd: backport GD_BICUBIC fix, update EAPI 7 -> 8
    
    The GD_BICUBIC interpolation methods were accidentally removed
    upstream. They have since been added back, but not in a release.
    We backport the upstream patch for the issue because dev-lang/php
    exposes and tests these methods.
    
    Closes: https://bugs.gentoo.org/912772
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 media-libs/gd/files/gd-2.3.3-GD_BICUBIC.patch | 31 +++++++++
 media-libs/gd/gd-2.3.3-r4.ebuild              | 96 +++++++++++++++++++++++++++
 2 files changed, 127 insertions(+)