* [PR PATCH] file: update to 5.45.
@ 2023-07-28 15:17 Bnyro
2023-08-04 16:54 ` Bnyro
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Bnyro @ 2023-07-28 15:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 462 bytes --]
There is a new pull request by Bnyro against master on the void-packages repository
https://github.com/Bnyro/void-packages file
https://github.com/void-linux/void-packages/pull/45296
file: update to 5.45.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/45296.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-file-45296.patch --]
[-- Type: text/x-diff, Size: 945 bytes --]
From 0342e4ee1e5ab38dd57125e3ec71199fd22505db Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Fri, 28 Jul 2023 17:15:28 +0200
Subject: [PATCH] file: update to 5.45.
---
srcpkgs/file/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/file/template b/srcpkgs/file/template
index 2d8c342264b76..aa4f75d095829 100644
--- a/srcpkgs/file/template
+++ b/srcpkgs/file/template
@@ -1,6 +1,6 @@
# Template file for 'file'
pkgname=file
-version=5.44
+version=5.45
revision=1
bootstrap=yes
build_style=gnu-configure
@@ -11,7 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.darwinsys.com/file/"
distfiles="https://astron.com/pub/file/file-${version}.tar.gz"
-checksum=3751c7fba8dbc831cb8d7cc8aff21035459b8ce5155ef8b0880a27d028475f3b
+checksum=fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82
build_options="libseccomp"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file: update to 5.45.
2023-07-28 15:17 [PR PATCH] file: update to 5.45 Bnyro
@ 2023-08-04 16:54 ` Bnyro
2023-08-05 18:29 ` leahneukirchen
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Bnyro @ 2023-08-04 16:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
New comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/45296#issuecomment-1665917879
Comment:
I'd be thankful if anyone has an idea how to fix the i686 checks - they do pass on my machine when cross compiling, and I don't have an i686 device.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file: update to 5.45.
2023-07-28 15:17 [PR PATCH] file: update to 5.45 Bnyro
2023-08-04 16:54 ` Bnyro
@ 2023-08-05 18:29 ` leahneukirchen
2023-08-05 18:31 ` leahneukirchen
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2023-08-05 18:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/pull/45296#issuecomment-1666576018
Comment:
Breaks in my i686 rootdir.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file: update to 5.45.
2023-07-28 15:17 [PR PATCH] file: update to 5.45 Bnyro
2023-08-04 16:54 ` Bnyro
2023-08-05 18:29 ` leahneukirchen
@ 2023-08-05 18:31 ` leahneukirchen
2023-08-05 18:37 ` leahneukirchen
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2023-08-05 18:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/pull/45296#issuecomment-1666576433
Comment:
Other tests break too so this needs fixing.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file: update to 5.45.
2023-07-28 15:17 [PR PATCH] file: update to 5.45 Bnyro
` (2 preceding siblings ...)
2023-08-05 18:31 ` leahneukirchen
@ 2023-08-05 18:37 ` leahneukirchen
2023-08-05 18:42 ` [PR PATCH] [Updated] " Bnyro
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2023-08-05 18:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/pull/45296#issuecomment-1666577431
Comment:
You need to cherry pick https://github.com/file/file/commit/218fdf813fd5ccecbb8887a1b62509cd1c6dd3a1
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] file: update to 5.45.
2023-07-28 15:17 [PR PATCH] file: update to 5.45 Bnyro
` (3 preceding siblings ...)
2023-08-05 18:37 ` leahneukirchen
@ 2023-08-05 18:42 ` Bnyro
2023-08-05 18:43 ` Bnyro
2023-08-05 19:02 ` [PR PATCH] [Merged]: " leahneukirchen
6 siblings, 0 replies; 8+ messages in thread
From: Bnyro @ 2023-08-05 18:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
There is an updated pull request by Bnyro against master on the void-packages repository
https://github.com/Bnyro/void-packages file
https://github.com/void-linux/void-packages/pull/45296
file: update to 5.45.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
A patch file from https://github.com/void-linux/void-packages/pull/45296.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-file-45296.patch --]
[-- Type: text/x-diff, Size: 2532 bytes --]
From 34915fc63606b971f21baecf7671e613dde1897e Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Fri, 28 Jul 2023 17:15:28 +0200
Subject: [PATCH] file: update to 5.45.
---
srcpkgs/file/patches/32bit-time_t.patch | 36 +++++++++++++++++++++++++
srcpkgs/file/template | 4 +--
2 files changed, 38 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/file/patches/32bit-time_t.patch
diff --git a/srcpkgs/file/patches/32bit-time_t.patch b/srcpkgs/file/patches/32bit-time_t.patch
new file mode 100644
index 0000000000000..bb5ebc071b359
--- /dev/null
+++ b/srcpkgs/file/patches/32bit-time_t.patch
@@ -0,0 +1,36 @@
+From 218fdf813fd5ccecbb8887a1b62509cd1c6dd3a1 Mon Sep 17 00:00:00 2001
+From: Christos Zoulas <christos@zoulas.com>
+Date: Fri, 28 Jul 2023 14:38:25 +0000
+Subject: [PATCH] deal with 32 bit time_t
+
+---
+ src/file.h | 8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/src/file.h b/src/file.h
+index 2e0494d2f..78f574ea1 100644
+--- a/src/file.h
++++ b/src/file.h
+@@ -27,7 +27,7 @@
+ */
+ /*
+ * file.h - definitions for file(1) program
+- * @(#)$File: file.h,v 1.247 2023/07/27 19:40:22 christos Exp $
++ * @(#)$File: file.h,v 1.248 2023/07/28 14:38:25 christos Exp $
+ */
+
+ #ifndef __file_h__
+@@ -159,9 +159,11 @@
+ /*
+ * Dec 31, 23:59:59 9999
+ * we need to make sure that we don't exceed 9999 because some libc
+- * implementations like muslc crash otherwise
++ * implementations like muslc crash otherwise. If you are unlucky
++ * to be running on a system with a 32 bit time_t, then it is even less.
+ */
+-#define MAX_CTIME CAST(time_t, 0x3afff487cfULL)
++#define MAX_CTIME \
++ CAST(time_t, sizeof(time_t) > 4 ? 0x3afff487cfULL : 0x7fffffffULL)
+
+ #define FILE_BADSIZE CAST(size_t, ~0ul)
+ #define MAXDESC 64 /* max len of text description/MIME type */
diff --git a/srcpkgs/file/template b/srcpkgs/file/template
index 2d8c342264b76..aa4f75d095829 100644
--- a/srcpkgs/file/template
+++ b/srcpkgs/file/template
@@ -1,6 +1,6 @@
# Template file for 'file'
pkgname=file
-version=5.44
+version=5.45
revision=1
bootstrap=yes
build_style=gnu-configure
@@ -11,7 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://www.darwinsys.com/file/"
distfiles="https://astron.com/pub/file/file-${version}.tar.gz"
-checksum=3751c7fba8dbc831cb8d7cc8aff21035459b8ce5155ef8b0880a27d028475f3b
+checksum=fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82
build_options="libseccomp"
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: file: update to 5.45.
2023-07-28 15:17 [PR PATCH] file: update to 5.45 Bnyro
` (4 preceding siblings ...)
2023-08-05 18:42 ` [PR PATCH] [Updated] " Bnyro
@ 2023-08-05 18:43 ` Bnyro
2023-08-05 19:02 ` [PR PATCH] [Merged]: " leahneukirchen
6 siblings, 0 replies; 8+ messages in thread
From: Bnyro @ 2023-08-05 18:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 147 bytes --]
New comment by Bnyro on void-packages repository
https://github.com/void-linux/void-packages/pull/45296#issuecomment-1666578407
Comment:
thanks!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Merged]: file: update to 5.45.
2023-07-28 15:17 [PR PATCH] file: update to 5.45 Bnyro
` (5 preceding siblings ...)
2023-08-05 18:43 ` Bnyro
@ 2023-08-05 19:02 ` leahneukirchen
6 siblings, 0 replies; 8+ messages in thread
From: leahneukirchen @ 2023-08-05 19:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
There's a merged pull request on the void-packages repository
file: update to 5.45.
https://github.com/void-linux/void-packages/pull/45296
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-08-05 19:02 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28 15:17 [PR PATCH] file: update to 5.45 Bnyro
2023-08-04 16:54 ` Bnyro
2023-08-05 18:29 ` leahneukirchen
2023-08-05 18:31 ` leahneukirchen
2023-08-05 18:37 ` leahneukirchen
2023-08-05 18:42 ` [PR PATCH] [Updated] " Bnyro
2023-08-05 18:43 ` Bnyro
2023-08-05 19:02 ` [PR PATCH] [Merged]: " leahneukirchen
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).