freebsd-ports/devel/baz/files/patch-pfs-signatures.c
Wesley Shields e6246d1055 - Chase security/gpgme update.
Most changes are just PORTREVISION and LIB_DEPENDS fixes. However, the
following ports require a patch to use the new gpgme correctly:
deskutils/kdepim3
deskutils/kdepim3
deskutils/kdepim3
deskutils/kdepim3
deskutils/kdepim4
deskutils/kdepim4
deskutils/kdepimlibs4
deskutils/kdepimlibs4
deskutils/kdepimlibs4
finance/qhacc
mail/mutt-devel
net-im/ayttm
net-im/centericq
net-im/centerim
net-im/centerim-devel
security/openvas-libnasl

These patches were submitted by various people and documented in ports/135911.

PR:		ports/135911
2009-07-15 16:47:45 +00:00

19 lines
743 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- src/baz/libarch/pfs-signatures.c.old Wed Nov 2 21:46:56 2005
+++ src/baz/libarch/pfs-signatures.c Wed Nov 2 21:47:09 2005
@@ -29,7 +29,7 @@
#include "libarch/namespace.h"
#include "libarch/archives.h"
#include "libarch/cached-archive.h"
-#include <gpgme.h>
+#include <gpgme/gpgme.h>
#include "libarch/pfs-signatures.h"
@@ -1154,6 +1154,7 @@
gpgme_ctx_t context;
gpgme_data_t signature_data;
gpgme_data_t signed_content;
+ gpgme_check_version (NULL);
invariant (GPG_ERR_NO_ERROR == gpgme_new (&context));
invariant (GPG_ERR_NO_ERROR == gpgme_data_new_from_mem (&signature_data, *signed_message, str_length (*signed_message), 0));
invariant (GPG_ERR_NO_ERROR == gpgme_data_new (&signed_content));