* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / archiver / unzip / hotfix-21-fix-warning-messages-on-big-files.patch
blobdf5eb194c47aa6668eceb0166561fb0b5071af2e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/unzip/hotfix-21-fix-warning-messages-on-big-files.patch
3 # Copyright (C) 2022 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 From: "Steven M. Schweda" <sms@antinode.info>
15 Subject: Fix lame code in fileio.c
16 Bug-Debian: https://bugs.debian.org/929502
17 X-Debian-version: 6.0-23
19 --- a/fileio.c
20 +++ b/fileio.c
21 @@ -2477,6 +2477,7 @@
23 return (((zusz_t)sig[7]) << 56)
24 + (((zusz_t)sig[6]) << 48)
25 + + (((zusz_t)sig[5]) << 40)
26 + (((zusz_t)sig[4]) << 32)
27 + (zusz_t)((((ulg)sig[3]) << 24)
28 + (((ulg)sig[2]) << 16)