Debian fixes

Jordi Mallach jordi@sindominio.net
Sun, 17 Feb 2002 21:58:55 +0100


--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[Please Cc: any reply, I'm not subscribed to this list]

Hello,

The following patches fix build problems for powerpc, alpha and sparc
for Linux, and the Hurd in Debian.

Please see details in Debian bugs #133978, #130642, #126368, reachable
at http://bugs.debian.org/number.

The patch is against 1.1.5.

--- libgcrypt-1.1.5.orig/src/misc.c
+++ libgcrypt-1.1.5/src/misc.c
@@ -220,7 +220,7 @@
 void
 _gcry_log_printf (const char *fmt, ...)
 {
-  va_list arg_ptr =3D 0;
+  va_list arg_ptr;
  =20
   if (fmt)=20
     {
--- libgcrypt-1.1.5.orig/src/sexp.c
+++ libgcrypt-1.1.5/src/sexp.c
@@ -1020,7 +1020,7 @@
 gcry_sexp_sscan( GCRY_SEXP *retsexp, size_t *erroff,
 			    const char *buffer, size_t length )
 {
-    va_list dummy_arg_ptr =3D 0;
+    va_list dummy_arg_ptr;
=20
     return sexp_sscan( retsexp, erroff, buffer, length, dummy_arg_ptr, 0 );
 }
--- libgcrypt-1.1.5.orig/cipher/rndunix.c
+++ libgcrypt-1.1.5/cipher/rndunix.c
@@ -907,9 +907,9 @@
=20
 #ifndef IS_MODULE
 void
-rndunix_constructor(void)
+_gcry_rndunix_constructor(void)
 {
-    register_internal_cipher_extension( gnupgext_version,
+    _gcry_register_internal_cipher_extension( gnupgext_version,
 					gnupgext_enum_func );
 }
 #endif


diff -ur libgcrypt-1.1.5.old/configure.ac libgcrypt-1.1.5/configure.ac  =20
--- libgcrypt-1.1.5.old/configure.ac    Tue Dec 18 10:48:31 2001
+++ libgcrypt-1.1.5/configure.ac        Thu Feb 14 17:47:36 2002
@@ -36,6 +36,7 @@
  =20
 AC_CONFIG_SRCDIR([src/gcrypt.h])
 AC_CONFIG_AUX_DIR(scripts)
+AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
 AM_CONFIG_HEADER(config.h)

@@ -682,7 +683,7 @@
 if test "$ac_cv_mpi_extra_asm_modules" !=3D ""; then
 for i in $ac_cv_mpi_extra_asm_modules; do
     show_extraasm=3D"$show_extraasm $i"
-    MPI_EXTRA_ASM_OBJS=3D"$MPI_EXTRA_ASM_OBJS $i.o"
+    MPI_EXTRA_ASM_OBJS=3D"$MPI_EXTRA_ASM_OBJS $i.lo"
 done
 fi
 AC_SUBST(MPI_EXTRA_ASM_OBJS)

Thanks,
Jordi
--=20
Jordi Mallach P=E9rez || jordi@pusa.informat.uv.es || Rediscovering Freedom,
   aka Oskuro in    || jordi@sindominio.net      || Using Debian GNU/Linux
 Reinos de Leyenda  || jordi@debian.org          || http://debian.org

http://sindominio.net  GnuPG public information:      pub  1024D/917A225E=
=20
telnet pusa.uv.es 23   73ED 4244 FD43 5886 20AC  2644 2584 94BA 917A 225E

--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8cBmOJYSUupF6Il4RAnbRAJ4qZZePnsIWq/iQnDAQga/3yI7CswCfWlQ1
/vo4MuGvltCOlM2juU4dMYY=
=8hzv
-----END PGP SIGNATURE-----

--NzB8fVQJ5HfG6fxh--