mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
12
sys-fabric/mstflint/files/mstflint-4.29.0-gcc15.patch
Normal file
12
sys-fabric/mstflint/files/mstflint-4.29.0-gcc15.patch
Normal 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
|
||||
{
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user