From d2eff8f756f7c5e6753f9a2e63bfd0c384dc2e89 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 19 Jan 2023 16:28:22 +0000 Subject: [PATCH] Ensure that x76_64 and i686 versions of bfd_stdint.h are the same. Resolves: #2162328 --- binutils-no-comment-in-bfd-stdint.patch | 30 +++++++++++++++++++++++++ binutils.spec | 9 +++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 binutils-no-comment-in-bfd-stdint.patch diff --git a/binutils-no-comment-in-bfd-stdint.patch b/binutils-no-comment-in-bfd-stdint.patch new file mode 100644 index 0000000..c0e8214 --- /dev/null +++ b/binutils-no-comment-in-bfd-stdint.patch @@ -0,0 +1,30 @@ +diff -rup binutils.orig/bfd/configure binutils-2.35.2/bfd/configure +--- binutils.orig/bfd/configure 2023-01-19 12:17:21.293513059 +0000 ++++ binutils-2.35.2/bfd/configure 2023-01-19 12:27:25.783974084 +0000 +@@ -18921,11 +18921,6 @@ _LT_EOF + esac + done ;; + "bfd_stdint.h":C) +-if test "$GCC" = yes; then +- echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h +-else +- echo "/* generated for $CC */" > tmp-stdint.h +-fi + + sed 's/^ *//' >> tmp-stdint.h < tmp-stdint.h +-else +- echo "/* generated for $CC */" > tmp-stdint.h +-fi + + sed 's/^ *//' >> tmp-stdint.h < - 2.35.2-36 +- Ensure that x76_64 and i686 versions of bfd_stdint.h are the same. (#2162328) + * Tue Jan 10 2023 Nick Clifton - 2.35.2-35 - Extend fix handling symbol versioning with LTO plugins. (#2148469)