Package: gnupg
Version: 1.4.10-2
Severity: normal
Tags: patch

gnupg fails to build on sparc64, as it tries to use SPARC32 assembly
code on SPARC64. The patch below fixes the problem.

--- gnupg-1.4.10.orig/mpi/config.links
+++ gnupg-1.4.10/mpi/config.links
@@ -124,11 +124,10 @@
        mpi_extra_modules="udiv-qrnnd"
        ;;
     sparc64-*-linux-gnu)
-       # An extra rule because we have an report for this one only.
-       # Should be compared against the next GMP version
-       echo '/* configured for sparc64-*-linux-gnu */' >>./mpi/asm-syntax.h
-       path="sparc32v8 sparc32"
-       mpi_extra_modules="udiv"
+       # There are no sparc64 assembler modules that work on GNU/Linux,
+       # so use the generic C functions.
+       echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h
+       path=""
        ;;
     sparc64-sun-solaris2*)
        # Got a report that udiv is missing, so we try this one


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc64

Kernel: Linux 2.6.31-1-sparc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to