diff options
author | marcus <marcus@FreeBSD.org> | 2009-08-02 03:29:44 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-08-02 03:29:44 +0800 |
commit | a30d8b2e049f9c49d95a2ace35312d022eecbd60 (patch) | |
tree | 523ad00ea201c9a7cd0390a4a0bcfc5da08109ba /security/seahorse | |
parent | c4ffc9702b9abc4dad904914efc161f5d182dbda (diff) | |
download | freebsd-ports-gnome-a30d8b2e049f9c49d95a2ace35312d022eecbd60.tar.gz freebsd-ports-gnome-a30d8b2e049f9c49d95a2ace35312d022eecbd60.tar.zst freebsd-ports-gnome-a30d8b2e049f9c49d95a2ace35312d022eecbd60.zip |
Fix portability issues with newer gpgme.
Diffstat (limited to 'security/seahorse')
-rw-r--r-- | security/seahorse/Makefile | 2 | ||||
-rw-r--r-- | security/seahorse/files/patch-daemon_seahorse-hkp-server.c | 13 | ||||
-rw-r--r-- | security/seahorse/files/patch-pgp_seahorse-gpgme-source.c | 10 |
3 files changed, 24 insertions, 1 deletions
diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile index d9fb84368cdd..56c3406a2513 100644 --- a/security/seahorse/Makefile +++ b/security/seahorse/Makefile @@ -8,7 +8,7 @@ PORTNAME= seahorse PORTVERSION= 2.26.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/security/seahorse/files/patch-daemon_seahorse-hkp-server.c b/security/seahorse/files/patch-daemon_seahorse-hkp-server.c new file mode 100644 index 000000000000..1880aad325a3 --- /dev/null +++ b/security/seahorse/files/patch-daemon_seahorse-hkp-server.c @@ -0,0 +1,13 @@ +--- daemon/seahorse-hkp-server.c.orig 2009-08-01 15:25:02.000000000 -0400 ++++ daemon/seahorse-hkp-server.c 2009-08-01 15:23:27.000000000 -0400 +@@ -467,7 +467,9 @@ seahorse_hkp_server_start(GError **err) + /* Initialize GPGME context */ + if (gpgme_ctx == NULL) { + gpgme_protocol_t proto = GPGME_PROTOCOL_OpenPGP; +- gpgme_error_t err = gpgme_engine_check_version (proto); ++ gpgme_error_t err; ++ gpgme_check_version (NULL); ++ err = gpgme_engine_check_version (proto); + g_return_val_if_fail (GPG_IS_OK (err), FALSE); + + err = gpgme_new (&gpgme_ctx); diff --git a/security/seahorse/files/patch-pgp_seahorse-gpgme-source.c b/security/seahorse/files/patch-pgp_seahorse-gpgme-source.c new file mode 100644 index 000000000000..b036a81571df --- /dev/null +++ b/security/seahorse/files/patch-pgp_seahorse-gpgme-source.c @@ -0,0 +1,10 @@ +--- pgp/seahorse-gpgme-source.c.orig 2009-08-01 15:24:28.000000000 -0400 ++++ pgp/seahorse-gpgme-source.c 2009-08-01 15:23:24.000000000 -0400 +@@ -139,6 +139,7 @@ init_gpgme (gpgme_ctx_t *ctx) + gpgme_protocol_t proto = GPGME_PROTOCOL_OpenPGP; + gpgme_error_t err; + ++ gpgme_check_version (NULL); + err = gpgme_engine_check_version (proto); + g_return_val_if_fail (GPG_IS_OK (err), err); + |