gnupg 1.0.6 aix patches

Samuli Kajantola ska at iguaani.hut.fi
Wed Nov 14 12:05:01 CET 2001


I fixed two simple problems which caused gnupg 1.0.6 fail to
compile on aix 4.3.3 using IBM cc version 5.0.1. The included
two diff:s fix this problem.

configure required option --disable-dynload to avoid linker
complaints of missing main.

Entropy operations of gnupg were significantly slow using
egd 0.8 (latest version) :(

Note: I'm not subscribed to any gnupg mailing lists.

-- 
***************************************************
Samuli Kajantola
Unix Administrator
Helsinki University of Technology, Computing Center
email: Samuli.Kajantola at hut.fi
***************************************************
-------------- next part --------------
--- gnupg-1.0.6/cipher/rndlinux.c.orig	Tue Nov 13 15:44:11 2001
+++ gnupg-1.0.6/cipher/rndlinux.c	Tue Nov 13 15:44:24 2001
@@ -185,7 +185,7 @@
     int version;
     void *func;
 } func_table[] = {
-    { 40, 1, gather_random },
+    { 40, 1, (int*)gather_random },
 };
 
 
-------------- next part --------------
--- gnupg-1.0.6/include/ttyio.h.orig	Tue Nov 13 15:40:54 2001
+++ gnupg-1.0.6/include/ttyio.h	Tue Nov 13 15:41:17 2001
@@ -24,7 +24,7 @@
 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
  void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));
 #else
- void tty_printf  const char *fmt, ... );
+ void tty_printf (const char *fmt, ... );
 #endif
 void tty_print_string( byte *p, size_t n );
 void tty_print_utf8_string( byte *p, size_t n );


More information about the Gnupg-devel mailing list