diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-01 19:12:51 -0700 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-09-01 19:17:31 -0700 |
commit | d90a3c0ca5284e929f95f61b1c80b473233bc3cc (patch) | |
tree | b68ae55f3b810936774b32b2e5bd4a485e1038d7 /patches/ltrace/0.7.3/001-avoid-libstdc++.patch | |
parent | 5b4aec54c7e2ef734bee7bc0d447f58fb4293dc4 (diff) | |
download | crosstool-ng-d90a3c0ca5284e929f95f61b1c80b473233bc3cc.tar.gz crosstool-ng-d90a3c0ca5284e929f95f61b1c80b473233bc3cc.tar.bz2 crosstool-ng-d90a3c0ca5284e929f95f61b1c80b473233bc3cc.zip |
ltrace: Sync ltrace patches with debian
This commit syncs the patches applied to ltrace with debian:
https://sources.debian.net/src/ltrace/0.7.3-5/debian/patches/
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'patches/ltrace/0.7.3/001-avoid-libstdc++.patch')
-rw-r--r-- | patches/ltrace/0.7.3/001-avoid-libstdc++.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/patches/ltrace/0.7.3/001-avoid-libstdc++.patch b/patches/ltrace/0.7.3/001-avoid-libstdc++.patch new file mode 100644 index 00000000..9cbf5575 --- /dev/null +++ b/patches/ltrace/0.7.3/001-avoid-libstdc++.patch @@ -0,0 +1,43 @@ +From: Juan Cespedes <cespedes@debian.org> +Description: avoid warning from dpkg-shlibdeps: + package could avoid a useless dependency if ltrace was not + linked against libstdc++.so.6 (it uses none of the library's symbols) +Last-Update: 2013-12-30 + + +--- a/configure.ac 2013-09-17 01:04:28.000000000 +0200 ++++ b/configure.ac 2013-12-30 12:24:20.000000000 +0100 +@@ -113,6 +113,15 @@ + libstdcxx_LIBS=""]) + AC_SUBST(libstdcxx_LIBS) + ++if test "x$liberty_LIBS" != "x" ++then ++ libsupcxx_LIBS="" ++ libstdcxx_LIBS="" ++elif test "x$libsupcxx_LIBS" != "x" ++then ++ libstdcxx_LIBS="" ++fi ++ + + dnl Check security_get_boolean_active availability. + AC_CHECK_HEADERS(selinux/selinux.h) +--- a/configure 2013-09-17 01:07:46.000000000 +0100 ++++ b/configure 2013-12-30 12:34:23.000000000 +0100 +@@ -11826,6 +11826,15 @@ + + + ++if test "x$liberty_LIBS" != "x" ++then ++ libsupcxx_LIBS="" ++ libstdcxx_LIBS="" ++elif test "x$libsupcxx_LIBS" != "x" ++then ++ libstdcxx_LIBS="" ++fi ++ + + for ac_header in selinux/selinux.h + do : |