pkgsrc/security/libgpg-error/patches/patch-aa
minskim 551bf9b517 Update libgpg-error to 1.0. Patch submitted by shannonjr@ and
slightly modified by me.

Changes since 0.6:
 * Ported to Solaris 2.8.

 * Added a new error source GPG_ERR_SOURCE_GSTI, and new error
   codes GPG_ERR_PROTOCOL_VIOLATION and GPG_ERR_INV_MAC for this
   source.

 * Interface changes relative to the 0.7 release:
   GPG_ERR_SOURCE_GSTI		NEW
   GPG_ERR_PROTOCOL_VIOLATION	NEW
   GPG_ERR_INV_MAC		NEW
   GPG_ERR_INV_REQUEST          NEW

 * libgpg-error can be built on systems where the errno macros do not
   evaluate to plain numbers, but expressions.  If you want to
   cross-compile, you might have to set CC_FOR_BUILD, though.

 * A new tool gpg-error to convert error numbers into symbols into
   strings is provided.

 * Interface changes relative to the 0.6 release:
   GPG_ERR_LOCALE_PROBLEM          NEW
   GPG_ERR_NOT_LOCKED              NEW
2004-10-15 18:21:56 +00:00

13 lines
415 B
Text

$NetBSD: patch-aa,v 1.2 2004/10/15 18:21:56 minskim Exp $
--- src/gpg-error-config.in.orig 2004-10-07 03:53:03.000000000 -0600
+++ src/gpg-error-config.in
@@ -63,7 +63,7 @@ while test $# -gt 0; do
;;
--libs)
if test "x$libdir" != "x/usr/lib" -a "x$libdir" != "x/lib"; then
- output="$output -L$libdir"
+ output="$output -Wl,-R$libdir -L$libdir"
fi
output="$output -lgpg-error"
;;