From 5443a6eefebe5d9b0ca463183537cbc963605d49 Mon Sep 17 00:00:00 2001 From: jasper Date: Sat, 27 Oct 2018 13:28:05 +0000 Subject: [PATCH] update to evince-3.28.5 --- graphics/evince/Makefile | 5 ++--- graphics/evince/distinfo | 4 ++-- .../patches/patch-libdocument_ev-document-misc_c | 11 ++++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile index 13da0886319..f2d5246364a 100644 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -1,10 +1,9 @@ -# $OpenBSD: Makefile,v 1.163 2018/10/24 14:28:05 sthen Exp $ +# $OpenBSD: Makefile,v 1.164 2018/10/27 13:28:05 jasper Exp $ COMMENT= GNOME document viewer GNOME_PROJECT= evince -GNOME_VERSION= 3.28.4 -REVISION= 0 +GNOME_VERSION= 3.28.5 MAJ_V= 3.0 SUBST_VARS= MAJ_V diff --git a/graphics/evince/distinfo b/graphics/evince/distinfo index 281187c8e42..b548e13a766 100644 --- a/graphics/evince/distinfo +++ b/graphics/evince/distinfo @@ -1,2 +1,2 @@ -SHA256 (evince-3.28.4.tar.xz) = 32SxxqbCIMpVkvLPVk9+a4t35tcAlGgGW8lHD5JDfIE= -SIZE (evince-3.28.4.tar.xz) = 2174604 +SHA256 (evince-3.28.5.tar.xz) = bHl2Hb1eYQBUjuOgCOvsi8oOpFtNyUnHDtbNbxupvhY= +SIZE (evince-3.28.5.tar.xz) = 2196432 diff --git a/graphics/evince/patches/patch-libdocument_ev-document-misc_c b/graphics/evince/patches/patch-libdocument_ev-document-misc_c index 209c1bbbc5f..62810a37436 100644 --- a/graphics/evince/patches/patch-libdocument_ev-document-misc_c +++ b/graphics/evince/patches/patch-libdocument_ev-document-misc_c @@ -1,10 +1,11 @@ -$OpenBSD: patch-libdocument_ev-document-misc_c,v 1.1 2016/06/27 11:20:49 jasper Exp $ +$OpenBSD: patch-libdocument_ev-document-misc_c,v 1.2 2018/10/27 13:28:06 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) +Index: libdocument/ev-document-misc.c +--- libdocument/ev-document-misc.c.orig ++++ libdocument/ev-document-misc.c +@@ -532,8 +532,10 @@ ev_document_misc_format_date (GTime utime) char s[256]; const char fmt_hack[] = "%c"; size_t len; @@ -15,7 +16,7 @@ error: #pragma GCC diagnostic not allowed inside functions #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) +@@ -543,7 +545,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