From a57acf0086ca1589b0c87b1de8051a6f9f599273 Mon Sep 17 00:00:00 2001
From: Jun Kuriyama <kuriyama@FreeBSD.org>
Date: Sat, 10 May 2003 07:55:33 +0000
Subject: Add a patch for mpi/config.links to avoid infinite loop on sparc64.

MPI assembler function for sparc32 is used for our sparc64, but it
will not work on it.  So use generic (C) version for sparc64-*-freebsd*.
---
 security/gnupg/files/patch-config.links  | 15 +++++++++++++++
 security/gnupg1/files/patch-config.links | 15 +++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 100644 security/gnupg/files/patch-config.links
 create mode 100644 security/gnupg1/files/patch-config.links

diff --git a/security/gnupg/files/patch-config.links b/security/gnupg/files/patch-config.links
new file mode 100644
index 000000000000..35a0316c8ae9
--- /dev/null
+++ b/security/gnupg/files/patch-config.links
@@ -0,0 +1,15 @@
+--- mpi/config.links.orig	Thu Apr 24 20:15:58 2003
++++ mpi/config.links	Sat May 10 16:29:28 2003
+@@ -142,6 +142,12 @@
+        echo '/* configured for sparc64-*netbsd */' >>./mpi/asm-syntax.h
+        path=""
+        ;;
++    sparc64-*-freebsd*)
++       # There are no sparc64 assembler modules that work, so
++       # just use generic C functions
++       echo '/* configured for sparc64-*freebsd* */' >>./mpi/asm-syntax.h
++       path=""
++       ;;
+     sparc9*-*-*     | \
+     sparc64*-*-*    | \
+     ultrasparc*-*-* )
diff --git a/security/gnupg1/files/patch-config.links b/security/gnupg1/files/patch-config.links
new file mode 100644
index 000000000000..35a0316c8ae9
--- /dev/null
+++ b/security/gnupg1/files/patch-config.links
@@ -0,0 +1,15 @@
+--- mpi/config.links.orig	Thu Apr 24 20:15:58 2003
++++ mpi/config.links	Sat May 10 16:29:28 2003
+@@ -142,6 +142,12 @@
+        echo '/* configured for sparc64-*netbsd */' >>./mpi/asm-syntax.h
+        path=""
+        ;;
++    sparc64-*-freebsd*)
++       # There are no sparc64 assembler modules that work, so
++       # just use generic C functions
++       echo '/* configured for sparc64-*freebsd* */' >>./mpi/asm-syntax.h
++       path=""
++       ;;
+     sparc9*-*-*     | \
+     sparc64*-*-*    | \
+     ultrasparc*-*-* )
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0