Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912772 - media-libs/gd-2.3.3: backport GD_BICUBIC patch
Summary: media-libs/gd-2.3.3: backport GD_BICUBIC patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Codec Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 906585
  Show dependency tree
 
Reported: 2023-08-21 18:15 UTC by Michael Orlitzky
Modified: 2023-08-21 20:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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(+)