Update to pqiv-2.12

ok jca@ who takes maintainer
This commit is contained in:
danj 2021-06-19 15:06:46 +00:00
parent 41db4234b3
commit e711cf2c34
3 changed files with 22 additions and 7 deletions

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.21 2021/05/05 20:23:59 danj Exp $
# $OpenBSD: Makefile,v 1.22 2021/06/19 15:06:46 danj Exp $
COMMENT= command line image viewer
GH_ACCOUNT= phillipberndt
GH_PROJECT= pqiv
GH_TAGNAME= 2.11
REVISION= 0
GH_TAGNAME= 2.12
MAINTAINER= Jeremie Courreges-Anglas <jca@wxcvbn.org>
CATEGORIES= graphics
@ -14,8 +15,8 @@ HOMEPAGE= https://github.com/phillipberndt/pqiv/
# GPLv3
PERMIT_PACKAGE= Yes
WANTLIB += X11 atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gtk-3 intl m pango-1.0 pangocairo-1.0
WANTLIB += X11 atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gobject-2.0 gtk-3 harfbuzz intl m pango-1.0 pangocairo-1.0
COMPILER= base-clang ports-clang ports-gcc

View File

@ -1,2 +1,2 @@
SHA256 (pqiv-2.11.tar.gz) = 6h+La8tY3uGeLYFo7079AeIixlPqu9MQmq1XqHDMjJs=
SIZE (pqiv-2.11.tar.gz) = 139825
SHA256 (pqiv-2.12.tar.gz) = FTgSjIinC7rSuD+94yfYPk35USovtWDq9erx2N+Z2+U=
SIZE (pqiv-2.12.tar.gz) = 141927

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-pqiv_c,v 1.1 2021/06/19 15:06:46 danj Exp $
Index: pqiv.c
--- pqiv.c.orig
+++ pqiv.c
@@ -1762,7 +1762,7 @@ void load_images_handle_parameter(char *param, load_im
if(file_info) {
#if GLIB_CHECK_VERSION(2, 62, 0)
GDateTime *result = g_file_info_get_modification_date_time(file_info);
- file->sort_name = g_strdup_printf("%zu;%s", g_date_time_to_unix(result), file->display_name);
+ file->sort_name = g_strdup_printf("%jd;%s", (intmax_t)g_date_time_to_unix(result), file->display_name);
g_date_time_unref(result);
#else
GTimeVal result;