diff options
author | drochner <drochner@pkgsrc.org> | 2008-12-15 19:56:25 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2008-12-15 19:56:25 +0000 |
commit | 84dbf5e5eee63e1bae10db7c5eba06ac965f8d53 (patch) | |
tree | 49236940e8ae32c4d61445c6e7be1f831d795590 /graphics/eog | |
parent | 75c455141365d8bbebece4a7bc777ba26b7d1aa8 (diff) | |
download | pkgsrc-84dbf5e5eee63e1bae10db7c5eba06ac965f8d53.tar.gz |
calculate the weekday displayed in metadata in a portable way,
so that it shows the correct one on NetBSD
bump PKGREVISION
Diffstat (limited to 'graphics/eog')
-rw-r--r-- | graphics/eog/Makefile | 3 | ||||
-rw-r--r-- | graphics/eog/distinfo | 3 | ||||
-rw-r--r-- | graphics/eog/patches/patch-aa | 12 |
3 files changed, 16 insertions, 2 deletions
diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile index 13a68774ed5..dde631177ed 100644 --- a/graphics/eog/Makefile +++ b/graphics/eog/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.38 2008/12/02 11:39:30 wiz Exp $ +# $NetBSD: Makefile,v 1.39 2008/12/15 19:56:25 drochner Exp $ # DISTNAME= eog-2.24.2 +PKGREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/eog/2.24/} EXTRACT_SUFX= .tar.bz2 diff --git a/graphics/eog/distinfo b/graphics/eog/distinfo index 0c3a852743f..9312130b042 100644 --- a/graphics/eog/distinfo +++ b/graphics/eog/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.13 2008/12/02 11:39:30 wiz Exp $ +$NetBSD: distinfo,v 1.14 2008/12/15 19:56:26 drochner Exp $ SHA1 (eog-2.24.2.tar.bz2) = 0fa538744fe6cea7009bde5b345c27430afeebcb RMD160 (eog-2.24.2.tar.bz2) = bedf11b34b51d7dce88800c1630880040407aa0d Size (eog-2.24.2.tar.bz2) = 2277300 bytes +SHA1 (patch-aa) = 092880938f9c91a154f9d97a758f5a25317724c9 diff --git a/graphics/eog/patches/patch-aa b/graphics/eog/patches/patch-aa new file mode 100644 index 00000000000..241ee28cb45 --- /dev/null +++ b/graphics/eog/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.5 2008/12/15 19:56:26 drochner Exp $ + +--- src/eog-exif-util.c.orig 2008-10-20 18:31:54.000000000 +0200 ++++ src/eog-exif-util.c +@@ -55,6 +55,7 @@ eog_exif_util_format_date_with_strptime + + if (p == date + strlen (date)) { + /* A strftime-formatted string, to display the date the image was taken. */ ++ mktime(&tm); + dlen = strftime (tmp_date, DATE_BUF_SIZE * sizeof(gchar), _("%a, %d %B %Y %X"), &tm); + new_date = g_strndup (tmp_date, dlen); + } |