diff options
author | pawel <pawel@FreeBSD.org> | 2012-07-18 02:25:43 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-07-18 02:25:43 +0800 |
commit | feab7c3aa5ca8f038cbd72600976e16e113f6032 (patch) | |
tree | 43e726b06cce3a67ae749d287a99caf45a70b89e /mail/claws-mail-spamreport | |
parent | 66c5beaf6d2110a796fc7a6fe3bf69e5fc1a8736 (diff) | |
download | freebsd-ports-gnome-feab7c3aa5ca8f038cbd72600976e16e113f6032.tar.gz freebsd-ports-gnome-feab7c3aa5ca8f038cbd72600976e16e113f6032.tar.zst freebsd-ports-gnome-feab7c3aa5ca8f038cbd72600976e16e113f6032.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
Diffstat (limited to 'mail/claws-mail-spamreport')
-rw-r--r-- | mail/claws-mail-spamreport/Makefile | 1 | ||||
-rw-r--r-- | mail/claws-mail-spamreport/files/patch-src-gettext.h | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/mail/claws-mail-spamreport/Makefile b/mail/claws-mail-spamreport/Makefile index 9b49c70e98d3..63dcc9573d95 100644 --- a/mail/claws-mail-spamreport/Makefile +++ b/mail/claws-mail-spamreport/Makefile @@ -7,6 +7,7 @@ PORTNAME= spamreport PORTVERSION= 0.3.16 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.claws-mail.org/downloads/plugins/ PKGNAMEPREFIX= claws-mail- diff --git a/mail/claws-mail-spamreport/files/patch-src-gettext.h b/mail/claws-mail-spamreport/files/patch-src-gettext.h new file mode 100644 index 000000000000..3a708ccff4a1 --- /dev/null +++ b/mail/claws-mail-spamreport/files/patch-src-gettext.h @@ -0,0 +1,19 @@ +$FreeBSD$ + +Index: src/gettext.h +=================================================================== +RCS file: /home/claws-mail/plugins/spam_report/src/Attic/gettext.h,v +retrieving revision 1.1.2.3 +retrieving revision 1.1.2.4 +diff -u -r1.1.2.3 -r1.1.2.4 +--- src/gettext.h 6 Jan 2012 14:26:46 -0000 1.1.2.3 ++++ src/gettext.h 9 Jul 2012 05:07:57 -0000 1.1.2.4 +@@ -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 |