From 7bd50bfc84fb70fb65d5fdcae9576e9ff48813db Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 18 Jul 2022 13:58:44 +0000 Subject: [PATCH] got: update to 0.74 --- srcpkgs/got/patches/cast-printf-time_t.patch | 24 -------------------- srcpkgs/got/template | 4 ++-- 2 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 srcpkgs/got/patches/cast-printf-time_t.patch diff --git a/srcpkgs/got/patches/cast-printf-time_t.patch b/srcpkgs/got/patches/cast-printf-time_t.patch deleted file mode 100644 index a369ddff9278..000000000000 --- a/srcpkgs/got/patches/cast-printf-time_t.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Christian Weisgerber -Date: Mon, 4 Jul 2022 15:13:11 +0000 (+0000) -Subject: fix potential type mismatch between format specifier and argument -X-Git-Url: https://git.gameoftrees.org/gitweb/?p=got.git;a=commitdiff_plain;h=b9a36ae5 - -fix potential type mismatch between format specifier and argument - -Cast printf argument of type time_t to long long to match the %lld -format specifier on platforms where this might not be the case. ---- - -diff --git a/lib/sigs.c b/lib/sigs.c -index 693a3a27..ac1b2637 100644 ---- a/lib/sigs.c -+++ b/lib/sigs.c -@@ -204,7 +204,7 @@ got_tag_write_signed_data(BUF *buf, struct got_tag_object *tag, - got_date_format_gmtoff(gmtoff, sizeof(gmtoff), - got_object_tag_get_tagger_gmtoff(tag)); - if (asprintf(&tagger, "%s %lld %s", got_object_tag_get_tagger(tag), -- got_object_tag_get_tagger_time(tag), gmtoff) == -1) { -+ (long long)got_object_tag_get_tagger_time(tag), gmtoff) == -1) { - err = got_error_from_errno("asprintf"); - goto done; - } diff --git a/srcpkgs/got/template b/srcpkgs/got/template index 6a991e32a027..8f4fdb39db10 100644 --- a/srcpkgs/got/template +++ b/srcpkgs/got/template @@ -1,6 +1,6 @@ # Template file for 'got' pkgname=got -version=0.73 +version=0.74 revision=1 wrksrc=got-portable-${version} build_style=gnu-configure @@ -12,7 +12,7 @@ license="ISC" homepage="https://gameoftrees.org" changelog="https://gameoftrees.org/releases/CHANGES" distfiles="https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz" -checksum="f0753a7e745bb3975cdd915424827d76bdec6bd0832c443c77d84ae3121ca874" +checksum="5c495209d161db8adfda0a2c8d2d011be54da8b64d2d8798914cb8b7944876fe" post_install() { sed -n '/Copyright/,/PERFORMANCE/p' got/got.c > LICENSE