[SCM] lash/master-experimental: Add patch to fix FTBFS on armel, thanks to Matthias Klose for the patch.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Oct 1 00:14:32 UTC 2010


The following commit has been merged in the master-experimental branch:
commit 002f97013f633a2cd1fa8d3e38348957f6994437
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Oct 1 02:13:16 2010 +0200

    Add patch to fix FTBFS on armel, thanks to Matthias Klose for the patch.

diff --git a/debian/patches/04_disable_stacktrace.patch b/debian/patches/04_disable_stacktrace.patch
new file mode 100644
index 0000000..6af2029
--- /dev/null
+++ b/debian/patches/04_disable_stacktrace.patch
@@ -0,0 +1,28 @@
+Description: Don't print the stacktrace on segfaults if arch is armel.
+Origin: Ubuntu, https://launchpad.net/bugs/647091
+Bug-Ubuntu: https://launchpad.net/bugs/647091
+---
+ lashd/sigsegv.c |    5 +++++
+ 1 file changed, 5 insertions(+)
+
+--- lash.orig/lashd/sigsegv.c
++++ lash/lashd/sigsegv.c
+@@ -90,6 +90,10 @@ static void signal_segv(int signum, sigi
+     lash_error("info.si_errno = %d", info->si_errno);
+     lash_error("info.si_code  = %d (%s)", info->si_code, si_codes[info->si_code]);
+     lash_error("info.si_addr  = %p", info->si_addr);
++
++#if defined(__arm__) || defined(__powerpc__)
++    lash_error("No stack trace");
++#else
+     for(i = 0; i < NGREG; i++)
+         lash_error("reg[%02d]       = 0x" REGFORMAT, i, ucontext->uc_mcontext.gregs[i]);
+ 
+@@ -143,6 +147,7 @@ static void signal_segv(int signum, sigi
+         lash_error("%s", strings[i]);
+ #endif
+     lash_error("End of stack trace");
++#endif
+     exit (-1);
+ }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 75dcc23..1d89884 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 01_install_docs.patch
 02_version_name.patch
 # 03_netdb.patch
+04_disable_stacktrace.patch

-- 
lash packaging



More information about the pkg-multimedia-commits mailing list