[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 = 0;
+ va_list arg_ptr;
if (fmt)
{
--- 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 = 0;
+ va_list dummy_arg_ptr;
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 @@
#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
--- 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 @@
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" != ""; then
for i in $ac_cv_mpi_extra_asm_modules; do
show_extraasm="$show_extraasm $i"
- MPI_EXTRA_ASM_OBJS="$MPI_EXTRA_ASM_OBJS $i.o"
+ MPI_EXTRA_ASM_OBJS="$MPI_EXTRA_ASM_OBJS $i.lo"
done
fi
AC_SUBST(MPI_EXTRA_ASM_OBJS)
Thanks,
Jordi
--
Jordi Mallach Pérez || 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
telnet pusa.uv.es 23 73ED 4244 FD43 5886 20AC 2644 2584 94BA 917A 225E
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 = 0;
+ va_list arg_ptr;
if (fmt)
{
--- 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 = 0;
+ va_list dummy_arg_ptr;
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 @@
#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
--- 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 @@
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" != ""; then
for i in $ac_cv_mpi_extra_asm_modules; do
show_extraasm="$show_extraasm $i"
- MPI_EXTRA_ASM_OBJS="$MPI_EXTRA_ASM_OBJS $i.o"
+ MPI_EXTRA_ASM_OBJS="$MPI_EXTRA_ASM_OBJS $i.lo"
done
fi
AC_SUBST(MPI_EXTRA_ASM_OBJS)
Thanks,
Jordi
--
Jordi Mallach Pérez || 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
telnet pusa.uv.es 23 73ED 4244 FD43 5886 20AC 2644 2584 94BA 917A 225E