summaryrefslogtreecommitdiffstats
path: root/office/zathura-djvu/stddef.diff
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2012-07-29 22:42:24 -0500
committer Robby Workman <rworkman@slackbuilds.org>2012-07-29 22:42:24 -0500
commit8b60f1b0f658018fd9de62b2eb9f1472c416792e (patch)
tree7f9d09037716638de81eeac606ce568d53d2f944 /office/zathura-djvu/stddef.diff
parent6d170b4192472afb599d3af67f098887936956b6 (diff)
downloadslackbuilds-8b60f1b0f658018fd9de62b2eb9f1472c416792e.tar.gz
slackbuilds-8b60f1b0f658018fd9de62b2eb9f1472c416792e.tar.xz
office/zathura-djvu: Added (DjVu support for zathura)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/zathura-djvu/stddef.diff')
-rw-r--r--office/zathura-djvu/stddef.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/office/zathura-djvu/stddef.diff b/office/zathura-djvu/stddef.diff
new file mode 100644
index 0000000000..4d7e49a00f
--- /dev/null
+++ b/office/zathura-djvu/stddef.diff
@@ -0,0 +1,43 @@
+diff -Naur zathura-djvu-0.2.0/djvu.c zathura-djvu-0.2.0.patched/djvu.c
+--- zathura-djvu-0.2.0/djvu.c 2012-06-09 17:37:36.000000000 -0400
++++ zathura-djvu-0.2.0.patched/djvu.c 2012-07-24 00:00:01.000000000 -0400
+@@ -3,6 +3,7 @@
+ #include <stdlib.h>
+ #include <girara/datastructures.h>
+ #include <string.h>
++#include <stddef.h>
+ #include <libdjvu/miniexp.h>
+ #include <glib.h>
+
+diff -Naur zathura-djvu-0.2.0/djvu.h zathura-djvu-0.2.0.patched/djvu.h
+--- zathura-djvu-0.2.0/djvu.h 2012-06-09 17:37:36.000000000 -0400
++++ zathura-djvu-0.2.0.patched/djvu.h 2012-07-24 00:00:09.000000000 -0400
+@@ -5,6 +5,7 @@
+
+ #include <stdbool.h>
+ #include <zathura/plugin-api.h>
++#include <stddef.h>
+ #include <libdjvu/ddjvuapi.h>
+ #ifdef HAVE_CAIRO
+ #include <cairo.h>
+diff -Naur zathura-djvu-0.2.0/page-text.c zathura-djvu-0.2.0.patched/page-text.c
+--- zathura-djvu-0.2.0/page-text.c 2012-06-09 17:37:36.000000000 -0400
++++ zathura-djvu-0.2.0.patched/page-text.c 2012-07-24 00:00:18.000000000 -0400
+@@ -1,5 +1,6 @@
+ /* See LICENSE file for license and copyright information */
+
++#include <stddef.h>
+ #include <libdjvu/miniexp.h>
+ #include <string.h>
+ #include <sys/types.h>
+diff -Naur zathura-djvu-0.2.0/page-text.h zathura-djvu-0.2.0.patched/page-text.h
+--- zathura-djvu-0.2.0/page-text.h 2012-06-09 17:37:36.000000000 -0400
++++ zathura-djvu-0.2.0.patched/page-text.h 2012-07-24 00:00:26.000000000 -0400
+@@ -6,6 +6,7 @@
+ #include <girara/datastructures.h>
+ #include <girara/macros.h>
+ #include <zathura/document.h>
++#include <stddef.h>
+ #include <libdjvu/miniexp.h>
+
+ #include "djvu.h"