summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/djvu/files')
-rw-r--r--app-text/djvu/files/djvu-3.5.24-gcc46.patch35
1 files changed, 31 insertions, 4 deletions
diff --git a/app-text/djvu/files/djvu-3.5.24-gcc46.patch b/app-text/djvu/files/djvu-3.5.24-gcc46.patch
index 5eb23cd44e62..7405ca96d8b1 100644
--- a/app-text/djvu/files/djvu-3.5.24-gcc46.patch
+++ b/app-text/djvu/files/djvu-3.5.24-gcc46.patch
@@ -1,6 +1,22 @@
-=== modified file 'libdjvu/GSmartPointer.h'
---- libdjvu/GSmartPointer.h 2011-04-30 19:29:11 +0000
-+++ libdjvu/GSmartPointer.h 2011-04-30 19:34:21 +0000
+http://bugs.gentoo.org/361057 for GSmartPointer.h change
+
+Then include stddef.h in the installed headers to fix building of reverse
+dependencies, such as app-text/zathura-djvu
+
+These are all in upstream GIT
+
+--- libdjvu/ddjvuapi.h
++++ libdjvu/ddjvuapi.h
+@@ -64,6 +64,7 @@
+ }
+ #endif
+
++#include <stddef.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+
+--- libdjvu/GSmartPointer.h
++++ libdjvu/GSmartPointer.h
@@ -62,6 +62,8 @@
# pragma interface
#endif
@@ -10,4 +26,15 @@
/** @name GSmartPointer.h
Files #"GSmartPointer.h"# and #"GSmartPointer.cpp"# define a smart-pointer
-
+--- libdjvu/miniexp.h
++++ libdjvu/miniexp.h
+@@ -38,7 +38,8 @@
+ #ifndef MINILISPAPI
+ # define MINILISPAPI /**/
+ #endif
+-
++
++#include <stddef.h>
+
+ /* -------------------------------------------------- */
+ /* LISP EXPRESSIONS */