sys-fabric/mstflint: Remove Werror #939944, gcc15 fix #939922

Closes: https://bugs.gentoo.org/939944
Closes: https://bugs.gentoo.org/939922
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
Patrick McLean
2024-09-23 10:33:55 -07:00
parent 45ce21de0b
commit 34bd35d33f
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/resourcetools/resourcedump_lib/src/filters/include_exclude_segments_filter.h b/resourcetools/resourcedump_lib/src/filters/include_exclude_segments_filter.h
index 2d1e84e2..b6e03fed 100644
--- a/resourcetools/resourcedump_lib/src/filters/include_exclude_segments_filter.h
+++ b/resourcetools/resourcedump_lib/src/filters/include_exclude_segments_filter.h
@@ -38,6 +38,7 @@
#include <memory>
#include <vector>
#include <sstream>
+#include <cstdint>
namespace mft
{

View File

@@ -35,6 +35,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}/mstflint-4.29.0-build-system.patch"
"${FILESDIR}/mstflint-4.29.0-gcc15.patch"
)
src_prepare() {
@@ -47,6 +48,10 @@ src_prepare() {
sed -e 's:_LDFLAGS = :_LDFLAGS = $(LDFLAGS) :' \
-i */Makefile.am mstdump/crd_main/Makefile.am || die
# https://bugs.gentoo.org/939944
sed -r -e 's:-Werror(=[a-zA-Z0-9-]+|) ::' \
-i configure.ac ext_libs/json/Makefile.am || die
printf -- '#define TOOLS_GIT_SHA "%s"' "${EGIT_COMMIT}" > ./common/gitversion.h || die
eautoreconf