summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client/claws-mail/files/claws-mail-3.7.9-fix-nossl.patch')
-rw-r--r--mail-client/claws-mail/files/claws-mail-3.7.9-fix-nossl.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/mail-client/claws-mail/files/claws-mail-3.7.9-fix-nossl.patch b/mail-client/claws-mail/files/claws-mail-3.7.9-fix-nossl.patch
new file mode 100644
index 000000000000..ee73474e638d
--- /dev/null
+++ b/mail-client/claws-mail/files/claws-mail-3.7.9-fix-nossl.patch
@@ -0,0 +1,19 @@
+Building without SSL support (USE="-ssl -gnutls") leads to a build
+failure because of misplaced #ifdefs in code. Fixed for versions
+greater than 3.7.9 in upstream repository.
+
+Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=373611
+Upstream bug: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2462
+
+--- src/wizard.c
++++ src/wizard.c
+@@ -1253,8 +1253,8 @@
+ GtkWidget *hbox;
+ GtkWidget *hbox_spc;
+ GtkWidget *smtp_auth_table;
+-#ifdef USE_GNUTLS
+ GtkWidget *label;
++#ifdef USE_GNUTLS
+ GtkWidget *button;
+ GtkWidget *smtp_cert_table;
+ #endif