$OpenBSD: patch-configure,v 1.2 2006/09/24 18:26:08 grange Exp $
--- configure.orig	Fri Jul 16 13:47:12 2004
+++ configure	Sun Sep 24 21:57:42 2006
@@ -19911,7 +19911,7 @@ if test `eval echo '${'$as_ac_Header'}'`
   cat >>confdefs.h <<_ACEOF
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
- LIBS="$LIBS -lgcrypt"
+ LIBS="$LIBS -lgcrypt -lgpg-error"
 fi
 
 done
