summaryrefslogtreecommitdiff
path: root/office/osmo/fix-building-without-webkit2gtk.patch
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2017-11-24 21:08:57 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-24 21:08:57 +0000
commit53bbb268a98de370499450f495a4c5b540018511 (patch)
tree42ecc1800bba4686f4258821b6a58d343825a778 /office/osmo/fix-building-without-webkit2gtk.patch
parentff624966a5fb2864ea660f6c3cb5a4e27385e275 (diff)
downloadslackbuilds-53bbb268a98de370499450f495a4c5b540018511.tar.gz
office/osmo: Updated for version 0.4.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/osmo/fix-building-without-webkit2gtk.patch')
-rw-r--r--office/osmo/fix-building-without-webkit2gtk.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/office/osmo/fix-building-without-webkit2gtk.patch b/office/osmo/fix-building-without-webkit2gtk.patch
new file mode 100644
index 0000000000..8c33705cdf
--- /dev/null
+++ b/office/osmo/fix-building-without-webkit2gtk.patch
@@ -0,0 +1,18 @@
+--- src/main.c.orig 2017-05-21 08:52:45.000000000 +0200
++++ src/main.c 2017-11-24 15:39:26.653090218 +0100
+@@ -349,8 +349,15 @@
+ g_free (cal);
+ g_free (appGUI);
+ g_free(cmd_cfg_path);
++
++#ifdef CONTACTS_ENABLED
+ g_free(cmd_mutt_query);
++#endif /* CONTACTS_ENABLED */
++
++#ifdef HAVE_LIBWEBKIT
+ g_free(cmd_stylesheet_file);
++#endif /* HAVE_LIBWEBKIT */
++
+ #ifndef WIN32
+ g_free (s_lock);
+ #endif /* WIN32 */