aboutsummaryrefslogtreecommitdiff
path: root/mail/claws-mail-fancy
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-07-17 18:25:43 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-07-17 18:25:43 +0000
commit69573b4a6481870635b4717f5e19388d47dc6c66 (patch)
tree43e726b06cce3a67ae749d287a99caf45a70b89e /mail/claws-mail-fancy
parenta8604ad15fa0320012ea3ad2add23ee5a07183ab (diff)
downloadports-69573b4a6481870635b4717f5e19388d47dc6c66.tar.gz
ports-69573b4a6481870635b4717f5e19388d47dc6c66.zip
Add upstream patches fixing linking problems when affected plugins are
compiled WITHOUT_NLS=yes, this fixes: /usr/local/lib/claws-mail/plugins/fancy.so: Undefined symbol "D_" problems
Notes
Notes: svn path=/head/; revision=301022
Diffstat (limited to 'mail/claws-mail-fancy')
-rw-r--r--mail/claws-mail-fancy/Makefile1
-rw-r--r--mail/claws-mail-fancy/files/patch-src-gettext.h19
2 files changed, 20 insertions, 0 deletions
diff --git a/mail/claws-mail-fancy/Makefile b/mail/claws-mail-fancy/Makefile
index 9f304a8c6f67..8d94ed0a7476 100644
--- a/mail/claws-mail-fancy/Makefile
+++ b/mail/claws-mail-fancy/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fancy
PORTVERSION= 0.9.16
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-
diff --git a/mail/claws-mail-fancy/files/patch-src-gettext.h b/mail/claws-mail-fancy/files/patch-src-gettext.h
new file mode 100644
index 000000000000..c5f2a6d186c3
--- /dev/null
+++ b/mail/claws-mail-fancy/files/patch-src-gettext.h
@@ -0,0 +1,19 @@
+$FreeBSD$
+
+Index: src/gettext.h
+===================================================================
+RCS file: /home/claws-mail/plugins/fancy/src/Attic/gettext.h,v
+retrieving revision 1.1.2.2
+retrieving revision 1.1.2.3
+diff -u -r1.1.2.2 -r1.1.2.3
+--- src/gettext.h 6 Jan 2012 14:22:17 -0000 1.1.2.2
++++ src/gettext.h 9 Jul 2012 05:05:28 -0000 1.1.2.3
+@@ -69,7 +69,7 @@
+ # define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
+
+ #define _(str) str
+-
++#define D_(domain, str) (domain, str)
+ #endif
+
+ /* A pseudo function call that serves as a marker for the automated