libgcrypt 1.2.1 linux ppc64 patch
Henne Vogelsang
hvogel at suse.de
Tue Jan 18 11:50:51 CET 2005
Hi,
heres a patch for mpi/config.links that corrects the building on linux
ppc64. You where using powerpc*-* there which means that on powerpc64
the powerpc rules applied. That led to a building but not working lib on
ppc64.
Also attached a small fix for the info page.
Henne
--
Henne Vogelsang, Subsystems
-------------- next part --------------
diff -Nur libgcrypt-1.2.1/mpi/config.links libgcrypt-1.2.1.ppc/mpi/config.links
--- libgcrypt-1.2.1/mpi/config.links 2004-12-16 17:26:18.000000000 +0100
+++ libgcrypt-1.2.1.ppc/mpi/config.links 2005-01-18 11:24:14.713430963 +0100
@@ -221,7 +221,7 @@
path="m68k/mc68020 m68k"
;;
- powerpc*-*-linux*)
+ powerpc-*-linux*)
echo '/* configured for powerpc/ELF */' >>./mpi/asm-syntax.h
echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h
@@ -265,11 +265,11 @@
path="powerpc32"
;;
ppc620-*-* | \
- powerpc64*-*-*)
+ powerpc64-*-*)
mpi_sflags="-Wa,-mppc"
path="powerpc64"
;;
- powerpc*-*-*)
+ powerpc-*-*)
mpi_sflags="-Wa,-mppc"
path="powerpc32"
;;
-------------- next part --------------
--- doc/gcrypt.texi
+++ doc/gcrypt.texi
@@ -14,7 +14,7 @@
@dircategory GNU Libraries
@direntry
-* libgcrypt: (gcrypt) Cryptographic function library.
+* libgcrypt: (gcrypt). Cryptographic function library.
@end direntry
@include version.texi
More information about the Gcrypt-devel
mailing list