mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
303e0f3ac8
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
19 lines
550 B
Diff
19 lines
550 B
Diff
diff -Naur zathura-0.2.7/zathura.c zathura-0.2.7.patched/zathura.c
|
|
--- zathura-0.2.7/zathura.c 2014-02-17 11:16:57.000000000 -0500
|
|
+++ zathura-0.2.7.patched/zathura.c 2014-08-22 02:39:14.000000000 -0400
|
|
@@ -3,6 +3,7 @@
|
|
#define _BSD_SOURCE
|
|
#define _XOPEN_SOURCE 700
|
|
|
|
+#include <dlfcn.h>
|
|
#include <errno.h>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
@@ -101,6 +102,7 @@
|
|
}
|
|
|
|
/* load plugins */
|
|
+ dlopen("libjpeg.so", RTLD_NOW | RTLD_GLOBAL); /* dirty hack! */
|
|
zathura_plugin_manager_load(zathura->plugins.manager);
|
|
|
|
/* configuration */
|