summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-19 02:23:10 +0100
committerSam James <sam@gentoo.org>2022-10-19 02:23:17 +0100
commitd9f8ce4f700de0ba53c26148762d4dbdd7240c63 (patch)
tree8ab421b07dacf47942b0536389007131df3172a5 /dev-libs/libtompoly/libtompoly-0.04-r1.ebuild
parentRevert "x11-libs/xcb-util-image: Version bump to 0.4.1" (diff)
downloadgentoo-d9f8ce4f700de0ba53c26148762d4dbdd7240c63.tar.gz
gentoo-d9f8ce4f700de0ba53c26148762d4dbdd7240c63.tar.bz2
gentoo-d9f8ce4f700de0ba53c26148762d4dbdd7240c63.zip
dev-libs/libtompoly: fix build w/ Clang 16, fix LICENSE
Closes: https://bugs.gentoo.org/875527 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libtompoly/libtompoly-0.04-r1.ebuild')
-rw-r--r--dev-libs/libtompoly/libtompoly-0.04-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-libs/libtompoly/libtompoly-0.04-r1.ebuild b/dev-libs/libtompoly/libtompoly-0.04-r1.ebuild
index b21e94a8c54f..b8fd20681358 100644
--- a/dev-libs/libtompoly/libtompoly-0.04-r1.ebuild
+++ b/dev-libs/libtompoly/libtompoly-0.04-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,13 +9,17 @@ DESCRIPTION="portable ISO C library for polynomial basis arithmetic"
HOMEPAGE="https://www.libtom.net/"
SRC_URI="https://github.com/libtom/libtompoly/releases/download/${PV}/ltp-${PV}.tar.bz2"
-LICENSE="WTFPL-2"
+LICENSE="|| ( public-domain WTFPL-2 )"
SLOT="0"
KEYWORDS="amd64 ppc x86"
DEPEND="dev-libs/libtommath"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.04-Fix-Wimplicit-function-declaration.patch
+)
+
src_prepare() {
default
sed -i \