Dear maintainer,

Here is the debdiff for the NMU of a2jmidid that I sponsored, which
fixes this bug.  Apologies for not posting an NMU diff to the bug before
making the upload.

Further apologies for not uploading to a DELAYED queue.  I hadn't known
that the a FTBFS on a release architecture is only of RC severity if
it's a regression.

Regards.

-- 
Sean Whitton
diff -Nru a2jmidid-8~dfsg0/debian/changelog a2jmidid-8~dfsg0/debian/changelog
--- a2jmidid-8~dfsg0/debian/changelog	2016-11-01 18:45:52.000000000 +0000
+++ a2jmidid-8~dfsg0/debian/changelog	2016-12-05 13:51:07.000000000 +0000
@@ -1,3 +1,12 @@
+a2jmidid (8~dfsg0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches:
+    - ppc64-sigsegv.patch: sigsegv.c: added condition to use ucontext.h
+      for ppc64, which wasn't being covered. (Closes: #769141)
+
+ -- Fernando Seiti Furusato <ferse...@linux.vnet.ibm.com>  Mon, 05 Dec 2016 11:51:07 -0200
+
 a2jmidid (8~dfsg0-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru a2jmidid-8~dfsg0/debian/patches/ppc64-sigsegv.patch a2jmidid-8~dfsg0/debian/patches/ppc64-sigsegv.patch
--- a2jmidid-8~dfsg0/debian/patches/ppc64-sigsegv.patch	1970-01-01 01:00:00.000000000 +0100
+++ a2jmidid-8~dfsg0/debian/patches/ppc64-sigsegv.patch	2016-12-05 13:51:07.000000000 +0000
@@ -0,0 +1,19 @@
+Description: Following the same variable and struct usage within sys header
+ file ucontext.h to cover powerpc 64 bit archs.
+Author: Fernando Seiti Furusato <ferse...@br.ibm.com>
+
+--- a2jmidid-8~dfsg0.orig/sigsegv.c
++++ a2jmidid-8~dfsg0/sigsegv.c
+@@ -94,8 +94,11 @@ static void signal_segv(int signum, sigi
+ #if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__)
+     for(i = 0; i < NGREG; i++)
+         a2j_error("reg[%02d]       = 0x" REGFORMAT, i,
+-#if defined(__powerpc__)
++#if defined(__powerpc__) && !defined(__powerpc64__)
+                 ucontext->uc_mcontext.uc_regs[i]
++/* just following the variable type and member logic as the ones used here to cover ppc64*/
++#elif defined(__powerpc64__)
++                ucontext->uc_mcontext.gp_regs[i]
+ #elif defined(__sparc__) && defined(__arch64__)
+                 ucontext->uc_mcontext.mc_gregs[i]
+ #else
diff -Nru a2jmidid-8~dfsg0/debian/patches/series a2jmidid-8~dfsg0/debian/patches/series
--- a2jmidid-8~dfsg0/debian/patches/series	2016-02-12 09:50:36.000000000 +0000
+++ a2jmidid-8~dfsg0/debian/patches/series	2016-12-05 13:51:07.000000000 +0000
@@ -1 +1,2 @@
 shebangs.diff
+ppc64-sigsegv.patch

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to