From 03ecafa189a12de3e6703e19149f8065ed8c3405 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Tue, 21 Sep 2021 19:56:07 +1200 Subject: ltrace: Remove obsolete versions The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - ltrace-0.5.3 Signed-off-by: Chris Packham diff --git a/packages/ltrace/0.5.3/0000-allow-cross-compile.patch b/packages/ltrace/0.5.3/0000-allow-cross-compile.patch deleted file mode 100644 index 6515ebd..0000000 --- a/packages/ltrace/0.5.3/0000-allow-cross-compile.patch +++ /dev/null @@ -1,84 +0,0 @@ -This patch is courtesy of OpenEmbedded, by Khem Raj - -http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=b85b779688f0abc389e3c25d06b54de8b86385c1 - ---- - common.h | 4 ++++ - configure | 11 ++++------- - debug.h | 4 +++- - 3 files changed, 11 insertions(+), 8 deletions(-) - ---- a/common.h -+++ b/common.h -@@ -1,3 +1,5 @@ -+#ifndef COMMON_H -+#define COMMON_H - #include - #include - #include -@@ -251,3 +253,5 @@ - #if 0 /* not yet */ - extern int umoven(Process * proc, void * addr, int len, void * laddr); - #endif -+#endif -+ ---- a/configure -+++ b/configure -@@ -30,7 +30,7 @@ - return cplus_demangle(); - } - EOF --if gcc conftest.c -liberty 2>/dev/null -+if $CC conftest.c -liberty 2>/dev/null - then - HAVE_LIBIBERTY=1 - echo "yes" -@@ -48,7 +48,7 @@ - return __cxa_demangle(); - } - EOF --if gcc conftest.c -lsupc++ 2>/dev/null -+if $CC conftest.c -lsupc++ 2>/dev/null - then - HAVE_LIBSUPC__=1 - echo "yes" -@@ -67,7 +67,7 @@ - return 0; - } - EOF --if gcc conftest.c 2>/dev/null -+if $CC conftest.c 2>/dev/null - then - HAVE_ELF_C_READ_MMAP=1 - echo "yes" -@@ -77,15 +77,12 @@ - fi - rm -f conftest.c a.out - --CC=gcc --CPPFLAGS=' -I /usr/include/libelf' - CFLAGS='-g -O2' - LIBS='-lelf -lsupc++ -liberty ' --INSTALL='/usr/bin/install -c' -+INSTALL='install -c' - iquote='-iquote ' - iquoteend='' - --prefix=/usr/local - sysconfdir='${prefix}/etc' - bindir='${prefix}/bin' - mandir='${prefix}/share/man' ---- a/debug.h -+++ b/debug.h -@@ -1,3 +1,5 @@ -+#ifndef DEBUG_H -+#define DEBUG_H - #include - - /* debug levels: -@@ -14,4 +16,4 @@ - int xinfdump(long, void *, int); - - # define debug(level, expr...) debug_(level, __FILE__, __LINE__, expr) -- -+#endif diff --git a/packages/ltrace/0.5.3/0001-alpha-support.patch b/packages/ltrace/0.5.3/0001-alpha-support.patch deleted file mode 100644 index 8a7710c..0000000 --- a/packages/ltrace/0.5.3/0001-alpha-support.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- - sysdeps/linux-gnu/Makefile | 1 + - 1 file changed, 1 insertion(+) - ---- a/sysdeps/linux-gnu/Makefile -+++ b/sysdeps/linux-gnu/Makefile -@@ -2,6 +2,7 @@ - -e s/i.86/i386/ \ - -e s/sun4u/sparc64/ \ - -e s/sparc64/sparc/ \ -+ -e s/alpha.*/alpha/ \ - -e s/arm.*/arm/ \ - -e s/sa110/arm/ \ - -e s/ppc64/ppc/ \ diff --git a/packages/ltrace/0.5.3/0002-debian-ltrace_0.5.3-2.patch b/packages/ltrace/0.5.3/0002-debian-ltrace_0.5.3-2.patch deleted file mode 100644 index 651230c..0000000 --- a/packages/ltrace/0.5.3/0002-debian-ltrace_0.5.3-2.patch +++ /dev/null @@ -1,86 +0,0 @@ -Debian patch courtesy of the Debian ltrace maintainer Juan Cespedes - ---- - sysdeps/linux-gnu/arm/breakpoint.c | 7 +------ - sysdeps/linux-gnu/breakpoint.c | 5 +++-- - sysdeps/linux-gnu/ia64/breakpoint.c | 5 +---- - sysdeps/linux-gnu/ia64/plt.c | 1 + - sysdeps/linux-gnu/ia64/regs.c | 1 - - 5 files changed, 6 insertions(+), 13 deletions(-) - ---- a/sysdeps/linux-gnu/breakpoint.c -+++ b/sysdeps/linux-gnu/breakpoint.c -@@ -6,8 +6,6 @@ - #include "common.h" - #include "arch.h" - --static unsigned char break_insn[] = BREAKPOINT_VALUE; -- - #ifdef ARCH_HAVE_ENABLE_BREAKPOINT - extern void arch_enable_breakpoint(pid_t, Breakpoint *); - void -@@ -20,6 +18,9 @@ - arch_enable_breakpoint(pid, sbp); - } - #else -+ -+static unsigned char break_insn[] = BREAKPOINT_VALUE; -+ - void - enable_breakpoint(pid_t pid, Breakpoint *sbp) { - unsigned int i, j; ---- a/sysdeps/linux-gnu/arm/breakpoint.c -+++ b/sysdeps/linux-gnu/arm/breakpoint.c -@@ -24,10 +24,7 @@ - - #include - #include "config.h" --#include "arch.h" --#include "options.h" --#include "output.h" --#include "debug.h" -+#include "common.h" - - void - arch_enable_breakpoint(pid_t pid, Breakpoint *sbp) { -@@ -59,8 +56,6 @@ - void - arch_disable_breakpoint(pid_t pid, const Breakpoint *sbp) { - unsigned int i, j; -- const unsigned char break_insn[] = BREAKPOINT_VALUE; -- const unsigned char thumb_break_insn[] = THUMB_BREAKPOINT_VALUE; - - debug(1, "arch_disable_breakpoint(%d,%p)", pid, sbp->addr); - ---- a/sysdeps/linux-gnu/ia64/plt.c -+++ b/sysdeps/linux-gnu/ia64/plt.c -@@ -1,4 +1,5 @@ - #include -+#include - #include "common.h" - - /* A bundle is 128 bits */ ---- a/sysdeps/linux-gnu/ia64/breakpoint.c -+++ b/sysdeps/linux-gnu/ia64/breakpoint.c -@@ -6,10 +6,7 @@ - - #include - #include --#include "arch.h" --#include "options.h" --#include "output.h" --#include "debug.h" -+#include "common.h" - - static long long - extract_bit_field(char *bundle, int from, int len) { ---- a/sysdeps/linux-gnu/ia64/regs.c -+++ b/sysdeps/linux-gnu/ia64/regs.c -@@ -7,7 +7,6 @@ - #include - - #include --#include "debug.h" - #include "common.h" - - void * diff --git a/packages/ltrace/0.5.3/0003-add-sysdep.patch b/packages/ltrace/0.5.3/0003-add-sysdep.patch deleted file mode 100644 index 8f17f9d..0000000 --- a/packages/ltrace/0.5.3/0003-add-sysdep.patch +++ /dev/null @@ -1,19 +0,0 @@ -This patch is courtesy of OpenEmbedded, by Khem Raj - -http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=b85b779688f0abc389e3c25d06b54de8b86385c1 - ---- - Makefile.in | 2 ++ - 1 file changed, 2 insertions(+) - ---- a/Makefile.in -+++ b/Makefile.in -@@ -39,6 +39,8 @@ - libltrace.a: sysdeps/sysdep.o $(OBJ) - $(AR) rcv $@ $^ - -+$(OBJ): sysdeps/sysdep.o -+ - sysdeps/sysdep.o: dummy - $(MAKE) -C sysdeps/$(OS) - diff --git a/packages/ltrace/0.5.3/0004-mips.patch b/packages/ltrace/0.5.3/0004-mips.patch deleted file mode 100644 index f477fa7..0000000 --- a/packages/ltrace/0.5.3/0004-mips.patch +++ /dev/null @@ -1,40 +0,0 @@ -This patch is courtesy of OpenEmbedded, by Khem Raj - -http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=b85b779688f0abc389e3c25d06b54de8b86385c1 - ---- - handle_event.c | 3 ++- - sysdeps/linux-gnu/mipsel/plt.c | 2 +- - sysdeps/linux-gnu/mipsel/regs.c | 1 - - 3 files changed, 3 insertions(+), 3 deletions(-) - ---- a/sysdeps/linux-gnu/mipsel/plt.c -+++ b/sysdeps/linux-gnu/mipsel/plt.c -@@ -1,4 +1,4 @@ --#include -+#include "debug.h" - #include - #include - #include "common.h" ---- a/sysdeps/linux-gnu/mipsel/regs.c -+++ b/sysdeps/linux-gnu/mipsel/regs.c -@@ -4,7 +4,6 @@ - #include - #include - #include --#include - - #include "common.h" - #include "mipsel.h" ---- a/handle_event.c -+++ b/handle_event.c -@@ -573,7 +573,8 @@ - void *old_addr; - struct library_symbol *sym= event->proc->callstack[i].c_un.libfunc; - assert(sym); -- old_addr = dict_find_entry(event->proc->breakpoints, sym2addr(event->proc, sym))->addr; -+ struct Breakpoint *tbp = dict_find_entry(event->proc->breakpoints, sym2addr(event->proc, sym)); -+ old_addr = tbp->addr; - addr=sym2addr(event->proc,sym); - assert(old_addr !=0 && addr !=0); - if(addr != old_addr){ diff --git a/packages/ltrace/0.5.3/0005-mips-remove-CP.patch b/packages/ltrace/0.5.3/0005-mips-remove-CP.patch deleted file mode 100644 index 5ba3340..0000000 --- a/packages/ltrace/0.5.3/0005-mips-remove-CP.patch +++ /dev/null @@ -1,18 +0,0 @@ -This patch is courtesy of OpenEmbedded, by Khem Raj - -http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=b85b779688f0abc389e3c25d06b54de8b86385c1 - ---- - sysdeps/linux-gnu/mipsel/trace.c | 1 - - 1 file changed, 1 deletion(-) - ---- a/sysdeps/linux-gnu/mipsel/trace.c -+++ b/sysdeps/linux-gnu/mipsel/trace.c -@@ -127,7 +127,6 @@ - return ret; - } else { - // If we need this, I think we can look at [sp+16] for arg_num==4. -- CP; - return 0; - } - } diff --git a/packages/ltrace/0.5.3/0006-allow-configurable-arch.patch b/packages/ltrace/0.5.3/0006-allow-configurable-arch.patch deleted file mode 100644 index 171d7dd..0000000 --- a/packages/ltrace/0.5.3/0006-allow-configurable-arch.patch +++ /dev/null @@ -1,48 +0,0 @@ -This patch is to ensure the proper ARCH is selected when cross compiling. Make -sure to call the configure script with, e.g., HOST=arm ./configure to select -the arm sysdeps. - - Joachim Nilsson - ---- - Makefile.in | 6 ++++-- - configure | 2 +- - sysdeps/linux-gnu/Makefile | 2 +- - 3 files changed, 6 insertions(+), 4 deletions(-) - ---- a/configure -+++ b/configure -@@ -110,7 +110,7 @@ - # - # Makefile.in -> Makefile - # --x_subst_vars='PACKAGE_VERSION HOST_OS INSTALL CC CPPFLAGS CFLAGS LDFLAGS LIBS iquote iquoteend prefix sysconfdir mandir docdir' -+x_subst_vars='PACKAGE_VERSION HOST HOST_OS INSTALL CC CPPFLAGS CFLAGS LDFLAGS LIBS iquote iquoteend prefix sysconfdir mandir docdir' - - for i in $x_subst_vars - do ---- a/Makefile.in -+++ b/Makefile.in -@@ -1,10 +1,12 @@ - # - # ltrace's Makefile.in - # -- -+MY_TARGET = @HOST@ -+ifdef MY_TARGET -+ARCH = $(MY_TARGET) -+endif - #OS := $(shell uname -s) - OS := @HOST_OS@ -- - TOPDIR = $(shell pwd) - - prefix = @prefix@ ---- a/sysdeps/linux-gnu/Makefile -+++ b/sysdeps/linux-gnu/Makefile -@@ -1,4 +1,4 @@ --ARCH := $(shell uname -m | sed \ -+ARCH ?= $(shell uname -m | sed \ - -e s/i.86/i386/ \ - -e s/sun4u/sparc64/ \ - -e s/sparc64/sparc/ \ diff --git a/packages/ltrace/0.5.3/0007-fix-missing-ptrace-defines.patch b/packages/ltrace/0.5.3/0007-fix-missing-ptrace-defines.patch deleted file mode 100644 index f4e31d9..0000000 --- a/packages/ltrace/0.5.3/0007-fix-missing-ptrace-defines.patch +++ /dev/null @@ -1,85 +0,0 @@ -This patch tries to fix the issue when PTRACE_EVENT_FORK is not found in the standard -system headers. The begininngs of this was already in place in trace.c, this patch -only takes that idea and puts it in a shared include file for trace.c *and* events.c. -The latter of which otherwise fails to build on Arm. - - Joachim Nilsson - ---- - sysdeps/linux-gnu/events.c | 3 +-- - sysdeps/linux-gnu/ppc/plt.c | 1 + - sysdeps/linux-gnu/trace.c | 3 +-- - sysdeps/linux-gnu/trace.h | 32 ++++++++++++++++++++++++++++++++ - 4 files changed, 35 insertions(+), 4 deletions(-) - ---- a/sysdeps/linux-gnu/events.c -+++ b/sysdeps/linux-gnu/events.c -@@ -7,9 +7,8 @@ - #include - #include - #include --#include - --#include "common.h" -+#include "trace.h" - - static Event event; - ---- a/sysdeps/linux-gnu/trace.c -+++ b/sysdeps/linux-gnu/trace.c -@@ -5,10 +5,9 @@ - #include - #include - #include --#include "ptrace.h" - #include - --#include "common.h" -+#include "trace.h" - - /* If the system headers did not provide the constants, hard-code the normal - values. */ ---- /dev/null -+++ b/sysdeps/linux-gnu/trace.h -@@ -0,0 +1,32 @@ -+/* If the system headers did not provide the constants, hard-code the normal values. */ -+#ifndef __SYSDEPS_TRACE_H__ -+#define __SYSDEPS_TRACE_H__ -+ -+#include "ptrace.h" -+#include "common.h" -+ -+#ifndef PTRACE_EVENT_FORK -+#warning PTRACE_EVENT_FORK not found... redefining. -+#define PTRACE_OLDSETOPTIONS 21 -+#define PTRACE_SETOPTIONS 0x4200 -+#define PTRACE_GETEVENTMSG 0x4201 -+ -+/* options set using PTRACE_SETOPTIONS */ -+#define PTRACE_O_TRACESYSGOOD 0x00000001 -+#define PTRACE_O_TRACEFORK 0x00000002 -+#define PTRACE_O_TRACEVFORK 0x00000004 -+#define PTRACE_O_TRACECLONE 0x00000008 -+#define PTRACE_O_TRACEEXEC 0x00000010 -+#define PTRACE_O_TRACEVFORKDONE 0x00000020 -+#define PTRACE_O_TRACEEXIT 0x00000040 -+ -+/* Wait extended result codes for the above trace options. */ -+#define PTRACE_EVENT_FORK 1 -+#define PTRACE_EVENT_VFORK 2 -+#define PTRACE_EVENT_CLONE 3 -+#define PTRACE_EVENT_EXEC 4 -+#define PTRACE_EVENT_VFORK_DONE 5 -+#define PTRACE_EVENT_EXIT 6 -+ -+#endif /* PTRACE_EVENT_FORK */ -+#endif /* __SYSDEPS_TRACE_H__ */ ---- a/sysdeps/linux-gnu/ppc/plt.c -+++ b/sysdeps/linux-gnu/ppc/plt.c -@@ -1,5 +1,6 @@ - #include - #include "common.h" -+#include "ptrace.h" - - GElf_Addr - arch_plt_sym_val(struct ltelf *lte, size_t ndx, GElf_Rela * rela) { diff --git a/packages/ltrace/0.5.3/0008-lib-supcc.patch b/packages/ltrace/0.5.3/0008-lib-supcc.patch deleted file mode 100644 index cbb1975..0000000 --- a/packages/ltrace/0.5.3/0008-lib-supcc.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- - configure | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - ---- a/configure -+++ b/configure -@@ -78,7 +78,10 @@ - rm -f conftest.c a.out - - CFLAGS='-g -O2' --LIBS='-lelf -lsupc++ -liberty ' -+LIBS='-lelf' -+[ -n "$HAVE_LIBSUPC__" ] && LIBS="$LIBS -lsupc++" -+[ -n "$HAVE_LIBIBERTY" ] && LIBS="$LIBS -liberty" -+ - INSTALL='install -c' - iquote='-iquote ' - iquoteend='' diff --git a/packages/ltrace/0.5.3/0009-libltrace-genindex.patch b/packages/ltrace/0.5.3/0009-libltrace-genindex.patch deleted file mode 100644 index 929738f..0000000 --- a/packages/ltrace/0.5.3/0009-libltrace-genindex.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- - Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/Makefile.in -+++ b/Makefile.in -@@ -39,7 +39,7 @@ - $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ - - libltrace.a: sysdeps/sysdep.o $(OBJ) -- $(AR) rcv $@ $^ -+ $(AR) rscv $@ $^ - - $(OBJ): sysdeps/sysdep.o - diff --git a/packages/ltrace/0.5.3/0010-ar-configurable.patch b/packages/ltrace/0.5.3/0010-ar-configurable.patch deleted file mode 100644 index 99edbce..0000000 --- a/packages/ltrace/0.5.3/0010-ar-configurable.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- - Makefile.in | 1 + - configure | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - ---- a/Makefile.in -+++ b/Makefile.in -@@ -15,6 +15,7 @@ - mandir = @mandir@ - docdir = $(prefix)/share/doc/ltrace - -+AR = @AR@ - CC = @CC@ - CFLAGS = -Wall @CFLAGS@ - CPPFLAGS = -iquote $(TOPDIR) -iquote $(TOPDIR)/sysdeps/$(OS) -DSYSCONFDIR=\"$(sysconfdir)\" @CPPFLAGS@ ---- a/configure -+++ b/configure -@@ -113,7 +113,7 @@ - # - # Makefile.in -> Makefile - # --x_subst_vars='PACKAGE_VERSION HOST HOST_OS INSTALL CC CPPFLAGS CFLAGS LDFLAGS LIBS iquote iquoteend prefix sysconfdir mandir docdir' -+x_subst_vars='PACKAGE_VERSION HOST HOST_OS INSTALL AR CC CPPFLAGS CFLAGS LDFLAGS LIBS iquote iquoteend prefix sysconfdir mandir docdir' - - for i in $x_subst_vars - do diff --git a/packages/ltrace/0.5.3/0011-configure-hostos.patch b/packages/ltrace/0.5.3/0011-configure-hostos.patch deleted file mode 100644 index 9637212..0000000 --- a/packages/ltrace/0.5.3/0011-configure-hostos.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- - configure | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - ---- a/configure -+++ b/configure -@@ -15,8 +15,12 @@ - echo $PACKAGE_VERSION - - echo -n "checking HOST_OS... " --HOST_OS=$( uname -s ) --if [ "$HOST_OS" = "Linux" ] -+if [ -z "$HOST_OS" ] ; then -+ HOST_OS=$( uname -s ) -+else -+ echo -n "using preset: " -+fi -+if [ "$HOST_OS" = "Linux" -o "$HOST_OS" = "linux" ] - then - HOST_OS="linux-gnu" - fi diff --git a/packages/ltrace/0.5.3/chksum b/packages/ltrace/0.5.3/chksum deleted file mode 100644 index 30234f9..0000000 --- a/packages/ltrace/0.5.3/chksum +++ /dev/null @@ -1,4 +0,0 @@ -md5 ltrace_0.5.3.orig.tar.gz 3fa7fe715ab879db08bd06d1d59fd90f -sha1 ltrace_0.5.3.orig.tar.gz d1db70ee633d04dec398df75a312343808e3bb72 -sha256 ltrace_0.5.3.orig.tar.gz 5c6627d6d5a98a92ca4661cfc16378b182cc46a9ec479ebf7e6121ee3fe2be32 -sha512 ltrace_0.5.3.orig.tar.gz acc6cbf0e28b7d887d8a8a9e493b436a383d40555a9979494cbced1c2f51592fc74242c3858f75a58fdd699549370d555752325d283326cc2b1bc8cddddab906 diff --git a/packages/ltrace/0.5.3/version.desc b/packages/ltrace/0.5.3/version.desc deleted file mode 100644 index 17de7cf..0000000 --- a/packages/ltrace/0.5.3/version.desc +++ /dev/null @@ -1,2 +0,0 @@ -obsolete='yes' -archive_formats='.tar.gz' -- cgit v0.10.2-6-g49f6