update to evince-3.28.5
This commit is contained in:
parent
091fb43558
commit
5443a6eefe
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user