commit: a1a95bc603c8ec71ff91e53c7c671897f88692b8 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun May 4 21:02:15 2025 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun May 4 21:02:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a95bc6
sys-block/smp_utils: update EAPI 7 -> 8 Closes: https://bugs.gentoo.org/715840 Signed-off-by: David Seifert <soap <AT> gentoo.org> .../smp_utils/files/smp_utils-0.99-stdint.patch | 22 ++++++++++++++++++++++ ..._utils-0.99.ebuild => smp_utils-0.99-r1.ebuild} | 10 ++++++---- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/sys-block/smp_utils/files/smp_utils-0.99-stdint.patch b/sys-block/smp_utils/files/smp_utils-0.99-stdint.patch new file mode 100644 index 000000000000..b21fe9f4713a --- /dev/null +++ b/sys-block/smp_utils/files/smp_utils-0.99-stdint.patch @@ -0,0 +1,22 @@ +Use C99/stdint.h types over non-portable (deprecated) glibc types +Bug: https://bugs.gentoo.org/715840 + +--- a/lib/mpi_type.h ++++ b/lib/mpi_type.h +@@ -26,6 +26,7 @@ + #ifndef MPI_TYPE_H + #define MPI_TYPE_H + ++#include <stdint.h> + + /******************************************************************************* + * Define MPI_POINTER if it hasn't already been defined. By default MPI_POINTER +@@ -50,7 +51,7 @@ + + + typedef int32_t S32; +-typedef u_int32_t U32; ++typedef uint32_t U32; + + typedef struct _S64 + { diff --git a/sys-block/smp_utils/smp_utils-0.99.ebuild b/sys-block/smp_utils/smp_utils-0.99-r1.ebuild similarity index 87% rename from sys-block/smp_utils/smp_utils-0.99.ebuild rename to sys-block/smp_utils/smp_utils-0.99-r1.ebuild index ca8be23c12ca..77c0244842ca 100644 --- a/sys-block/smp_utils/smp_utils-0.99.ebuild +++ b/sys-block/smp_utils/smp_utils-0.99-r1.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -DESCRIPTION="Utilities for SAS management protocol (SMP)" -HOMEPAGE="http://sg.danny.cz/sg/smp_utils.html" MY_PV="${PV/_beta/b}" MY_PV="${MY_PV/_p/r}" MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Utilities for SAS management protocol (SMP)" +HOMEPAGE="http://sg.danny.cz/sg/smp_utils.html" SRC_URI="http://sg.danny.cz/sg/p/${MY_P}.tar.xz" S="${WORKDIR}/${MY_P}" @@ -16,6 +17,7 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="static-libs" +PATCHES=( "${FILESDIR}"/${P}-stdint.patch ) DOCS=( AUTHORS ChangeLog COVERAGE CREDITS README ) src_configure() {
