aboutsummaryrefslogtreecommitdiff
path: root/packages/ltrace/0.7.3/001-avoid-libstdc++.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-13 00:38:03 -0700
committerGitHub <noreply@github.com>2017-07-13 00:38:03 -0700
commit45c5bb0f484cba724be2c6105801dcce9a1a82d9 (patch)
tree8fd1c8eaa2ef203009d72b6ca6348611dcc5ee1c /packages/ltrace/0.7.3/001-avoid-libstdc++.patch
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
parentb32fcf7c1eea890a2bd3f88487f818ba241aabb1 (diff)
downloadcrosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.tar.gz
crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.tar.bz2
crosstool-ng-45c5bb0f484cba724be2c6105801dcce9a1a82d9.zip
Merge pull request #767 from stilor/packages
Packages
Diffstat (limited to 'packages/ltrace/0.7.3/001-avoid-libstdc++.patch')
-rw-r--r--packages/ltrace/0.7.3/001-avoid-libstdc++.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/ltrace/0.7.3/001-avoid-libstdc++.patch b/packages/ltrace/0.7.3/001-avoid-libstdc++.patch
new file mode 100644
index 00000000..9cbf5575
--- /dev/null
+++ b/packages/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 :