summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-03-11 16:13:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-03-11 16:13:40 +0000
commita9f7bf0b9738255337a95095a9276406988f06dc (patch)
treef6367dba0ee8180aa6307dd64e7786be1c0889e9 /app-text
parentDo not install gts.h/.a (bug #407769). Thanks for reporting D. Kredba (diff)
downloadgentoo-2-a9f7bf0b9738255337a95095a9276406988f06dc.tar.gz
gentoo-2-a9f7bf0b9738255337a95095a9276406988f06dc.tar.bz2
gentoo-2-a9f7bf0b9738255337a95095a9276406988f06dc.zip
Include stddef.h in the installed headers to fix building of reverse dependencies. No revision bump because gcc-4.6 is still not keyworded
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/djvu/ChangeLog9
-rw-r--r--app-text/djvu/files/djvu-3.5.24-gcc46.patch35
2 files changed, 38 insertions, 6 deletions
diff --git a/app-text/djvu/ChangeLog b/app-text/djvu/ChangeLog
index d6f916373095..c695e99c36d1 100644
--- a/app-text/djvu/ChangeLog
+++ b/app-text/djvu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/djvu
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.125 2011/11/13 10:54:12 jlec Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/djvu/ChangeLog,v 1.126 2012/03/11 16:13:40 ssuominen Exp $
+
+ 11 Mar 2012; Samuli Suominen <ssuominen@gentoo.org>
+ files/djvu-3.5.24-gcc46.patch:
+ Include stddef.h in the installed headers to fix building of reverse
+ dependencies.
13 Nov 2011; Justin Lecher <jlec@gentoo.org> djvu-3.5.22-r1.ebuild,
djvu-3.5.23.ebuild, djvu-3.5.24.ebuild:
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 */