* [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/files/
@ 2020-05-02 20:42 Mike Gilbert
0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert @ 2020-05-02 20:42 UTC (permalink / raw
To: gentoo-commits
commit: 3f5d5c43f7239c2e5571a8bda595fe38b4aaf129
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat May 2 20:41:54 2020 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat May 2 20:41:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f5d5c43
dev-util/strace: use AM_PROG_AR
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
dev-util/strace/files/strace-5.6-AR.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-util/strace/files/strace-5.6-AR.patch b/dev-util/strace/files/strace-5.6-AR.patch
index ac8cc31e1d7..8386bc41882 100644
--- a/dev-util/strace/files/strace-5.6-AR.patch
+++ b/dev-util/strace/files/strace-5.6-AR.patch
@@ -1,4 +1,4 @@
-From 0b0dccc7f198ce93f9b5faa3613b1630bffb338f Mon Sep 17 00:00:00 2001
+From 81e11a9b8c9469002833bd1707a435b1f81baf92 Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Sat, 2 May 2020 16:25:21 -0400
Subject: [PATCH] configure: check AR variable for 'ar' tool
@@ -11,14 +11,14 @@ Bug: https://bugs.gentoo.org/720712
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
-index 6aabc2c8..7d6dde67 100644
+index 6aabc2c8..da486c24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,6 +36,7 @@ AC_PROG_CC_STDC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_RANLIB
-+AC_CHECK_TOOL([AR], [ar])
++AM_PROG_AR
AC_USE_SYSTEM_EXTENSIONS
AX_CODE_COVERAGE
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/files/
@ 2020-08-17 16:28 Aaron Bauman
0 siblings, 0 replies; 3+ messages in thread
From: Aaron Bauman @ 2020-08-17 16:28 UTC (permalink / raw
To: gentoo-commits
commit: fd8c0d79da91672a57d200e10e4d7dfc2d178b30
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Aug 11 18:37:00 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 16:28:00 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd8c0d79
dev-util/strace: remove unused patch
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17089
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
dev-util/strace/files/strace-5.6-AR.patch | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/dev-util/strace/files/strace-5.6-AR.patch b/dev-util/strace/files/strace-5.6-AR.patch
deleted file mode 100644
index 8386bc41882..00000000000
--- a/dev-util/strace/files/strace-5.6-AR.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 81e11a9b8c9469002833bd1707a435b1f81baf92 Mon Sep 17 00:00:00 2001
-From: Mike Gilbert <floppym@gentoo.org>
-Date: Sat, 2 May 2020 16:25:21 -0400
-Subject: [PATCH] configure: check AR variable for 'ar' tool
-
-Without this, automake always hardcodes 'AR = ar' in Makefile.in
-
-Bug: https://bugs.gentoo.org/720712
----
- configure.ac | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/configure.ac b/configure.ac
-index 6aabc2c8..da486c24 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -36,6 +36,7 @@ AC_PROG_CC_STDC
- AC_PROG_CPP
- AC_PROG_INSTALL
- AC_PROG_RANLIB
-+AM_PROG_AR
-
- AC_USE_SYSTEM_EXTENSIONS
- AX_CODE_COVERAGE
---
-2.26.2
-
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/files/
@ 2021-07-10 21:16 Conrad Kostecki
0 siblings, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2021-07-10 21:16 UTC (permalink / raw
To: gentoo-commits
commit: 8a36cb230f7a11edf480ebf6e7e2001ea49fe3f9
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat May 1 17:55:14 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jul 10 21:04:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a36cb23
dev-util/strace: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/20635
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-util/strace/files/strace-5.5-static.patch | 178 --------------------------
1 file changed, 178 deletions(-)
diff --git a/dev-util/strace/files/strace-5.5-static.patch b/dev-util/strace/files/strace-5.5-static.patch
deleted file mode 100644
index da57ee0f938..00000000000
--- a/dev-util/strace/files/strace-5.5-static.patch
+++ /dev/null
@@ -1,178 +0,0 @@
---- /Makefile.am
-+++ /Makefile.am
-@@ -379,7 +379,6 @@
- if USE_LIBDW
- strace_SOURCES += unwind-libdw.c
- strace_CPPFLAGS += $(libdw_CPPFLAGS)
--strace_CFLAGS += $(libdw_CFLAGS)
- strace_LDFLAGS += $(libdw_LDFLAGS)
- strace_LDADD += $(libdw_LIBS)
- endif
---- /configure.ac
-+++ /configure.ac
-@@ -48,6 +48,15 @@
- AC_DEFINE([MANPAGE_DATE], "[manpage_date]", [Date])
- AC_SUBST([MANPAGE_DATE], [manpage_date])
-
-+AC_ARG_ENABLE([static],
-+ [AS_HELP_STRING([--enable-static],
-+ [link strace statically])],
-+ [], [enable_static=no])
-+if test "$enable_static" = "yes"; then
-+ # Add -pthread since strace wants -lrt for timer_create, and -lrt uses -lpthread.
-+ LDFLAGS="$LDFLAGS -pthread -static"
-+fi
-+
- AC_C_BIGENDIAN
-
- AC_MSG_CHECKING([for supported architecture])
---- /m4/st_libdw.m4
-+++ /m4/st_libdw.m4
-@@ -8,7 +8,6 @@
- AC_DEFUN([st_ARG_LIBDW], [dnl
-
- : ${libdw_CPPFLAGS=}
--: ${libdw_CFLAGS=}
- : ${libdw_LDFLAGS=}
- : ${libdw_LIBS=}
-
-@@ -34,48 +33,14 @@
- have_libdw=
-
- AS_IF([test "x$with_libdw" != xno && test "x$use_unwinder" = x],
-- [saved_CPPFLAGS="$CPPFLAGS"
-- saved_CFLAGS="$CFLAGS"
-- CPPFLAGS="$CPPFLAGS $libdw_CPPFLAGS"
-- CFLAGS="$CFLAGS $libdw_CFLAGS"
--
-- AC_CHECK_HEADERS([elfutils/libdwfl.h],
-- [AC_CHECK_LIB([dw], [dwfl_linux_proc_attach],
-- [libdw_LIBS="-ldw $libdw_LIBS"
-- AC_CACHE_CHECK([for elfutils version],
-- [st_cv_ELFUTILS_VERSION],
-- [[st_cv_ELFUTILS_VERSION="$(echo _ELFUTILS_VERSION |
-- $CPP $CPPFLAGS -P -imacros elfutils/version.h - |
-- grep '^[0-9]')"
-- test -n "$st_cv_ELFUTILS_VERSION" ||
-- st_cv_ELFUTILS_VERSION=0
-- ]]
-- )
-- AS_IF([test "$st_cv_ELFUTILS_VERSION" -ge 164],
-- [have_libdw=yes],
-- [AS_IF([test "x$with_libdw" = xyes],
-- [AC_MSG_ERROR([elfutils version >= 164 is required for stack tracing support])],
-- [AC_MSG_WARN([elfutils version >= 164 is required for stack tracing support])]
-- )
-- ]
-- )
-- ],
-- [AS_IF([test "x$with_libdw" = xyes],
-- [AC_MSG_FAILURE([failed to find dwfl_linux_proc_attach in libdw])],
-- )
-- ],
-- [$libdw_LDFLAGS $libdw_LIBS]
-- )
-- ],
-- [AS_IF([test "x$with_libdw" = xyes],
-- [AC_MSG_FAILURE([failed to find elfutils/libdwfl.h])]
-- )
-- ]
-- )
--
-- CFLAGS="$saved_CFLAGS"
-- CPPFLAGS="$saved_CPPFLAGS"
-- ]
-+ [if test "$enable_static" = "yes"; then
-+ PKG_CHECK_MODULES_STATIC([LIBDW], [libdw >= 0.164])
-+ else
-+ PKG_CHECK_MODULES([LIBDW], [libdw >= 0.164])
-+ fi
-+ have_libdw=yes
-+ libdw_CPPFLAGS="$LIBDW_CFLAGS"
-+ libdw_LIBS="$LIBDW_LIBS"]
- )
-
- AS_IF([test "x$have_libdw" = xyes],
-@@ -84,7 +49,6 @@
- [Whether to use libdw for stack tracing]
- )
- AC_SUBST(libdw_CPPFLAGS)
-- AC_SUBST(libdw_CFLAGS)
- AC_SUBST(libdw_LDFLAGS)
- AC_SUBST(libdw_LIBS)
- ]
---- /m4/st_libunwind.m4
-+++ /m4/st_libunwind.m4
-@@ -28,64 +28,14 @@
- libunwind_LIBS=
-
- AS_IF([test "x$with_libunwind" != xno && test "x$use_unwinder" = x],
-- [saved_CPPFLAGS="$CPPFLAGS"
-- CPPFLAGS="$CPPFLAGS $libunwind_CPPFLAGS"
--
-- AC_CHECK_HEADERS([libunwind-ptrace.h],
-- [saved_LDFLAGS="$LDFLAGS"
-- LDFLAGS="$LDFLAGS $libunwind_LDFLAGS"
--
-- AC_CHECK_LIB([unwind], [backtrace],
-- [libunwind_LIBS="-lunwind $libunwind_LIBS"
--
-- AC_MSG_CHECKING([for unw_create_addr_space in libunwind-generic])
-- saved_LIBS="$LIBS"
-- LIBS="-lunwind-generic $libunwind_LIBS $LIBS"
--
-- AC_LINK_IFELSE(
-- [AC_LANG_PROGRAM([[#include <libunwind-ptrace.h>]],
-- [[return !unw_create_addr_space(0, 0)]])
-- ],
-- [AC_MSG_RESULT([yes])
-- libunwind_LIBS="-lunwind-generic $libunwind_LIBS"
--
-- AC_CHECK_LIB([unwind-ptrace], [_UPT_create],
-- [libunwind_LIBS="-lunwind-ptrace $libunwind_LIBS"
-- use_unwinder=libunwind
-- ],
-- [if test "x$with_libunwind" != xcheck; then
-- AC_MSG_FAILURE([failed to find _UPT_create in libunwind-ptrace])
-- fi
-- ],
-- [$libunwind_LIBS]
-- )
-- ],
-- [AC_MSG_RESULT([no])
-- if test "x$with_libunwind" != xcheck; then
-- AC_MSG_FAILURE([failed to find unw_create_addr_space in libunwind-generic])
-- fi
-- ]
-- )
--
-- LIBS="$saved_LIBS"
-- ],
-- [if test "x$with_libunwind" != xcheck; then
-- AC_MSG_FAILURE([failed to find libunwind])
-- fi
-- ],
-- [$libunwind_LIBS]
-- )
--
-- LDFLAGS="$saved_LDFLAGS"
-- ],
-- [if test "x$with_libunwind" != xcheck; then
-- AC_MSG_FAILURE([failed to find libunwind-ptrace.h])
-- fi
-- ]
-- )
--
-- CPPFLAGS="$saved_CPPFLAGS"
-- ]
-+ [if test "$enable_static" = "yes"; then
-+ PKG_CHECK_MODULES_STATIC([LIBUNWIND], [libunwind libunwind-generic libunwind-ptrace])
-+ else
-+ PKG_CHECK_MODULES([LIBUNWIND], [libunwind libunwind-generic libunwind-ptrace])
-+ fi
-+ use_unwinder="libunwind"
-+ libunwind_CPPFLAGS="$LIBUNWIND_CFLAGS"
-+ libunwind_LIBS="$LIBUNWIND_LIBS"]
- )
-
- if test "x$use_unwinder" = xlibunwind; then
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-10 21:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-02 20:42 [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/files/ Mike Gilbert
-- strict thread matches above, loose matches on Subject: below --
2020-08-17 16:28 Aaron Bauman
2021-07-10 21:16 Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox