Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2007 19:03:10 +0200
From:      "Pawel Pekala" <c0rn@o2.pl>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/114454: [maintainer update] mail/claws-mail-etpan_privacy: fix build with claws-mail 2.10
Message-ID:  <1184000590.12717@caprica.slowicza.org>
Resent-Message-ID: <200707091730.l69HU49c082503@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114454
>Category:       ports
>Synopsis:       [maintainer update] mail/claws-mail-etpan_privacy: fix build with claws-mail 2.10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 09 17:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.2-RELEASE #2: Sat Jan 13 12:52:19 CET 2007
    corn@caprica.slowicza.org:/usr/obj/usr/src/sys/GENERIC



>Description:


- fix build with claws-mail 2.10


>How-To-Repeat:





>Fix:


--- claws-etpan_privacy.diff begins here ---
diff -urN /usr/ports/mail/claws-mail-etpan_privacy/Makefile claws-mail-etpan_privacy/Makefile
--- /usr/ports/mail/claws-mail-etpan_privacy/Makefile	Wed May 30 19:31:22 2007
+++ claws-mail-etpan_privacy/Makefile	Mon Jul  9 18:53:50 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	etpan_privacy
 PORTVERSION=	0.15.5
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	mail
 MASTER_SITES=	http://www.claws-mail.org/downloads/plugins/
 PKGNAMEPREFIX=	claws-mail-
@@ -16,8 +16,8 @@
 MAINTAINER=	c0rn@o2.pl
 COMMENT=	S/MIME, PGP verification and decryption plugin for claws-mail
 
-BUILD_DEPENDS=	claws-mail>=2.6:${PORTSDIR}/mail/claws-mail
-RUN_DEPENDS=	claws-mail>=2.6:${PORTSDIR}/mail/claws-mail
+BUILD_DEPENDS=	claws-mail>=2.10:${PORTSDIR}/mail/claws-mail
+RUN_DEPENDS=	claws-mail>=2.10:${PORTSDIR}/mail/claws-mail
 
 USE_GMAKE=	yes
 USE_XLIB=	yes
diff -urN /usr/ports/mail/claws-mail-etpan_privacy/files/patch-update-plugin-api claws-mail-etpan_privacy/files/patch-update-plugin-api
--- /usr/ports/mail/claws-mail-etpan_privacy/files/patch-update-plugin-api	Thu Jan  1 01:00:00 1970
+++ claws-mail-etpan_privacy/files/patch-update-plugin-api	Mon Jul  9 18:52:22 2007
@@ -0,0 +1,30 @@
+===================================================================
+RCS file: /pack/anoncvs/sylpheedclaws/plugins/etpan-privacy/src/plugin.c,v
+retrieving revision 1.1.1.1.2.10
+retrieving revision 1.1.1.1.2.11
+diff -u -r1.1.1.1.2.10 -r1.1.1.1.2.11
+--- src/plugin.c	2006/12/15 19:06:14	1.1.1.1.2.10
++++ src/plugin.c	2007/06/21 17:12:30	1.1.1.1.2.11
+@@ -46,7 +46,7 @@
+ {
+ 	int r;
+ 
+-	if( !check_plugin_version(MAKE_NUMERIC_VERSION(2, 6, 1, 41),
++	if( !check_plugin_version(MAKE_NUMERIC_VERSION(2,9,2,72),
+ 				VERSION_NUMERIC, _("etPan! Privacy"), error) )
+ 		return -1;
+ 	
+@@ -63,11 +63,12 @@
+ 	return 0;
+ }
+ 
+-void plugin_done(void)
++gboolean plugin_done(void)
+ {
+ 	etpan_privacy_prefs_done();
+ 	etpan_privacy_done();
+ 	debug_print(_("etPan! - Privacy plugin unloaded\n"));
++	return TRUE;
+ }
+ 
+ const gchar *plugin_name(void)
--- claws-etpan_privacy.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1184000590.12717>