diff options
Diffstat (limited to 'sys-fabric')
-rw-r--r-- | sys-fabric/mstflint/files/mstflint-4.29.0-gcc15.patch | 12 | ||||
-rw-r--r-- | sys-fabric/mstflint/mstflint-4.29.0_p1.ebuild | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/sys-fabric/mstflint/files/mstflint-4.29.0-gcc15.patch b/sys-fabric/mstflint/files/mstflint-4.29.0-gcc15.patch new file mode 100644 index 000000000000..19d010649ab2 --- /dev/null +++ b/sys-fabric/mstflint/files/mstflint-4.29.0-gcc15.patch @@ -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 + { diff --git a/sys-fabric/mstflint/mstflint-4.29.0_p1.ebuild b/sys-fabric/mstflint/mstflint-4.29.0_p1.ebuild index 0588270f7aa7..c66b8fea31e6 100644 --- a/sys-fabric/mstflint/mstflint-4.29.0_p1.ebuild +++ b/sys-fabric/mstflint/mstflint-4.29.0_p1.ebuild @@ -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 |