On 11 Jun 2011 19:40:31 +0200
Guillaume Pinot <guillaume.pi...@tremplin-utc.net> wrote:

> This bug impacts me:
>   http://lists.claws-mail.org/pipermail/commits/2011-April/001364.html
> and according to #openbsd, at least an other person.  So, here is the
> port's patch.  Thanks in advance.
> 
> I put ports@ in CC for the impatients.
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/claws-mail/Makefile,v
> retrieving revision 1.44
> diff -u -p -r1.44 Makefile
> --- Makefile  21 Apr 2011 13:10:42 -0000      1.44
> +++ Makefile  11 Jun 2011 17:34:08 -0000
> @@ -9,6 +9,7 @@ COMMENT-spamassassin= spamassassin plugi
>  
>  V=                   3.7.9
>  DISTNAME=            claws-mail-${V}
> +REVISION=            0
>  PKGNAME-main=                ${DISTNAME}
>  PKGNAME-bogofilter=  claws-mail-bogofilter-${V}
>  PKGNAME-spamassassin=        claws-mail-spamassassin-${V}
> Index: patches/patch-src_main_c
> ===================================================================
> RCS file: patches/patch-src_main_c
> diff -N patches/patch-src_main_c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-src_main_c  11 Jun 2011 17:34:08 -0000
> @@ -0,0 +1,12 @@
> +$OpenBSD$
> +--- src/main.c.orig  Sat Jun 11 18:19:00 2011
> ++++ src/main.c       Sat Jun 11 18:19:32 2011
> +@@ -331,7 +331,7 @@ static void
> startup_notification_complete(gboolean wit
> +             gtk_widget_show(hack);
> +     }
> + 
> +-    xdisplay = gdk_display_get_default();
> ++    xdisplay = GDK_DISPLAY_XDISPLAY(gdk_display_get_default());
> +     sn_display = sn_display_new(xdisplay,
> +                             sn_error_trap_push,
> +                             sn_error_trap_pop);
> 

sure. 

i like to see a bug/cvs-commit reference in the "patch-" file,
but the pkg tools will bomb anyway when updating to the next upstream
release, as a reminder to remove the patch-; reference just speed up
copeing with those patches already included upstream.

Reply via email to