diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-01-05 22:39:06 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-01-05 22:48:10 +0100 |
commit | 1c0f5f5138d2ee1c140292113db1beb73ed96cd9 (patch) | |
tree | 1e4a9a93cb698e95195d3e2cf71bd63dc208591d /net-analyzer | |
parent | net-irc/polari: keyword 45.0 for ~arm64 (diff) | |
download | gentoo-1c0f5f5138d2ee1c140292113db1beb73ed96cd9.tar.gz gentoo-1c0f5f5138d2ee1c140292113db1beb73ed96cd9.tar.bz2 gentoo-1c0f5f5138d2ee1c140292113db1beb73ed96cd9.zip |
net-analyzer/rrdtool: fix gcc14 build
Closes: https://bugs.gentoo.org/919448
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/rrdtool/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/rrdtool/rrdtool-1.8.0-r4.ebuild (renamed from net-analyzer/rrdtool/rrdtool-1.8.0-r3.ebuild) | 17 |
2 files changed, 13 insertions, 5 deletions
diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest index e3ece643a7cd..457a1b51cd3a 100644 --- a/net-analyzer/rrdtool/Manifest +++ b/net-analyzer/rrdtool/Manifest @@ -1 +1,2 @@ +DIST rrdtool-1.8.0-gcc14.patch.gz 10775 BLAKE2B 9b8eeb829acec097bf06e3cad2fb4ca37a5d351fb3eca5767066d8cfb70c176c9d3b9265a721958b97e02f1c267b8b3a4b61ad35b0ca06199cc45c8c92f7dc09 SHA512 576be3d94a56edbc8738a32b934d30d8e45eb3e801854f73a3a77f5bd22bdd4618f68ea079f37992f38a9b756cac96e6cb48eeb5cceb4ff30139a2d77c9b0afe DIST rrdtool-1.8.0.tar.gz 2955398 BLAKE2B d821d662af432c53760bc0e9636b84d9209933a810fa71091fc4c2b44518c89c7ad509bde7955d952279ee41464c3bfa4f631662dde61b6fff46699bb382653f SHA512 8ae6f94d119e8d0e1ba7f2d0738f1ba008a4880d1022f1c0c5436f662d961fceec5c42e01c241493ece3d6f55c60fd7d1d264f93e678f3cf1251201dcde027c1 diff --git a/net-analyzer/rrdtool/rrdtool-1.8.0-r3.ebuild b/net-analyzer/rrdtool/rrdtool-1.8.0-r4.ebuild index 3808ba2d4164..46d30cce0ce6 100644 --- a/net-analyzer/rrdtool/rrdtool-1.8.0-r3.ebuild +++ b/net-analyzer/rrdtool/rrdtool-1.8.0-r4.ebuild @@ -4,10 +4,11 @@ EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) -PYTHON_COMPAT=( python3_{9..11} ) -DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_EXT=1 DISTUTILS_OPTIONAL="true" DISTUTILS_SINGLE_IMPL="true" +DISTUTILS_USE_PEP517="setuptools" GENTOO_DEPEND_ON_PERL="no" MY_P="${P/_/-}" @@ -15,7 +16,10 @@ inherit autotools lua perl-module distutils-r1 flag-o-matic DESCRIPTION="A data logging and graphing system for time series data" HOMEPAGE="https://oss.oetiker.ch/rrdtool/" -SRC_URI="https://github.com/oetiker/${PN}-1.x/releases/download/v${PV}/${P}.tar.gz" +SRC_URI=" + https://github.com/oetiker/${PN}-1.x/releases/download/v${PV}/${P}.tar.gz + https://dev.gentoo.org/~conikost/distfiles/patches/${PN}-1.8.0-gcc14.patch.gz +" S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" @@ -71,10 +75,10 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}"/${PN}-1.4.9-disable-rrd_graph-perl.patch "${FILESDIR}"/${PN}-1.7.0-disable-rrd_graph-cgi.patch "${FILESDIR}"/${PN}-1.7.1-configure.ac.patch - "${FILESDIR}"/${P}-configure-clang16.patch + "${FILESDIR}"/${PN}-1.8.0-configure-clang16.patch + "${WORKDIR}"/${PN}-1.8.0-gcc14.patch ) pkg_setup() { @@ -114,6 +118,9 @@ src_prepare() { sed "${mysedargs[@]}" || die fi + # Temporarily disable rpn test, will be enabled with > 1.8.0 release. + sed -e 's/rpn2//' -i tests/Makefile.am || die + eautoreconf } |