As I said I would in the original bug report I have now uploaded the fix for this as a NMU.

The debdiff is the same as in the original bug report other than tweaking the changelog to set the target distribution and add the bug number.


diff -u mgetty-1.1.36/debian/changelog mgetty-1.1.36/debian/changelog
--- mgetty-1.1.36/debian/changelog
+++ mgetty-1.1.36/debian/changelog
@@ -1,3 +1,10 @@
+mgetty (1.1.36-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add arm64 to the list of 64-bit architectures. Closes: #764924
+
+ -- Peter Michael Green <[email protected]>  Sun, 12 Oct 2014 02:09:38 +0000
+
 mgetty (1.1.36-2) unstable; urgency=medium
 
   * Don't ship folders within /var/run or /var/lock anymore. Closes: #689899
diff -u mgetty-1.1.36/debian/patches/00list mgetty-1.1.36/debian/patches/00list
--- mgetty-1.1.36/debian/patches/00list
+++ mgetty-1.1.36/debian/patches/00list
@@ -29,0 +30 @@
+79-arm64
\ No newline at end of file
only in patch2:
unchanged:
--- mgetty-1.1.36.orig/debian/patches/79-arm64
+++ mgetty-1.1.36/debian/patches/79-arm64
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 79-arm64.dpatch by  <[email protected]>
+## 
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: add aarch64 (reffered to in debian as arm64) to list of 64-bit 
architectures
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
mgetty-1.1.36~/mgetty.h mgetty-1.1.36/mgetty.h
+--- mgetty-1.1.36~/mgetty.h    2014-10-12 02:02:38.000000000 +0000
++++ mgetty-1.1.36/mgetty.h     2014-10-12 02:06:46.000000000 +0000
+@@ -198,7 +198,7 @@
+  */
+ #if defined(__alpha__) || defined(__sparc64__) || \
+           defined(__ia64__) || defined(__s390x__) || defined(__x86_64__) || \
+-          defined(__powerpc64__)
++          defined(__powerpc64__) || defined (__aarch64__)
+ # define PTR_IS_LONG
+ #endif
+ 

Reply via email to