Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] got: update to 0.73.
@ 2022-07-04 15:51 omar-polo
  2022-07-04 16:23 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: omar-polo @ 2022-07-04 15:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

There is a new pull request by omar-polo against master on the void-packages repository

https://github.com/omar-polo/void-packages got-0.73
https://github.com/void-linux/void-packages/pull/37842

got: update to 0.73.
- I tested the changes in this PR: **YES**


A patch file from https://github.com/void-linux/void-packages/pull/37842.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-got-0.73-37842.patch --]
[-- Type: text/x-diff, Size: 2444 bytes --]

From 787143551bdb4f1cf02333ad37651cc02f91d958 Mon Sep 17 00:00:00 2001
From: Omar Polo <op@omarpolo.com>
Date: Mon, 4 Jul 2022 15:49:00 +0000
Subject: [PATCH] got: update to 0.73.

---
 srcpkgs/got/patches/cast-printf-time_t.patch | 24 ++++++++++++++++++++
 srcpkgs/got/template                         |  4 ++--
 2 files changed, 26 insertions(+), 2 deletions(-)
 create 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
new file mode 100644
index 000000000000..a369ddff9278
--- /dev/null
+++ b/srcpkgs/got/patches/cast-printf-time_t.patch
@@ -0,0 +1,24 @@
+From: Christian Weisgerber <naddy@mips.inka.de>
+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 1113cca08d9b..6a991e32a027 100644
--- a/srcpkgs/got/template
+++ b/srcpkgs/got/template
@@ -1,6 +1,6 @@
 # Template file for 'got'
 pkgname=got
-version=0.71
+version=0.73
 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="16a61f49e52e189606d8f4236423f912b5cae71b1d505ef1313b4fc3173108f0"
+checksum="f0753a7e745bb3975cdd915424827d76bdec6bd0832c443c77d84ae3121ca874"
 
 post_install() {
 	sed -n '/Copyright/,/PERFORMANCE/p' got/got.c > LICENSE

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: got: update to 0.73.
  2022-07-04 15:51 [PR PATCH] got: update to 0.73 omar-polo
@ 2022-07-04 16:23 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-07-04 16:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

There's a merged pull request on the void-packages repository

got: update to 0.73.
https://github.com/void-linux/void-packages/pull/37842

Description:
- I tested the changes in this PR: **YES**


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-04 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 15:51 [PR PATCH] got: update to 0.73 omar-polo
2022-07-04 16:23 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).