pencil2d: patch for glibc 2.36

This commit is contained in:
Đoàn Trần Công Danh 2022-12-03 15:16:39 +07:00
parent f00d8d5066
commit 89be090658

View file

@ -11,5 +11,13 @@ maintainer="ghost <gh0st@vivaldi.net>"
license="GPL-2.0-only"
homepage="https://pencil2d.org/"
changelog="https://raw.githubusercontent.com/pencil2d/pencil/master/ChangeLog.md"
distfiles="https://github.com/${pkgname}/pencil/archive/v${version}.tar.gz"
checksum=9dd1f7dd35a86dea33ec4415ac92e7df146309a1f52139c908cbd8b4767e53ff
distfiles="https://github.com/${pkgname}/pencil/archive/v${version}.tar.gz
https://github.com/catchorg/Catch2/releases/download/v2.13.10/catch.hpp"
checksum="9dd1f7dd35a86dea33ec4415ac92e7df146309a1f52139c908cbd8b4767e53ff
3725c0f0a75f376a5005dde31ead0feb8f7da7507644c201b814443de8355170"
skip_extraction="catch.hpp"
post_extract() {
local _srcdir="${XBPS_SRCDISTDIR}/${pkgname}-${version}"
cp ${_srcdir}/catch.hpp tests/src/catch.hpp
}