update to evince-3.20.1
This commit is contained in:
parent
4b3c9ce5ef
commit
f39af64cfb
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.139 2016/04/25 14:41:31 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.140 2016/06/27 11:20:49 jasper Exp $
|
||||
|
||||
COMMENT= GNOME document viewer
|
||||
|
||||
GNOME_PROJECT= evince
|
||||
GNOME_VERSION= 3.20.0
|
||||
GNOME_VERSION= 3.20.1
|
||||
|
||||
MAJ_V= 3.0
|
||||
SUBST_VARS= MAJ_V
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (evince-3.20.0.tar.xz) = z4NYpFNobCp/hdJF+D/pGMDOAutlMjOfPgLjEkmlooA=
|
||||
SIZE (evince-3.20.0.tar.xz) = 3342544
|
||||
SHA256 (evince-3.20.1.tar.xz) = /HrCMDaTnCTwLp/tbdbiioW0sAtg+ktZG4ZEMlHSAFU=
|
||||
SIZE (evince-3.20.1.tar.xz) = 3352756
|
||||
|
27
graphics/evince/patches/patch-libdocument_ev-document-misc_c
Normal file
27
graphics/evince/patches/patch-libdocument_ev-document-misc_c
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-libdocument_ev-document-misc_c,v 1.1 2016/06/27 11:20:49 jasper Exp $
|
||||
|
||||
error: #pragma GCC diagnostic not allowed inside functions
|
||||
|
||||
--- libdocument/ev-document-misc.c.orig Mon Jun 27 13:10:24 2016
|
||||
+++ libdocument/ev-document-misc.c Mon Jun 27 13:12:36 2016
|
||||
@@ -528,8 +528,10 @@ ev_document_misc_format_date (GTime utime)
|
||||
char s[256];
|
||||
const char fmt_hack[] = "%c";
|
||||
size_t len;
|
||||
+#if defined(__GNUC__) && (__GNUC__ > 4)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat-y2k"
|
||||
+#endif
|
||||
#ifdef HAVE_LOCALTIME_R
|
||||
struct tm t;
|
||||
if (time == 0 || !localtime_r (&time, &t)) return NULL;
|
||||
@@ -539,7 +541,9 @@ ev_document_misc_format_date (GTime utime)
|
||||
if (time == 0 || !(t = localtime (&time)) ) return NULL;
|
||||
len = strftime (s, sizeof (s), fmt_hack, t);
|
||||
#endif
|
||||
+#if defined(__GNUC__) && (__GNUC__ > 4)
|
||||
#pragma GCC diagnostic pop
|
||||
+#endif
|
||||
|
||||
if (len == 0 || s[0] == '\0') return NULL;
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.11 2016/04/25 14:41:31 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.12 2016/06/27 11:20:49 jasper Exp $
|
||||
@conflict evince-djvu-*
|
||||
@conflict evince-dvi-*
|
||||
@conflict nautilus-evince-*
|
||||
@ -180,7 +180,6 @@ share/gtk-doc/html/evince/evince-frontend.html
|
||||
share/gtk-doc/html/evince/evince.devhelp2
|
||||
share/gtk-doc/html/evince/home.png
|
||||
share/gtk-doc/html/evince/index.html
|
||||
share/gtk-doc/html/evince/index.sgml
|
||||
share/gtk-doc/html/evince/left-insensitive.png
|
||||
share/gtk-doc/html/evince/left.png
|
||||
share/gtk-doc/html/evince/licence.html
|
||||
@ -228,7 +227,6 @@ share/gtk-doc/html/libevdocument-${MAJ_V}/document-helpers.html
|
||||
share/gtk-doc/html/libevdocument-${MAJ_V}/document-interfaces.html
|
||||
share/gtk-doc/html/libevdocument-${MAJ_V}/home.png
|
||||
share/gtk-doc/html/libevdocument-${MAJ_V}/index.html
|
||||
share/gtk-doc/html/libevdocument-${MAJ_V}/index.sgml
|
||||
share/gtk-doc/html/libevdocument-${MAJ_V}/left-insensitive.png
|
||||
share/gtk-doc/html/libevdocument-${MAJ_V}/left.png
|
||||
share/gtk-doc/html/libevdocument-${MAJ_V}/libevdocument-${MAJ_V}.devhelp2
|
||||
@ -252,6 +250,7 @@ share/gtk-doc/html/libevdocument-${MAJ_V}/up-insensitive.png
|
||||
share/gtk-doc/html/libevdocument-${MAJ_V}/up.png
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/EvJob.html
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/annotation-glossary.html
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/api-index-3-10.html
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/api-index-3-6.html
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/api-index-3-8.html
|
||||
@ -259,7 +258,6 @@ share/gtk-doc/html/libevview-${MAJ_V}/api-index-deprecated.html
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/api-index-full.html
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/home.png
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/index.html
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/index.sgml
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/left-insensitive.png
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/left.png
|
||||
share/gtk-doc/html/libevview-${MAJ_V}/libevview-${MAJ_V}.devhelp2
|
||||
|
Loading…
Reference in New Issue
Block a user