slackware-current/source/xap/pan/patches/0004-476b5a62fcda711ce2d7412a310b8182cca6940e.patch
Patrick J Volkerding 8b5c0b991d Thu Jul 25 22:48:09 UTC 2019
l/SDL2-2.0.10-x86_64-1.txz:  Upgraded.
l/gmime-3.2.3-x86_64-1.txz:  Upgraded.
  Shared library .so-version bump.
n/NetworkManager-1.18.2-x86_64-1.txz:  Upgraded.
n/dhcpcd-8.0.1-x86_64-1.txz:  Upgraded.
n/openldap-client-2.4.48-x86_64-1.txz:  Upgraded.
xap/pan-0.145-x86_64-2.txz:  Rebuilt.
  Recompiled against gmime-3.2.3.
2019-07-26 08:59:43 +02:00

21 lines
587 B
Diff

From 476b5a62fcda711ce2d7412a310b8182cca6940e Mon Sep 17 00:00:00 2001
From: Detlef Graef <detlef.graef@yahoo.de>
Date: Fri, 26 Apr 2019 20:59:54 +0200
Subject: [PATCH] Fix for issue #77. Segfault when build with gmime-3
---
pan/gui/pan.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/pan/gui/pan.cc b/pan/gui/pan.cc
index 8d28fdb..fb3a696 100644
--- a/pan/gui/pan.cc
+++ b/pan/gui/pan.cc
@@ -906,6 +906,7 @@ main (int argc, char *argv[])
g_thread_init (0);
#endif
#ifdef HAVE_GMIME_30
+ g_mime_init ();
#else
g_mime_init (GMIME_ENABLE_RFC2047_WORKAROUNDS);
#endif