pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/claws-mail fix to claws-mail to build on systems ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05dc23a64f5a
branches:  trunk
changeset: 622075:05dc23a64f5a
user:      richard <richard%pkgsrc.org@localhost>
date:      Wed Jul 24 20:11:40 2013 +0000

description:
fix to claws-mail to build on systems without flock (namely SunOS)

diffstat:

 mail/claws-mail/distinfo                 |   3 ++-
 mail/claws-mail/patches/patch-src_main.c |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 18e0166bf1f1 -r 05dc23a64f5a mail/claws-mail/distinfo
--- a/mail/claws-mail/distinfo  Wed Jul 24 16:17:27 2013 +0000
+++ b/mail/claws-mail/distinfo  Wed Jul 24 20:11:40 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2013/07/24 15:26:11 drochner Exp $
+$NetBSD: distinfo,v 1.24 2013/07/24 20:11:40 richard Exp $
 
 SHA1 (claws-mail-3.9.2.tar.bz2) = 73c91b3c742d1ababc734bfac39961831e55eb38
 RMD160 (claws-mail-3.9.2.tar.bz2) = 7a8d201913a078708761ae492e7e362848a36df1
@@ -10,3 +10,4 @@
 SHA1 (patch-ah) = cdfd816669c0c1ae6dba0d97a6d1fe5a8c2e4626
 SHA1 (patch-ai) = 22b9ad0763ee3053f8b3082a639991b6574e6f65
 SHA1 (patch-bb) = 2d432d7c1c3869b76965adea77f05127796a27f5
+SHA1 (patch-src_main.c) = 6cb30f2813d3ccb8319654c7ef462efec2ece9de
diff -r 18e0166bf1f1 -r 05dc23a64f5a mail/claws-mail/patches/patch-src_main.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/claws-mail/patches/patch-src_main.c  Wed Jul 24 20:11:40 2013 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_main.c,v 1.1 2013/07/24 20:11:40 richard Exp $
+
+unhide variable declaration behind flock conditional.
+
+--- src/main.c.orig    2013-03-20 11:13:35.000000000 +0000
++++ src/main.c
+@@ -2367,10 +2367,10 @@ static gint prohibit_duplicate_launch(vo
+               x_display = g_strdup(g_getenv("DISPLAY"));
+ 
+       if (uxsock < 0) {
++              gint ret;
+ #if HAVE_FLOCK
+               gchar *socket_lock;
+               gint lock_fd;
+-              gint ret;
+               /* If connect failed, no other process is running.
+                * Unlink the potentially existing socket, then
+                * open it. This has to be done locking a temporary



Home | Main Index | Thread Index | Old Index