aboutsummaryrefslogtreecommitdiff
path: root/mail/balsa
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-25 02:14:13 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-25 02:14:13 +0000
commit535065f7b72d7f326a30bbbc54ff37f8efaacf78 (patch)
tree1590641e5f8a37c9f26afecb2303a0ef19edd2cd /mail/balsa
parent52679ee7131bc6ffab233f6c3e0471c14a8a1788 (diff)
downloadports-535065f7b72d7f326a30bbbc54ff37f8efaacf78.tar.gz
ports-535065f7b72d7f326a30bbbc54ff37f8efaacf78.zip
Notes
Diffstat (limited to 'mail/balsa')
-rw-r--r--mail/balsa/Makefile3
-rw-r--r--mail/balsa/distinfo4
-rw-r--r--mail/balsa/files/patch-libbalsa_mailbox_mbox.c19
-rw-r--r--mail/balsa/files/patch-src_balsa-app.c13
-rw-r--r--mail/balsa/pkg-plist2
5 files changed, 23 insertions, 18 deletions
diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile
index df6349b62978..a0e2090f6267 100644
--- a/mail/balsa/Makefile
+++ b/mail/balsa/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= balsa
-PORTVERSION= 2.2.5
-PORTREVISION= 1
+PORTVERSION= 2.2.6
CATEGORIES= mail gnome
MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/
DISTNAME= balsa-${PORTVERSION}
diff --git a/mail/balsa/distinfo b/mail/balsa/distinfo
index 4ca77debf145..8647d1b7ce66 100644
--- a/mail/balsa/distinfo
+++ b/mail/balsa/distinfo
@@ -1,2 +1,2 @@
-MD5 (balsa-2.2.5.tar.bz2) = 058be8bc67e6e0b2d3be515be3d1f634
-SIZE (balsa-2.2.5.tar.bz2) = 2838410
+MD5 (balsa-2.2.6.tar.bz2) = 6179fadbfc5cca642dac081519acef25
+SIZE (balsa-2.2.6.tar.bz2) = 2913847
diff --git a/mail/balsa/files/patch-libbalsa_mailbox_mbox.c b/mail/balsa/files/patch-libbalsa_mailbox_mbox.c
new file mode 100644
index 000000000000..391f582b2926
--- /dev/null
+++ b/mail/balsa/files/patch-libbalsa_mailbox_mbox.c
@@ -0,0 +1,19 @@
+--- libbalsa/mailbox_mbox.c.orig Wed Nov 24 21:05:03 2004
++++ libbalsa/mailbox_mbox.c Wed Nov 24 21:06:54 2004
+@@ -27,6 +27,7 @@
+ #include <libgnome/libgnome.h>
+ #include <gmime/gmime-stream-fs.h>
+
++#include <sys/stat.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+@@ -195,7 +196,7 @@
+ if(!create)
+ return(-1);
+
+- if ((fd = creat(path, S_IRUSR | S_IWUSR)) == -1) {
++ if ((fd = open(path, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR | S_IWUSR)) == -1) {
+ g_warning("An error:\n%s\n occured while trying to "
+ "create the mailbox \"%s\"\n",
+ strerror(errno), path);
diff --git a/mail/balsa/files/patch-src_balsa-app.c b/mail/balsa/files/patch-src_balsa-app.c
deleted file mode 100644
index b93ab17fcee9..000000000000
--- a/mail/balsa/files/patch-src_balsa-app.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/balsa-app.c.orig Fri Aug 6 17:43:17 2004
-+++ src/balsa-app.c Fri Aug 6 17:43:42 2004
-@@ -652,10 +652,6 @@
- BalsaFind bf;
- gboolean is_sub_thread = libbalsa_am_i_subthread();
-
--#ifdef BALSA_USE_THREADS
-- g_assert(!g_mutex_trylock(gdk_threads_mutex));
--#endif
--
- if (is_sub_thread)
- gdk_threads_enter();
-
diff --git a/mail/balsa/pkg-plist b/mail/balsa/pkg-plist
index 2aab2e37876e..d064906efcf8 100644
--- a/mail/balsa/pkg-plist
+++ b/mail/balsa/pkg-plist
@@ -1,7 +1,6 @@
bin/balsa
bin/balsa-ab
etc/sound/events/balsa.soundlist
-etc/sound/events/email.soundlist
libdata/bonobo/servers/GNOME_Balsa.server
share/gnome/applications/balsa.desktop
share/gnome/balsa/pixmaps/attachment.png
@@ -62,6 +61,7 @@ share/locale/ms/LC_MESSAGES/balsa.mo
share/locale/nl/LC_MESSAGES/balsa.mo
share/locale/nn/LC_MESSAGES/balsa.mo
share/locale/no/LC_MESSAGES/balsa.mo
+share/locale/pa/LC_MESSAGES/balsa.mo
share/locale/pl/LC_MESSAGES/balsa.mo
share/locale/pt/LC_MESSAGES/balsa.mo
share/locale/pt_BR/LC_MESSAGES/balsa.mo