Debian Codegraph @

debian/patches/0006-Embeds-date-dependent-on-timezone.patch

raw
1 From: Vagrant Cascadian <[email protected]>
2 Date: Mon, 30 Aug 2021 20:08:47 +0000
3 Subject: Embeds date dependent on timezone
4
5 Use date -u and dpkg-parsechangelog
6
7 Forwarded: https://github.com/ImageMagick/ImageMagick6/issues/166
8 Bug-debian: https://bugs.debian.org/983303
9 ---
10 configure.ac | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 Index: imagemagick/configure.ac
14 ===================================================================
15 --- imagemagick.orig/configure.ac 2026-07-07 10:22:10.094096449 +0200
16 +++ imagemagick/configure.ac 2026-07-07 10:22:10.091606436 +0200
17 @@ -37,7 +37,7 @@
18 ]))
19 m4_define([magick_release_date],
20 m4_esyscmd([
21 - d=$(git log -1 --format=%cd --date=format:%Y-%m-%d || date -u +%F -r ./m4/version.m4)
22 + d=$(date -u -d "@$(dpkg-parsechangelog -Stimestamp)" "+%F")
23 printf %s "$d"
24 ]))
25