* [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/
@ 2020-05-21 8:22 Sergei Trofimovich
0 siblings, 0 replies; 7+ messages in thread
From: Sergei Trofimovich @ 2020-05-21 8:22 UTC (permalink / raw
To: gentoo-commits
commit: 1ed381bc5cd1d3d238a5d66b679b0f411fdaab85
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Wed May 20 15:29:14 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu May 21 08:22:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed381bc
dev-libs/elfutils: remove unused patch
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15893
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../elfutils/files/elfutils-0.173-reorder.patch | 37 ----------------------
1 file changed, 37 deletions(-)
diff --git a/dev-libs/elfutils/files/elfutils-0.173-reorder.patch b/dev-libs/elfutils/files/elfutils-0.173-reorder.patch
deleted file mode 100644
index fd3dede7c25..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.173-reorder.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-https://bugs.gentoo.org/666954
-https://github.com/rpm-software-management/rpm/issues/423
-https://sourceware.org/ml/elfutils-devel/2019-q2/msg00077.html
-
-From: Mark Wielaard <mark at klomp dot org>
-Subject: [PATCH] libelf: Mark shdr_flags dirty if offset or size changes during update.
-Date: Mon, 13 May 2019 00:13:42 +0200
-Message-Id: <20190512221342.23383-1-mark@klomp.org>
-
-We forgot to mark the shdr_flags dirty when only the sh_size or
-sh_offset changed during elf_update (). This meant that if there were
-no other shdr changes we only wrote out the section data, but didn't
-write out the shdr table to the file.
-
-Signed-off-by: Mark Wielaard <mark@klomp.org>
----
- libelf/elf32_updatenull.c | 5 +-
-
---- a/libelf/elf32_updatenull.c
-+++ b/libelf/elf32_updatenull.c
-@@ -366,12 +366,15 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
- }
-
- /* See whether the section size is correct. */
-+ int size_changed = 0;
- update_if_changed (shdr->sh_size, (GElf_Word) offset,
-- changed);
-+ size_changed);
-+ changed |= size_changed;
-
- if (shdr->sh_type != SHT_NOBITS)
- size += offset;
-
-+ scn->shdr_flags |= (offset_changed | size_changed);
- scn->flags |= changed;
- }
-
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/
@ 2020-07-27 20:06 Aaron Bauman
0 siblings, 0 replies; 7+ messages in thread
From: Aaron Bauman @ 2020-07-27 20:06 UTC (permalink / raw
To: gentoo-commits
commit: 47952a090cd27304718f869d1dc507c977de5d7f
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Jul 26 08:32:56 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Jul 27 20:06:14 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47952a09
dev-libs/elfutils: remove unused patch
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16831
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
.../files/elfutils-0.179-PaX-support.patch | 26 ----------------------
1 file changed, 26 deletions(-)
diff --git a/dev-libs/elfutils/files/elfutils-0.179-PaX-support.patch b/dev-libs/elfutils/files/elfutils-0.179-PaX-support.patch
deleted file mode 100644
index 5246d1ad9fc..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.179-PaX-support.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Add support for PaX ELF markings
-
-Patch by Kevin F. Quinn <kevquinn@gentoo.org>
-
-http://bugs.gentoo.org/115100
-
---- a/libelf/elf.h
-+++ b/libelf/elf.h
-@@ -721,6 +721,7 @@ typedef struct
- #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
- #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
- #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
-+#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)
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/
@ 2020-09-14 7:03 Sergei Trofimovich
0 siblings, 0 replies; 7+ messages in thread
From: Sergei Trofimovich @ 2020-09-14 7:03 UTC (permalink / raw
To: gentoo-commits
commit: d35b36671203776e909051babba51507234c1f7c
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Sep 12 16:24:02 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 07:03:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d35b3667
dev-libs/elfutils: remove unused patch
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17506
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../files/elfutils-0.118-PaX-support.patch | 26 ----------------------
1 file changed, 26 deletions(-)
diff --git a/dev-libs/elfutils/files/elfutils-0.118-PaX-support.patch b/dev-libs/elfutils/files/elfutils-0.118-PaX-support.patch
deleted file mode 100644
index 0ae359fe7db..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.118-PaX-support.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Add support for PaX ELF markings
-
-Patch by Kevin F. Quinn <kevquinn@gentoo.org>
-
-http://bugs.gentoo.org/115100
-
---- a/libelf/elf.h
-+++ b/libelf/elf.h
-@@ -568,6 +568,7 @@
- #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
- #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
- #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
-+#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
-@@ -3187,6 +3187,7 @@
-
- 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
- /* Check for a known machine-specific type. */
- && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL)
- ERROR (gettext ("\
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/
@ 2020-11-09 7:32 Sergei Trofimovich
0 siblings, 0 replies; 7+ messages in thread
From: Sergei Trofimovich @ 2020-11-09 7:32 UTC (permalink / raw
To: gentoo-commits
commit: bd26a4acc79cb740181fae57b9d9c53d21ac5a34
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Nov 8 19:03:37 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Nov 9 07:32:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd26a4ac
dev-libs/elfutils: remove unused patch
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18189
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../elfutils/files/elfutils-0.180-readelf.patch | 23 ----------------------
1 file changed, 23 deletions(-)
diff --git a/dev-libs/elfutils/files/elfutils-0.180-readelf.patch b/dev-libs/elfutils/files/elfutils-0.180-readelf.patch
deleted file mode 100644
index a347d03041d..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.180-readelf.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Use tool-prefixed readelf.
---- a/configure.ac
-+++ b/configure.ac
-@@ -200,7 +200,7 @@ fi
- # We really want build-ids. Warn and force generating them if gcc was
- # configure without --enable-linker-build-id
- AC_CACHE_CHECK([whether the compiler generates build-ids], ac_cv_buildid, [dnl
--AC_LINK_IFELSE([AC_LANG_PROGRAM()],[ac_cv_buildid=yes; readelf -n conftest$EXEEXT | grep -q NT_GNU_BUILD_ID || ac_cv_buildid=no],AC_MSG_FAILURE([unexpected compile failure]))])
-+AC_LINK_IFELSE([AC_LANG_PROGRAM()],[ac_cv_buildid=yes; $READELF -n conftest$EXEEXT | grep -q NT_GNU_BUILD_ID || ac_cv_buildid=no],AC_MSG_FAILURE([unexpected compile failure]))])
- if test "$ac_cv_buildid" = "no"; then
- AC_MSG_WARN([compiler doesn't generate build-id by default])
- LDFLAGS="$LDFLAGS -Wl,--build-id"
---- a/configure
-+++ b/configure
-@@ -5343,7 +5343,7 @@ main ()
- }
- _ACEOF
- if ac_fn_c_try_link "$LINENO"; then :
-- ac_cv_buildid=yes; readelf -n conftest$EXEEXT | grep -q NT_GNU_BUILD_ID || ac_cv_buildid=no
-+ ac_cv_buildid=yes; $READELF -n conftest$EXEEXT | grep -q NT_GNU_BUILD_ID || ac_cv_buildid=no
- else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/
@ 2021-05-01 20:44 Sergei Trofimovich
0 siblings, 0 replies; 7+ messages in thread
From: Sergei Trofimovich @ 2021-05-01 20:44 UTC (permalink / raw
To: gentoo-commits
commit: c55d18a4c4ecb8ded40594ed5466543455606c91
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat May 1 17:52:37 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat May 1 20:44:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55d18a4
dev-libs/elfutils: remove unused patches
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20633
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../files/elfutils-0.179-CC-in-tests.patch | 45 ----------------------
.../files/elfutils-0.181-CC-in-tests-p2.patch | 34 ----------------
2 files changed, 79 deletions(-)
diff --git a/dev-libs/elfutils/files/elfutils-0.179-CC-in-tests.patch b/dev-libs/elfutils/files/elfutils-0.179-CC-in-tests.patch
deleted file mode 100644
index aa58862ec89..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.179-CC-in-tests.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-https://bugs.gentoo.org/718872
---- a/tests/run-disasm-x86-64.sh
-+++ b/tests/run-disasm-x86-64.sh
-@@ -22,7 +22,7 @@ case "`uname -m`" in
- x86_64)
- tempfiles testfile45.o
- testfiles testfile45.S testfile45.expect
-- gcc -m64 -c -o testfile45.o testfile45.S
-+ ${CC-gcc} -m64 -c -o testfile45.o testfile45.S
- testrun_compare ${abs_top_builddir}/src/objdump -d testfile45.o < testfile45.expect
- ;;
- esac
---- a/tests/run-disasm-x86.sh
-+++ b/tests/run-disasm-x86.sh
-@@ -22,7 +22,7 @@ case "`uname -m`" in
- x86_64 | i?86 )
- tempfiles testfile44.o
- testfiles testfile44.S testfile44.expect
-- gcc -m32 -c -o testfile44.o testfile44.S
-+ ${CC-gcc} -m32 -c -o testfile44.o testfile44.S
- testrun_compare ${abs_top_builddir}/src/objdump -d testfile44.o < testfile44.expect
- ;;
- esac
---- a/tests/run-strip-g.sh
-+++ b/tests/run-strip-g.sh
-@@ -25,7 +25,7 @@
- tempfiles a.out strip.out debug.out readelf.out
-
- echo Create debug a.out.
--echo "int main() { return 1; }" | gcc -g -xc -
-+echo "int main() { return 1; }" | ${CC-gcc} -g -xc -
-
- echo strip -g to file with debug file
- testrun ${abs_top_builddir}/src/strip -g -o strip.out -f debug.out ||
---- a/tests/run-strip-nothing.sh
-+++ b/tests/run-strip-nothing.sh
-@@ -23,7 +23,7 @@
- tempfiles a.out strip.out debug.out
-
- # Create no-debug a.out.
--echo "int main() { return 1; }" | gcc -s -xc -
-+echo "int main() { return 1; }" | ${CC-gcc} -s -xc -
-
- # strip to file
- testrun ${abs_top_builddir}/src/strip -g -o strip.out ||
diff --git a/dev-libs/elfutils/files/elfutils-0.181-CC-in-tests-p2.patch b/dev-libs/elfutils/files/elfutils-0.181-CC-in-tests-p2.patch
deleted file mode 100644
index 63c0ed0cb60..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.181-CC-in-tests-p2.patch
+++ /dev/null
@@ -1,34 +0,0 @@
---- a/tests/run-test-includes.sh
-+++ b/tests/run-test-includes.sh
-@@ -3,24 +3,24 @@
- . $srcdir/test-subr.sh
-
- echo '#include "libelf.h"' \
-- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
-+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
- echo '#include "gelf.h"' \
-- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
-+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
-
- echo '#include "dwarf.h"' \
-- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
- -I ${abs_srcdir}/../libdw -xc -
- echo '#include "libdw.h"' \
-- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
- -I ${abs_srcdir}/../libdw -xc -
-
- echo '#include "libdwfl.h"' \
-- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
- -I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwfl -xc -
- echo '#include "libdwelf.h"' \
-- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
- -I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwelf -xc -
-
- echo '#include "libasm.h"' \
-- | gcc -c -o /dev/null -I ${abs_srcdir}/../libelf \
-+ | ${CC-gcc} -c -o /dev/null -I ${abs_srcdir}/../libelf \
- -I ${abs_srcdir}/../libasm -xc -
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/
@ 2021-06-26 17:58 Sergei Trofimovich
0 siblings, 0 replies; 7+ messages in thread
From: Sergei Trofimovich @ 2021-06-26 17:58 UTC (permalink / raw
To: gentoo-commits
commit: 33824d108c38a4dd5120e1ad7c0478537f6b5c34
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Jun 26 16:48:20 2021 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 26 17:58:07 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33824d10
dev-libs/elfutils: remove unused patch
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/21439
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
.../elfutils/files/elfutils-0.183-CC-quote.patch | 40 ----------------------
1 file changed, 40 deletions(-)
diff --git a/dev-libs/elfutils/files/elfutils-0.183-CC-quote.patch b/dev-libs/elfutils/files/elfutils-0.183-CC-quote.patch
deleted file mode 100644
index 8dc59bec262..00000000000
--- a/dev-libs/elfutils/files/elfutils-0.183-CC-quote.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -528,7 +528,7 @@ installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir); \
- export LC_ALL; export LANG; export VALGRIND_CMD; \
- unset DEBUGINFOD_URLS; \
- NM=$(NM); export NM; \
-- CC=$(CC); export CC;
-+ CC="$(CC)"; export CC;
- installed_LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
- installed $(tests_rpath) \
- '$(program_transform_name)'
-@@ -540,7 +540,7 @@ TESTS_ENVIRONMENT = LC_ALL=C; LANG=C; VALGRIND_CMD=$(valgrind_cmd); \
- export LC_ALL; export LANG; export VALGRIND_CMD; \
- unset DEBUGINFOD_URLS; \
- NM=$(NM); export NM; \
-- CC=$(CC); export CC;
-+ CC="$(CC)"; export CC;
- LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
- $(abs_top_builddir)/libdw:$(abs_top_builddir)/backends:$(abs_top_builddir)/libelf:$(abs_top_builddir)/libasm:$(abs_top_builddir)/debuginfod
-
---- a/tests/Makefile.in
-+++ b/tests/Makefile.in
-@@ -1568,7 +1568,7 @@ installed_TESTS_ENVIRONMENT = libdir=$(DESTDIR)$(libdir); \
- export LC_ALL; export LANG; export VALGRIND_CMD; \
- unset DEBUGINFOD_URLS; \
- NM=$(NM); export NM; \
-- CC=$(CC); export CC;
-+ CC="$(CC)"; export CC;
-
- installed_LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
- installed $(tests_rpath) \
-@@ -1582,7 +1582,7 @@ TESTS_ENVIRONMENT = LC_ALL=C; LANG=C; VALGRIND_CMD=$(valgrind_cmd); \
- export LC_ALL; export LANG; export VALGRIND_CMD; \
- unset DEBUGINFOD_URLS; \
- NM=$(NM); export NM; \
-- CC=$(CC); export CC;
-+ CC="$(CC)"; export CC;
-
- LOG_COMPILER = $(abs_srcdir)/test-wrapper.sh \
- $(abs_top_builddir)/libdw:$(abs_top_builddir)/backends:$(abs_top_builddir)/libelf:$(abs_top_builddir)/libasm:$(abs_top_builddir)/debuginfod
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/
@ 2025-01-04 22:47 Conrad Kostecki
0 siblings, 0 replies; 7+ messages in thread
From: Conrad Kostecki @ 2025-01-04 22:47 UTC (permalink / raw
To: gentoo-commits
commit: 1a3799db411d857f43d5f26833e41615fa2ccbf5
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Fri Jan 3 15:30:42 2025 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jan 4 22:47:06 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3799db
dev-libs/elfutils: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
.../files/elfutils-0.189-musl-macros.patch | 86 ----------------------
1 file changed, 86 deletions(-)
diff --git a/dev-libs/elfutils/files/elfutils-0.189-musl-macros.patch b/dev-libs/elfutils/files/elfutils-0.189-musl-macros.patch
deleted file mode 100644
index 97c6c1dcd62e..000000000000
--- a/dev-libs/elfutils/files/elfutils-0.189-musl-macros.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-May not be required (or at least some hunks) with next release (0.186?)
-
-https://git.alpinelinux.org/aports/plain/main/elfutils/musl-macros.patch
---- a/lib/libeu.h
-+++ b/lib/libeu.h
-@@ -31,6 +31,27 @@
-
- #include <stddef.h>
- #include <stdint.h>
-+#include <unistd.h>
-+#include <alloca.h>
-+#include <string.h>
-+
-+#ifndef TEMP_FAILURE_RETRY
-+#define TEMP_FAILURE_RETRY(expression) \
-+ (__extension__ \
-+ ({ long int __result; \
-+ do __result = (long int) (expression); \
-+ while (__result == -1L && errno == EINTR); \
-+ __result; }))
-+#endif
-+
-+#ifndef strndupa
-+#define strndupa(s, n) \
-+ (__extension__ ({const char *__in = (s); \
-+ size_t __len = strnlen (__in, (n)) + 1; \
-+ char *__out = (char *) alloca (__len); \
-+ __out[__len-1] = '\0'; \
-+ (char *) memcpy (__out, __in, __len-1);}))
-+#endif
-
- extern void *xmalloc (size_t) __attribute__ ((__malloc__));
- extern void *xcalloc (size_t, size_t) __attribute__ ((__malloc__));
---- a/src/arlib.h
-+++ b/src/arlib.h
-@@ -29,6 +29,16 @@
- #include <stdint.h>
- #include <sys/types.h>
-
-+#if !defined(ACCESSPERMS)
-+# define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */
-+#endif
-+#if !defined(ALLPERMS)
-+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
-+#endif
-+#if !defined(DEFFILEMODE)
-+# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*/
-+#endif
-+
-
- /* State of -D/-U flags. */
- extern bool arlib_deterministic_output;
---- a/src/elfcompress.c
-+++ b/src/elfcompress.c
-@@ -37,6 +37,14 @@
- #include "libeu.h"
- #include "printversion.h"
-
-+#if !defined(FNM_EXTMATCH)
-+# define FNM_EXTMATCH 0
-+#endif
-+
-+#if !defined(ALLPERMS)
-+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
-+#endif
-+
- /* Name and version of program. */
- ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
-
---- a/src/strip.c
-+++ b/src/strip.c
-@@ -45,6 +45,14 @@
- #include <system.h>
- #include <printversion.h>
-
-+#if !defined(FNM_EXTMATCH)
-+# define FNM_EXTMATCH 0
-+#endif
-+
-+#if !defined(ACCESSPERMS)
-+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)
-+#endif
-+
- typedef uint8_t GElf_Byte;
-
- /* Name and version of program. */
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-01-04 22:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-21 8:22 [gentoo-commits] repo/gentoo:master commit in: dev-libs/elfutils/files/ Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2020-07-27 20:06 Aaron Bauman
2020-09-14 7:03 Sergei Trofimovich
2020-11-09 7:32 Sergei Trofimovich
2021-05-01 20:44 Sergei Trofimovich
2021-06-26 17:58 Sergei Trofimovich
2025-01-04 22:47 Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox