From 1331637681273dc8391d7a7caa6175405dceb735 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Mar 2024 23:41:30 +0000 Subject: gentoo auto-resync : 01:03:2024 - 23:41:29 --- dev-libs/elfutils/Manifest | 14 +-- dev-libs/elfutils/elfutils-0.189-r4.ebuild | 129 --------------------- dev-libs/elfutils/elfutils-0.190.ebuild | 2 +- dev-libs/elfutils/elfutils-0.191.ebuild | 120 +++++++++++++++++++ .../files/elfutils-0.189-PaX-support.patch | 26 ----- .../files/elfutils-0.189-clang16-tests.patch | 26 ----- .../files/elfutils-0.189-configure-bashisms.patch | 49 -------- .../elfutils/files/elfutils-0.189-lld-17.patch | 31 ----- ...elfutils-0.189-skip-DT_RELR-failing-tests.patch | 39 ------- ...0.189-tests-run-lfs-symbols.sh-needs-gawk.patch | 41 ------- 10 files changed, 125 insertions(+), 352 deletions(-) delete mode 100644 dev-libs/elfutils/elfutils-0.189-r4.ebuild create mode 100644 dev-libs/elfutils/elfutils-0.191.ebuild delete mode 100644 dev-libs/elfutils/files/elfutils-0.189-PaX-support.patch delete mode 100644 dev-libs/elfutils/files/elfutils-0.189-clang16-tests.patch delete mode 100644 dev-libs/elfutils/files/elfutils-0.189-configure-bashisms.patch delete mode 100644 dev-libs/elfutils/files/elfutils-0.189-lld-17.patch delete mode 100644 dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch delete mode 100644 dev-libs/elfutils/files/elfutils-0.189-tests-run-lfs-symbols.sh-needs-gawk.patch (limited to 'dev-libs/elfutils') diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest index 8b5781d2c029..f8fd8c1dbda1 100644 --- a/dev-libs/elfutils/Manifest +++ b/dev-libs/elfutils/Manifest @@ -1,15 +1,9 @@ -AUX elfutils-0.189-PaX-support.patch 1058 BLAKE2B 9d7980eedf6250b848923eddb86d918ac983b348f77b3816ba77e1a663cc637ec02670e062b005aa010fa50f45fb953b1f2ef033bca6381773793231eb3cef06 SHA512 1bfb390ff4fb9ba2cbaf677bb4cd0d3ab3a27e465629be0dcc7b37f14dfe6c876069b598e29e9f3aa0c345b08c62895e68ce557237d18239c7505b8ea51c9ebd -AUX elfutils-0.189-clang16-tests.patch 822 BLAKE2B a1a70176f22d59ec3ad608f48087aa149584bc86066efe16aabfe718a693c6e98557efb706628db780b3f63a7156e4a5b5c1901c9c07b34a5a23af7dea3caea4 SHA512 b74b12a4e0b12444afd320839e09b67d991513dcc66e5ff91b47caa2b729457a5545d0bb5c345c0d4d3e8f4676c227c13a16e48f8c0d53cd1fa1c7d32c80c28d -AUX elfutils-0.189-configure-bashisms.patch 2086 BLAKE2B 4ecebe40ee2c628bdbd26fce6bfd487517ee8f9590cd2d565f4be34cf9afe67b59fd9cb225039ae911f9cf939783cef0cb623d7264fff07255abe89aed9c509f SHA512 0db8aaafd625cb57b9a7a16c841685b44beaff4b18d9ea15e5adf2e0a7bf14340be7c17ebda9278f1f88ec14e5457b720c4fc4e7e7b81e861fc83059b93b8e3f -AUX elfutils-0.189-lld-17.patch 941 BLAKE2B 80b9e0376e24aeeceb44db52c908a09b731d33d65247cb65ee377fc77cd9bd9390d5a097f619beffa3609c97b205fd177a24b4cc696348d1a86408e7b71fb815 SHA512 a4ba7f6c0977f8ddfb8b30d1467533200a52f177e0bd6ea0ad5bfd097bfa9b3a1368454987325c4cbdebb81c542980897f31e673406ace7843ec44ca41f135ed AUX elfutils-0.189-musl-aarch64-regs.patch 1865 BLAKE2B c177254f31b214d39dc18a9591fca672537475bc8318b3dac6fecea11659f75e89c9c1eaa61b605bce5802ab910fe542645d214c825a28182b26d8d7620208bd SHA512 1eb5975bed830dc83e9375f526176276a5254dd9351853dc4c2c4be66246ea74bb65ae5352ea9f3d7fdf70f8af2b9d953e921dbce7cf94a906cd22272db6adab AUX elfutils-0.189-musl-macros.patch 2421 BLAKE2B 23c214481ee441b4f3b66bb5cfd8a5321328136e743ad6b48533b2943d6cc896726d49d0b7493b5b57f0dbdec5bda9dcacf8fef485b0fb58bc24f732920a6e4e SHA512 86b249a14ed5a352acb16115559163d0f762ff718a23ff2989974e28f16f64c7554f3dcf5f6d5557bce524c3142e0e61ba315f1c20ec4106074b4d5901379fb6 -AUX elfutils-0.189-skip-DT_RELR-failing-tests.patch 1184 BLAKE2B c2de6d91ac92e2a5ae956a654a36462f0c2e719f9463d569aceee8f119a7201023f29e5ec68b477fceac31b5b8ece6be24314f856fe49c2b0699df6d4bb1f5c0 SHA512 a6cea47c2010df688b5020ad7b0f9143de0ad4d3202a147271b97b0df816a0c60f494e4ef8907e2fca79f8d59a72d8e049e4a9fa41eb2d2b2d269652a00814bb -AUX elfutils-0.189-tests-run-lfs-symbols.sh-needs-gawk.patch 1200 BLAKE2B e4db5599c301c2be1b3ace1b33fb708d8eed892cddf98210709c20b2b8d205bebee0ea95af984bdedd974b4cd4324864570331cd77fc692f4083a77d6146ce41 SHA512 2a7c574fc912655428af6763a45c7f9037fbb7cdaaa7bfd1a215072185a6c42fa044cd51bef474853e9e611ee33ec5a43faae9b123120e0379d240905323454b -DIST elfutils-0.189.tar.bz2 9143169 BLAKE2B 30596271e14cf3408326abc38a9775b849b8cb0ee119a5455df9434a7d3b9a57afb15e0236a179a26c7bd400d303749964c9d6350c419f747784fd99d12517e0 SHA512 93a877e34db93e5498581d0ab2d702b08c0d87e4cafd9cec9d6636dfa85a168095c305c11583a5b0fb79374dd93bc8d0e9ce6016e6c172764bcea12861605b71 -DIST elfutils-0.189.tar.bz2.sig 310 BLAKE2B d4155de64b15a9ab5c497cd603e73bf918eb1117de36cf28f8ddb50ccb4874fb24cffdf44bcbbc028b2ef3f64562960bf11a431274d861f9db96e3d865b37ec2 SHA512 2016c5f0ccd16f7feb0c825164bb18b2f1afad17dcd39d9f159429360fe4afd645665f612397d48bde191a1e59bb8352e2d065d61d7f649b929c3a7e7bfe8dd0 DIST elfutils-0.190.tar.bz2 9162766 BLAKE2B 9934aff08f1898377708b28595fb52130ef9f80408132ac7d306845b10672ba45cf1ac69783da07b3eea9fd647741d44da45b8b2626c45a768cb2844c6186513 SHA512 9c4f5328097e028286c42f29e39dc3d80914b656cdfbbe05b639e91bc787ae8ae64dd4d69a6e317ce30c01648ded10281b86a51e718295f4c589df1225a48102 DIST elfutils-0.190.tar.bz2.sig 310 BLAKE2B d6a2d490aa6815ed9a7c3624050716ebf7c50465af9907d471d47aa3b57590faf9b9ee03de127c6b3bdffa6948414aab6aa8c784ce29570f76bb03ee2021c062 SHA512 7cd88c19402a959679204a5b01ddd48720e224b84268d0d7452f0f1433150b97dd02288fac204fbd5e2fd6f227473bfe62205b350d5fe2e17addf45fb452eed6 -EBUILD elfutils-0.189-r4.ebuild 3573 BLAKE2B 615e9b3a3b3c69e90a7b52d26801ca98368e6e4cdbcd391281750f464355d33f2105c2e9b7f6e0ae5e4f5bbc2175f69ce14932690979d7ea2a0a07a7d34cf690 SHA512 91b99841650f57fd68ba0658e55aa50863d462706cf08ff59aa709f84b3ac634c4e5f9e4a2ef29be98b4e64a444bf9498a5360ef88e9f176ea9ad9efacf31b53 -EBUILD elfutils-0.190.ebuild 3196 BLAKE2B 35bffa167bdfc29c6dee87e97be8aa5bcb55d937710044d8d6de86f4f94372c720a4752829019edc5b2558257a1e93bcbc3be8825324c0fe5bcff858cfbcf243 SHA512 e8c3333fc9bffa35f8804e3714046f36383e2627c2665ad696a58f085142b51458a1dc47d9ec4a9c8a5d75965ddeadd83a900fc0f6aaa6392aa74dc37c3d01ff +DIST elfutils-0.191.tar.bz2 9310088 BLAKE2B 2a7ad251369eca7ba609ab8644181fd479ad8596ee58dc068398ca22be25a978e96b81a10a92a5555d7574fd1b9227c8d54fb41dceb4025aedfc6ae32870bbca SHA512 e22d85f25317a79b36d370347e50284c9120c86f9830f08791b7b6a7b4ad89b9bf4c7c71129133b8d193a0edffb2a2c17987b7e48428b9670aff5ce918777e04 +DIST elfutils-0.191.tar.bz2.sig 310 BLAKE2B 5afee19515a115d4ca6d1e0c4a49eca84bb4b911687492934e939a80ac75b7fcea9b6bf5fc0f2248a4c64ef09bd5af9dfc60c72410cba33b78444c38443ad279 SHA512 ab030739d95d13abb84cf4dc6c5407e51d0bd0bca108e27654a1830371694181a1b6f115fdbb4ae0772390f54f1c4811e5ae26b38fdcfd3275177a3716adfd22 +EBUILD elfutils-0.190.ebuild 3195 BLAKE2B 27cfc8ca8387db49e04998c2365c72d3f686fcb9c103975d67642b2ca09a40e274613ba3458274586fc01e5cd09b6c529f897a7c0aec13ff603b666f6d6ef18a SHA512 fb7d4bd5a0ed21fbbc7f9c97b9b7bc2372584b84246ffe8ee7ce8ffff3e59b90dc8e3be3c8d770a197c5bc3e31a5b64872e36260e2eab604f1023d6bb31010c2 +EBUILD elfutils-0.191.ebuild 3214 BLAKE2B 2ab5608ee0ea1db225b06d24d586f57ec6441de2c860f1b703b69274cf6ba1cdfae6b040f82e3cedaff2b032d295b423d2a6fbee0dd3bc3d8215aeaf9d5c81c2 SHA512 a163d642cdfa62963d375d332871e23f6161524cc18fdf8b72847bc3d98aeb4fb8edfd230ac0cb8bfc9b6fcf096cbdbfa3cfd9b1af3908150d009a855f42cb20 MISC metadata.xml 680 BLAKE2B f5f2ad88e2f5f7823ea466403cb44888cea12ded4c1364e4c941be9f0e620ff9214973459bd4f70c43540e8f2a5d915c7d6e65ff3b2758c6660af928deb648b3 SHA512 403b91d41f6ff564c66445492c45d41ed4513709e557ac68d447e583b6bc4e22ccafe67f8e998660dfe47e75120c902107fccba90db06d99bd4c72f024bd881c diff --git a/dev-libs/elfutils/elfutils-0.189-r4.ebuild b/dev-libs/elfutils/elfutils-0.189-r4.ebuild deleted file mode 100644 index c4cfa3f34086..000000000000 --- a/dev-libs/elfutils/elfutils-0.189-r4.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 2003-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/elfutils.gpg -inherit autotools flag-o-matic multilib-minimal verify-sig - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="https://sourceware.org/elfutils/" -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" -SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2.sig )" - -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 debuginfod lzma nls static-libs test +utils zstd" -RESTRICT="!test? ( test )" - -RDEPEND=" - !dev-libs/libelf - >=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] - bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) - debuginfod? ( - app-arch/libarchive:= - dev-db/sqlite:3= - net-libs/libmicrohttpd:= - - net-misc/curl[static-libs?,${MULTILIB_USEDEP}] - ) - lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) - zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] ) - elibc_musl? ( - dev-libs/libbsd - sys-libs/argp-standalone - sys-libs/fts-standalone - sys-libs/obstack-standalone - ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - app-alternatives/lex - sys-devel/m4 - virtual/pkgconfig - nls? ( sys-devel/gettext ) - verify-sig? ( sec-keys/openpgp-keys-elfutils ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.189-PaX-support.patch - "${FILESDIR}"/${PN}-0.189-skip-DT_RELR-failing-tests.patch - "${FILESDIR}"/${PN}-0.189-musl-aarch64-regs.patch - "${FILESDIR}"/${PN}-0.189-musl-macros.patch - "${FILESDIR}"/${P}-configure-bashisms.patch - "${FILESDIR}"/${P}-clang16-tests.patch - "${FILESDIR}"/${P}-tests-run-lfs-symbols.sh-needs-gawk.patch - "${FILESDIR}"/${P}-lld-17.patch -) - -src_prepare() { - default - - # Only here for ${P}-configure-bashisms.patch, delete on next bump! - eautoreconf - - if ! use static-libs; then - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die - fi - - # https://sourceware.org/PR23914 - sed -i 's:-Werror::' */Makefile.in || die -} - -src_configure() { - # bug #407135 - use test && append-flags -g - - # bug 660738 - filter-flags -fno-asynchronous-unwind-tables - - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myeconfargs=( - $(use_enable nls) - $(multilib_native_use_enable debuginfod) - $(use_enable debuginfod libdebuginfod) - - # explicitly disable thread safety, it's not recommended by upstream - # doesn't build either on musl. - --disable-thread-safety - - # Valgrind option is just for running tests under it; dodgy under sandbox - # and indeed even w/ glibc with newer instructions. - --disable-valgrind - --program-prefix="eu-" - --with-zlib - $(use_with bzip2 bzlib) - $(use_with lzma) - $(use_with zstd) - ) - - # Needed because sets alignment macro - is-flagq -fsanitize=address && myeconfargs+=( --enable-sanitize-address ) - is-flagq -fsanitize=undefined && myeconfargs+=( --enable-sanitize-undefined ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_test() { - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ - LC_ALL="C" \ - emake check VERBOSE=1 -} - -multilib_src_install_all() { - einstalldocs - - dodoc NOTES - - # These build quick, and are needed for most tests, so don't - # disable their building when the USE flag is disabled. - if ! use utils; then - rm -rf "${ED}"/usr/bin || die - fi -} diff --git a/dev-libs/elfutils/elfutils-0.190.ebuild b/dev-libs/elfutils/elfutils-0.190.ebuild index 412b5ea58bb9..48128a1d751e 100644 --- a/dev-libs/elfutils/elfutils-0.190.ebuild +++ b/dev-libs/elfutils/elfutils-0.190.ebuild @@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2. LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="bzip2 debuginfod lzma nls static-libs test +utils zstd" RESTRICT="!test? ( test )" diff --git a/dev-libs/elfutils/elfutils-0.191.ebuild b/dev-libs/elfutils/elfutils-0.191.ebuild new file mode 100644 index 000000000000..797cf5e83eb1 --- /dev/null +++ b/dev-libs/elfutils/elfutils-0.191.ebuild @@ -0,0 +1,120 @@ +# Copyright 2003-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/elfutils.gpg +inherit flag-o-matic multilib-minimal verify-sig + +DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" +HOMEPAGE="https://sourceware.org/elfutils/" +SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" +SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2.sig )" + +LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="bzip2 debuginfod lzma nls static-libs test +utils zstd" +RESTRICT="!test? ( test )" + +RDEPEND=" + !dev-libs/libelf + >=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] + bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) + debuginfod? ( + app-arch/libarchive:= + dev-db/sqlite:3= + net-libs/libmicrohttpd:= + + net-misc/curl[static-libs?,${MULTILIB_USEDEP}] + ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] ) + elibc_musl? ( + dev-libs/libbsd + sys-libs/argp-standalone + sys-libs/fts-standalone + sys-libs/obstack-standalone + ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + app-alternatives/lex + sys-devel/m4 + virtual/pkgconfig + nls? ( sys-devel/gettext ) + verify-sig? ( >=sec-keys/openpgp-keys-elfutils-20240301 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.189-musl-aarch64-regs.patch + "${FILESDIR}"/${PN}-0.189-musl-macros.patch +) + +src_prepare() { + default + + if ! use static-libs; then + sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die + fi + + # https://sourceware.org/PR23914 + sed -i 's:-Werror::' */Makefile.in || die +} + +src_configure() { + # bug #407135 + use test && append-flags -g + + # bug 660738 + filter-flags -fno-asynchronous-unwind-tables + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable nls) + $(multilib_native_use_enable debuginfod) + $(use_enable debuginfod libdebuginfod) + + # explicitly disable thread safety, it's not recommended by upstream + # doesn't build either on musl. + --disable-thread-safety + + # Valgrind option is just for running tests under it; dodgy under sandbox + # and indeed even w/ glibc with newer instructions. + --disable-valgrind + --program-prefix="eu-" + --with-zlib + $(use_with bzip2 bzlib) + $(use_with lzma) + $(use_with zstd) + ) + + # Needed because sets alignment macro + is-flagq -fsanitize=address && myeconfargs+=( --enable-sanitize-address ) + is-flagq -fsanitize=undefined && myeconfargs+=( --enable-sanitize-undefined ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ + LC_ALL="C" \ + emake check VERBOSE=1 +} + +multilib_src_install_all() { + einstalldocs + + dodoc NOTES + + # These build quick, and are needed for most tests, so don't + # disable their building when the USE flag is disabled. + if ! use utils; then + rm -rf "${ED}"/usr/bin || die + fi +} diff --git a/dev-libs/elfutils/files/elfutils-0.189-PaX-support.patch b/dev-libs/elfutils/files/elfutils-0.189-PaX-support.patch deleted file mode 100644 index 2d44c757711a..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.189-PaX-support.patch +++ /dev/null @@ -1,26 +0,0 @@ -Add support for PaX ELF markings - -Patch by Kevin F. Quinn - -http://bugs.gentoo.org/115100 - ---- a/libelf/elf.h -+++ b/libelf/elf.h -@@ -722,6 +722,7 @@ typedef struct - #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ - #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ - #define PT_GNU_PROPERTY 0x6474e553 /* GNU property */ -+#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */ - #define PT_LOSUNW 0x6ffffffa - #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ - #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ ---- a/src/elflint.c -+++ b/src/elflint.c -@@ -4493,6 +4493,7 @@ only executables, shared objects, and core files can have program headers\n")); - - if (phdr->p_type >= PT_NUM && phdr->p_type != PT_GNU_EH_FRAME - && phdr->p_type != PT_GNU_STACK && phdr->p_type != PT_GNU_RELRO -+ && phdr->p_type != PT_PAX_FLAGS - && phdr->p_type != PT_GNU_PROPERTY - /* Check for a known machine-specific type. */ - && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL) diff --git a/dev-libs/elfutils/files/elfutils-0.189-clang16-tests.patch b/dev-libs/elfutils/files/elfutils-0.189-clang16-tests.patch deleted file mode 100644 index 8dede51cbb23..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.189-clang16-tests.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://sourceware.org/git/?p=elfutils.git;a=commit;h=51373aa9a77ef53d237edc1af664efcbb49f1bf5 - -From 51373aa9a77ef53d237edc1af664efcbb49f1bf5 Mon Sep 17 00:00:00 2001 -From: Florian Weimer -Date: Sat, 22 Apr 2023 21:37:09 +0200 -Subject: [PATCH] testsuite: Avoid C99 compatibility issues in - run-native-test.sh - -Include for the pause function, and add the return type -of main. Avoids an implicit function declaration and implicit int. - -Signed-off-by: Florian Weimer ---- a/tests/run-native-test.sh -+++ b/tests/run-native-test.sh -@@ -27,7 +27,8 @@ - # in all builds. - - tempfiles native.c native --echo 'main () { while (1) pause (); }' > native.c -+printf '#include \nint main (void) { while (1) pause (); }\n' \ -+ > native.c - - native=0 - kill_native() --- -2.31.1 diff --git a/dev-libs/elfutils/files/elfutils-0.189-configure-bashisms.patch b/dev-libs/elfutils/files/elfutils-0.189-configure-bashisms.patch deleted file mode 100644 index 04c01b0ecf88..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.189-configure-bashisms.patch +++ /dev/null @@ -1,49 +0,0 @@ -https://sourceware.org/git/?p=elfutils.git;a=commit;h=a9834d7df68afde4ee44ee8fef888cf7e799171a - -From a9834d7df68afde4ee44ee8fef888cf7e799171a Mon Sep 17 00:00:00 2001 -From: Mark Wielaard -Date: Sun, 5 Mar 2023 13:09:34 +0100 -Subject: [PATCH] configure.ac contains Bashisms - -Autoconf scripts are supposed to be written in POSIX-compatible shell -language. elfutils commits 0ffe2874e75d48cb88936e119e5284ff2bf664d9 -and 3fa98a6f29b0f370e32549ead7eb897c839af980 introduced Bashisms to -configure.ac that cause errors when /bin/sh is not Bash. - -Example error when /bin/sh is Dash: - -./configure: 8748: test: xyes: unexpected operator - -The cause of the error is the use of a non-existent == operator in -expressions passed to the 'test' built-in command. POSIX shell -specifies only an = operator for testing string equality. - - * configure.ac: Replace == by = in use_msan and enable_demangler - comparisons. - -https://sourceware.org/bugzilla/show_bug.cgi?id=30196 - -Reported-by: Matt Whitlock -Signed-off-by: Mark Wielaard ---- a/configure.ac -+++ b/configure.ac -@@ -169,7 +169,7 @@ if test "$use_msan" = yes; then - CXXFLAGS="$CXXFLAGS -fsanitize=memory -fsanitize-memory-track-origins -D_FORTIFY_SOURCE=0" - LDFLAGS="-shared" - AC_LINK_IFELSE([AC_LANG_SOURCE([int main (int argc, char **argv) { return 0; }])], use_msan=yes, use_msan=no) -- AS_IF([test "x$use_msan" == xyes], -+ AS_IF([test "x$use_msan" = xyes], - ac_cv_zdefs=no NO_UNDEFINED=, - AC_MSG_WARN([clang memory sanitizer not available]) - CFLAGS="$old_CFLAGS" CXXFLAGS="$old_CXXFLAGS") -@@ -493,7 +493,7 @@ AC_ARG_ENABLE([demangler], - AS_HELP_STRING([--disable-demangler], - [Disable libstdc++ demangle support]), - [], [enable_demangler=yes]) --AS_IF([test "x$enable_demangler" == xyes], -+AS_IF([test "x$enable_demangler" = xyes], - AC_CHECK_LIB([stdc++], [__cxa_demangle], [dnl - AC_DEFINE([USE_DEMANGLE], [1], [Defined if demangling is enabled])]) - AM_CONDITIONAL(DEMANGLE, test "x$ac_cv_lib_stdcpp___cxa_demangle" = "xyes") --- -2.31.1 diff --git a/dev-libs/elfutils/files/elfutils-0.189-lld-17.patch b/dev-libs/elfutils/files/elfutils-0.189-lld-17.patch deleted file mode 100644 index 3143bc078d77..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.189-lld-17.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://bugs.gentoo.org/913112 -https://sourceware.org/PR30729 -https://sourceware.org/git/?p=elfutils.git;a=commit;h=09e61a65953ed814d9e970f7f9ffb9c2d8cda477 - -From 09e61a65953ed814d9e970f7f9ffb9c2d8cda477 Mon Sep 17 00:00:00 2001 -From: Mark Wielaard -Date: Mon, 28 Aug 2023 20:23:41 +0200 -Subject: [PATCH] libelf: Remove elf_scncnt from libelf.map - -elf_scncnt was never implemented. It was probably an old name for -elf_getshnum (which was the deprecated name of the elf_getshdrnum -alias). Just remove it from the map file - - * libelf/libelf.map (ELFUTILS_1.0): Remove elf_scncnt. - -https://sourceware.org/PR30729 - -Reported-by: Kostadin Shishmanov -Signed-off-by: Mark Wielaard ---- a/libelf/libelf.map -+++ b/libelf/libelf.map -@@ -50,7 +50,6 @@ ELFUTILS_1.0 { - elf_rand; - elf_rawdata; - elf_rawfile; -- elf_scncnt; - elf_strptr; - elf_update; - elf_version; --- -2.39.3 diff --git a/dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch b/dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch deleted file mode 100644 index 0ffe75d93d31..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch +++ /dev/null @@ -1,39 +0,0 @@ -We know these tests fail with DT_RELR (https://sourceware.org/bugzilla/show_bug.cgi?id=28495) -so skip for now. ---- a/tests/run-elflint-self.sh -+++ b/tests/run-elflint-self.sh -@@ -18,5 +18,8 @@ - - . $srcdir/test-subr.sh - -+# XFAIL b/c no DT_RELR support yet (https://sourceware.org/bugzilla/show_bug.cgi?id=28495) -+exit 77 -+ - testrun_on_self ${abs_top_builddir}/src/elflint --quiet --gnu-ld - testrun_on_self_compressed ${abs_top_builddir}/src/elflint --quiet --gnu-ld ---- a/tests/run-strip-strmerge.sh -+++ b/tests/run-strip-strmerge.sh -@@ -17,6 +17,9 @@ - - . $srcdir/test-subr.sh - -+# XFAIL b/c no DT_RELR support yet (https://sourceware.org/bugzilla/show_bug.cgi?id=28495) -+exit 77 -+ - # Generate a file with merged .shstrtab/.strtab table. - # strip and unstrip it. Check all files with elflint. - -diff --git a/tests/run-reverse-sections-self.sh b/tests/run-reverse-sections-self.sh -index 71afd6a..87de933 100755 ---- a/tests/run-reverse-sections-self.sh -+++ b/tests/run-reverse-sections-self.sh -@@ -17,6 +17,9 @@ - - . $srcdir/test-subr.sh - -+# XFAIL b/c no DT_RELR support yet (https://sourceware.org/bugzilla/show_bug.cgi?id=28495) -+exit 77 -+ - test_reverse_self () - { - in_file="$1" diff --git a/dev-libs/elfutils/files/elfutils-0.189-tests-run-lfs-symbols.sh-needs-gawk.patch b/dev-libs/elfutils/files/elfutils-0.189-tests-run-lfs-symbols.sh-needs-gawk.patch deleted file mode 100644 index c64a30ec03b6..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.189-tests-run-lfs-symbols.sh-needs-gawk.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://inbox.sourceware.org/elfutils-devel/20230719231639.1786109-1-sam@gentoo.org/T/#u - -From 7f607f9aba5c6fccb3d94776452b1cfa421df1f7 Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Thu, 20 Jul 2023 00:15:10 +0100 -Subject: [PATCH] tests: run-lfs-symbols.sh needs gawk - -With awk=mawk, I get: -``` -FAIL: run-lfs-symbols.sh - -First sanity-check that LFS detection works. -checking ./testfile-nolfs -awk: line 3: syntax error at or near / -FAIL run-lfs-symbols.sh (exit status: 2) -``` - - * tests/run-lfs-symbols.sh: Call 'gawk' instead of 'awk'. - -Signed-off-by: Sam James ---- a/tests/run-lfs-symbols.sh -+++ b/tests/run-lfs-symbols.sh -@@ -42,13 +42,13 @@ LFS_FORMAT='BEGIN { - LFS=$(printf "$LFS_FORMAT" "${abs_srcdir}/lfs-symbols") - - makeprint() { -- make print-$1 -C $2 |& awk -F= "/^$1=/{ print \$2 }" -+ make print-$1 -C $2 |& gawk -F= "/^$1=/{ print \$2 }" - } - - testrun_lfs() { - echo "checking $1" - if [ -e "$1" ]; then -- bad=$(testrun ${abs_top_builddir}/src/nm -u "$1" | awk "$LFS") -+ bad=$(testrun ${abs_top_builddir}/src/nm -u "$1" | gawk "$LFS") - if [ -n "$bad" ]; then - echo "$1 contains non-lfs symbols:" $bad - exit_status=1 --- -2.41.0 - -- cgit v1.2.3