aboutsummaryrefslogtreecommitdiff
path: root/packages/ltrace/0.7.3/0000-avoid-libstdc++.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-12-02 12:44:39 -0800
committerAlexey Neyman <stilor@att.net>2017-12-02 12:44:39 -0800
commit98bc4decdeab1361bdc585c86591718fb08c8ffb (patch)
tree4e048ed57988306696efa3c5b81a80d48030e913 /packages/ltrace/0.7.3/0000-avoid-libstdc++.patch
parent2a1935f3ad41d360dd3d96a1b0486083293651dd (diff)
downloadcrosstool-ng-98bc4decdeab1361bdc585c86591718fb08c8ffb.tar.gz
crosstool-ng-98bc4decdeab1361bdc585c86591718fb08c8ffb.tar.bz2
crosstool-ng-98bc4decdeab1361bdc585c86591718fb08c8ffb.zip
Run all patches through renumbering and update
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/ltrace/0.7.3/0000-avoid-libstdc++.patch')
-rw-r--r--packages/ltrace/0.7.3/0000-avoid-libstdc++.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/packages/ltrace/0.7.3/0000-avoid-libstdc++.patch b/packages/ltrace/0.7.3/0000-avoid-libstdc++.patch
new file mode 100644
index 00000000..300fa3a8
--- /dev/null
+++ b/packages/ltrace/0.7.3/0000-avoid-libstdc++.patch
@@ -0,0 +1,48 @@
+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
+
+
+---
+ configure | 9 +++++++++
+ configure.ac | 9 +++++++++
+ 2 files changed, 18 insertions(+)
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -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
++++ b/configure
+@@ -11750,6 +11750,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 :