diff --git a/beecrypt-4.1.2-sparc64.patch b/beecrypt-4.1.2-sparc64.patch index 453cb09..e812348 100644 --- a/beecrypt-4.1.2-sparc64.patch +++ b/beecrypt-4.1.2-sparc64.patch @@ -1,3 +1,66 @@ +diff -uNr beecrypt-4.1.2-orig/acinclude.m4 beecrypt-4.1.2/acinclude.m4 +--- beecrypt-4.1.2-orig/acinclude.m4 2004-12-19 14:16:35.000000000 -0600 ++++ beecrypt-4.1.2/acinclude.m4 2007-11-29 11:48:32.000000000 -0600 +@@ -102,6 +102,29 @@ + ;; + esac + ;; ++ sparc*) ++ case $withval in ++ sparc) ++ ;; ++ sparcv[789]) ++ bc_target_arch=sparc ++ ;; ++ sparcv9v) ++ bc_target_arch=sparc ++ ;; ++ sparc64) ++ bc_target_arch=sparc64 ++ ;; ++ sparc64v) ++ bc_target_arch=sparc64 ++ ;; ++ *) ++ AC_MSG_WARN([unsupported on invalid arch type]) ++ bc_target_arch=sparc ++ ;; ++ esac ++ ;; ++ + esac + ]) + +@@ -133,9 +156,15 @@ + s390x) + bc_target_arch=s390x + ;; +- sparc*) ++ sparc) + bc_target_arch=sparc + ;; ++ sparcv[789]*) ++ bc_target_arch=sparc ++ ;; ++ sparc64*) ++ bc_target_arch=sparc64 ++ ;; + x86_64) + bc_target_arch=x86_64 + ;; +diff -uNr beecrypt-4.1.2-orig/aclocal.m4 beecrypt-4.1.2/aclocal.m4 +--- beecrypt-4.1.2-orig/aclocal.m4 2004-12-21 05:38:18.000000000 -0600 ++++ beecrypt-4.1.2/aclocal.m4 2007-11-28 15:18:51.000000000 -0600 +@@ -1435,7 +1435,7 @@ + # find out which ABI we are using + libsuff= + case "$host_cpu" in +- x86_64*|s390x*|powerpc64*) ++ x86_64*|s390x*|powerpc64*|sparc64*) + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in +diff -uNr beecrypt-4.1.2-orig/configure.ac beecrypt-4.1.2/configure.ac --- beecrypt-4.1.2-orig/configure.ac 2004-12-21 05:37:56.000000000 -0600 +++ beecrypt-4.1.2/configure.ac 2007-11-28 12:45:39.000000000 -0600 @@ -614,7 +614,7 @@ diff --git a/beecrypt.spec b/beecrypt.spec index 78ba97d..d47e355 100644 --- a/beecrypt.spec +++ b/beecrypt.spec @@ -6,7 +6,7 @@ Summary: An open source cryptography library. Name: beecrypt Version: 4.1.2 -Release: 14 +Release: 15 Group: System Environment/Libraries License: LGPLv2+ URL: http://sourceforge.net/projects/beecrypt @@ -146,6 +146,9 @@ rm -fr $RPM_BUILD_ROOT %endif %changelog +* Thu Nov 29 2007 Dennis Gilmore - 4.1.2-15 +- update sparc64 patch + * Wed Nov 28 2007 Dennis Gilmore - 4.1.2-14 - add patch so sparc64 gets lib64