1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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
This commit is contained in:
Pawel Pekala 2012-07-17 18:25:43 +00:00
parent a8604ad15f
commit 69573b4a64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301022
8 changed files with 80 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= archiver
PORTVERSION= 0.6.12
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-

View File

@ -0,0 +1,19 @@
$FreeBSD$
Index: src/gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/archive/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:10:15 -0000 1.1.2.2
+++ src/gettext.h 9 Jul 2012 05:06:19 -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

View File

@ -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-

View File

@ -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

View File

@ -7,6 +7,7 @@
PORTNAME= gtkhtml2_viewer
PORTVERSION= 0.33
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
PKGNAMEPREFIX= claws-mail-

View File

@ -0,0 +1,19 @@
$FreeBSD$
Index: src/gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/gtkhtml2_viewer/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:23:24 -0000 1.1.2.3
+++ src/gettext.h 9 Jul 2012 05:09:48 -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

View File

@ -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-

View File

@ -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