Control: tags 758710 + patch
Control: tags 758710 + pending

Dear maintainer,

I've prepared an NMU for sigscheme (versioned as 0.8.5-4.2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
Regards,
        dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
diff -Nru sigscheme-0.8.5/debian/changelog sigscheme-0.8.5/debian/changelog
--- sigscheme-0.8.5/debian/changelog	2014-04-17 16:44:10.000000000 +0900
+++ sigscheme-0.8.5/debian/changelog	2015-01-27 19:00:22.000000000 +0900
@@ -1,3 +1,15 @@
+sigscheme (0.8.5-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * fix FTBFS on arm64 (Closes: #758710).
+    thanks to Artur Rona <[email protected]> for picking from Ubuntu.
+    - debian/libgcroots0.symbols: add arm64 support.
+    - debian/patches/aarch64.diff: new patch to add arm64 support.
+      thanks to Matthias Klose <[email protected]>.
+    - debian/patches/series: update.
+
+ -- HIGUCHI Daisuke (VDR dai) <[email protected]>  Tue, 27 Jan 2015 18:57:38 +0900
+
 sigscheme (0.8.5-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru sigscheme-0.8.5/debian/libgcroots0.symbols sigscheme-0.8.5/debian/libgcroots0.symbols
--- sigscheme-0.8.5/debian/libgcroots0.symbols	2014-04-16 21:42:14.000000000 +0900
+++ sigscheme-0.8.5/debian/libgcroots0.symbols	2015-01-27 18:57:30.000000000 +0900
@@ -5,7 +5,7 @@
  GCROOTS_init@Base 0.8.5
  GCROOTS_is_protected@Base 0.8.5
  GCROOTS_is_protected_context@Base 0.8.5
- (arch=!mips !mipsel !mipsn32 !mipsn32el !mips64 !mips64el !s390 !s390x)GCROOTS_jmp_buf@Base 0.8.5
+ (arch=!mips !mipsel !mipsn32 !mipsn32el !mips64 !mips64el !s390 !s390x !arm64)GCROOTS_jmp_buf@Base 0.8.5
  GCROOTS_mark@Base 0.8.5
  GCROOTS_noop1@Base 0.8.5
  GCROOTS_push_current_stack@Base 0.8.5
diff -Nru sigscheme-0.8.5/debian/patches/aarch64.diff sigscheme-0.8.5/debian/patches/aarch64.diff
--- sigscheme-0.8.5/debian/patches/aarch64.diff	1970-01-01 09:00:00.000000000 +0900
+++ sigscheme-0.8.5/debian/patches/aarch64.diff	2015-01-27 18:57:30.000000000 +0900
@@ -0,0 +1,76 @@
+From: Matthias Klose <[email protected]>
+Description: Added AARCH64 support to gcconfig.h (libgcroots). It needs to get symbols file updated, as well.
+Bug: https://groups.google.com/forum/#!topic/uim-en/fxixLmHXcq0
+Bug-Debian: http://bugs.debian.org/758710
+Origin: upstream, https://github.com/ctyler/libgcroots/commit/da6e6884a1119e2cf6be88b4cf5eb9091c52beeb
+
+Index: b/libgcroots/include/private/gcconfig.h
+===================================================================
+--- a/libgcroots/include/private/gcconfig.h
++++ b/libgcroots/include/private/gcconfig.h
+@@ -62,6 +62,13 @@
+ # endif
+ 
+ /* Determine the machine type: */
++# if defined(__aarch64__)
++#    define AARCH64
++#    if !defined(LINUX)
++#      define NOSYS
++#      define mach_type_known
++#    endif
++# endif
+ # if defined(__arm__) || defined(__thumb__)
+ #    define ARM32
+ #    if !defined(LINUX) && !defined(NETBSD)
+@@ -231,6 +238,10 @@
+ #    define IA64
+ #    define mach_type_known
+ # endif
++# if defined(LINUX) && defined(__aarch64__)
++#    define AARCH64
++#    define mach_type_known
++# endif
+ # if defined(LINUX) && defined(__arm__)
+ #    define ARM32
+ #    define mach_type_known
+@@ -504,6 +515,7 @@
+ 		    /* 			running Amdahl UTS4		*/
+                     /*             S390       ==> 390-like machine      */
+ 		    /*                  running LINUX                   */
++		    /*             AARCH64    ==> ARM AArch64           */
+ 		    /* 		   ARM32      ==> Intel StrongARM	*/
+ 		    /* 		   IA64	      ==> Intel IPF		*/
+ 		    /*				  (e.g. Itanium)	*/
+@@ -1724,6 +1736,32 @@
+ #   endif
+ # endif
+ 
++# ifdef AARCH64
++#   define CPP_WORDSZ 64
++#   define MACH_TYPE "AARCH64"
++#   define ALIGNMENT 8
++#   ifndef HBLKSIZE
++#     define HBLKSIZE 4096
++#   endif
++#   ifdef LINUX
++#     define OS_TYPE "LINUX"
++#     define LINUX_STACKBOTTOM
++#     define USE_GENERIC_PUSH_REGS
++#     define DYNAMIC_LOADING
++      extern int __data_start[];
++#     define DATASTART ((ptr_t)__data_start)
++      extern char _end[];
++#     define DATAEND ((ptr_t)(&_end))
++#   endif
++#   ifdef NOSYS
++      /* __data_start is usually defined in the target linker script.   */
++      extern int __data_start[];
++#     define DATASTART ((ptr_t)__data_start)
++      extern void *__stack_base__;
++#     define STACKBOTTOM ((ptr_t)__stack_base__)
++#   endif
++# endif
++
+ # ifdef ARM32
+ #   define CPP_WORDSZ 32
+ #   define MACH_TYPE "ARM32"
diff -Nru sigscheme-0.8.5/debian/patches/series sigscheme-0.8.5/debian/patches/series
--- sigscheme-0.8.5/debian/patches/series	2014-04-16 21:36:19.000000000 +0900
+++ sigscheme-0.8.5/debian/patches/series	2015-01-27 18:57:30.000000000 +0900
@@ -7,3 +7,4 @@
 test-gc-protect-0.8.5
 add-ac-config-macro-dir-m4-0.8.5
 support-automake-test-log-driver-0.8.5
+aarch64.diff

Attachment: signature.asc
Description: Digital signature

Reply via email to