On Fri, Oct 27, 2006 at 07:37:01PM +0200, Werner Koch wrote:
> On Fri, 27 Oct 2006 15:55, Christoph Probst said:
> > It seems as if Gentoo applies a "gnupg-1.9.20-fbsd.patch" to a gnupg 
> Can you please post this patch?  Or if it is long send it to
> gnupg-hackers at gnupg.org.

As one of the Gentoo crypto developers, I can conclusively state that
this patch is not at fault.

The patch is attached.

We also do a few other minor modifications to the source:
# Cleanup PIC usage
sed -i -e 's/PIC/__PIC__/g' intl/relocatable.c 
# this warning is only available on gcc4!
sed -i -e '/AM_CFLAGS/s!-Wno-pointer-sign!!g' g10/Makefile.am
sed -i -e '/AM_CFLAGS/s!-Wno-pointer-sign!!g' g10/Makefile.in

-- 
Robin Hugh Johnson
E-Mail     : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
Index: gnupg-1.9.20/configure.ac
===================================================================
--- gnupg-1.9.20.orig/configure.ac
+++ gnupg-1.9.20/configure.ac
@@ -737,7 +737,7 @@ fi
 
 # Checks for header files.
 AC_HEADER_STDC
-AC_CHECK_HEADERS(string.h unistd.h langinfo.h termio.h locale.h)
+AC_CHECK_HEADERS(string.h unistd.h langinfo.h termio.h locale.h pty.h)
 
 # Checks for typedefs, structures, and compiler characteristics.
 AC_C_CONST
Index: gnupg-1.9.20/tools/symcryptrun.c
===================================================================
--- gnupg-1.9.20.orig/tools/symcryptrun.c
+++ gnupg-1.9.20/tools/symcryptrun.c
@@ -69,9 +69,12 @@
 #include <errno.h>
 #include <assert.h>
 #include <sys/stat.h>
+#include <sys/signal.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#ifdef HAVE_PTY_H
 #include <pty.h>
+#endif
 #include <utmp.h>
 #include <ctype.h>
 #ifdef HAVE_LOCALE_H

Attachment: pgprsk3h8PM0B.pgp
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to