summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2021-08-15 14:13:11 +0200
committerSam James <sam@gentoo.org>2021-08-19 00:34:19 +0100
commita7e5a7189c28fd8f5ff298e6b6cab3791fbe5150 (patch)
treee3693bf960dc0051d5e614a236b23048eb0977c4 /media-libs/oidn
parentmedia-gfx/blender: Bump to latest LTS point releases (diff)
downloadgentoo-a7e5a7189c28fd8f5ff298e6b6cab3791fbe5150.tar.gz
gentoo-a7e5a7189c28fd8f5ff298e6b6cab3791fbe5150.tar.bz2
gentoo-a7e5a7189c28fd8f5ff298e6b6cab3791fbe5150.zip
media-libs/oidn: Fix building with glibc-2.34
Closes: https://bugs.gentoo.org/806514 Signed-off-by: Sebastian Parborg <darkdefende@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/oidn')
-rw-r--r--media-libs/oidn/Manifest1
-rw-r--r--media-libs/oidn/oidn-1.3.0.ebuild3
2 files changed, 4 insertions, 0 deletions
diff --git a/media-libs/oidn/Manifest b/media-libs/oidn/Manifest
index d2d55abdbfb2..be014d08b06e 100644
--- a/media-libs/oidn/Manifest
+++ b/media-libs/oidn/Manifest
@@ -1 +1,2 @@
+DIST oidn-1.3.0-glibc.patch.bz2 6359 BLAKE2B 743cd87f92bc89182de716254f89136e6907bd18ec0d589b3338e7e89a364797cecd8d398c90acca0df74a1390d06ece7c44864710c9819c370b3922843a6300 SHA512 b1f132fbdadef9b5efa3769dcceba34b7c2619030a79314146861b58e81e5757f3beed247670ccea8886f3a32819eba4433481d3bac27cd29031546093ec58d8
DIST oidn-1.3.0.tar.gz 36763571 BLAKE2B 395d7aafd87babf7d2414ed940dd85adf4a488df2138e0e63cc82ac06088dd969879de73d79bead4b35bba0045081ee637b72f2a98770dbfc928ffe7c25da78a SHA512 19de3cf11b9d436ee6f33ff020187a4cdc05da5f43c47509f715ca99e4276bfb64425d0a48f3a6f0569c8c6701b46a7e35378f371fdbacc0b6d488e113ffe17c
diff --git a/media-libs/oidn/oidn-1.3.0.ebuild b/media-libs/oidn/oidn-1.3.0.ebuild
index 7e79c737d50f..707a8eebfe24 100644
--- a/media-libs/oidn/oidn-1.3.0.ebuild
+++ b/media-libs/oidn/oidn-1.3.0.ebuild
@@ -16,6 +16,7 @@ if [[ ${PV} = *9999 ]]; then
EGIT_BRANCH="master"
else
SRC_URI="https://github.com/OpenImageDenoise/${PN}/releases/download/v${PV}/${P}.src.tar.gz -> ${P}.tar.gz"
+ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-glibc.patch.bz2"
KEYWORDS="~amd64 ~x86"
fi
@@ -34,6 +35,8 @@ DEPEND="
CMAKE_BUILD_TYPE=Release
+PATCHES=( "${WORKDIR}"/oidn-1.3.0-glibc.patch )
+
pkg_setup() {
python-single-r1_pkg_setup
}