]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- added cmsg-time64-fix patch (unbreaks some network tools incl. ping on archs with... auto/th/glibc-2.34-10
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 14 Dec 2021 16:33:46 +0000 (17:33 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 14 Dec 2021 16:33:46 +0000 (17:33 +0100)
- release 10

glibc-cmsg-time64-fix.patch [new file with mode: 0644]
glibc.spec

diff --git a/glibc-cmsg-time64-fix.patch b/glibc-cmsg-time64-fix.patch
new file mode 100644 (file)
index 0000000..e9c97d5
--- /dev/null
@@ -0,0 +1,15 @@
+https://sourceware.org/bugzilla/show_bug.cgi?id=28350
+--- glibc-2.34/sysdeps/unix/sysv/linux/convert_scm_timestamps.c.orig   2021-08-02 03:33:43.000000000 +0200
++++ glibc-2.34/sysdeps/unix/sysv/linux/convert_scm_timestamps.c        2021-12-14 06:27:02.255687500 +0100
+@@ -55,7 +55,10 @@ __convert_scm_timestamps (struct msghdr
+        cmsg = CMSG_NXTHDR (msg, cmsg))
+     {
+       if (cmsg->cmsg_level != SOL_SOCKET)
+-      continue;
++        {
++        last = cmsg;
++        continue;
++      }
+       switch (cmsg->cmsg_type)
+       {
index 40adc11693606087157767dc20494a0ade3be7a0..beba62a0a45f59d6c7b372a3572a15611b26fdcc 100644 (file)
@@ -51,7 +51,7 @@ Summary(tr.UTF-8):    GNU libc
 Summary(uk.UTF-8):     GNU libc версії
 Name:          glibc
 Version:       %{core_version}
-Release:       9
+Release:       10
 Epoch:         6
 License:       LGPL v2.1+
 Group:         Libraries
@@ -76,6 +76,7 @@ Patch3:               %{name}-crypt-blowfish.patch
 Patch4:                %{name}-no-bash-nls.patch
 Patch5:                %{name}-regex-bug11053.patch
 Patch6:                %{name}-paths.patch
+Patch7:                %{name}-cmsg-time64-fix.patch
 
 Patch10:       %{name}-info.patch
 Patch11:       %{name}-autoconf.patch
@@ -956,6 +957,7 @@ exit 1
 %{!?with_bash_nls:%patch4 -p1}
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %patch10 -p1
 %patch11 -p1
This page took 0.250848 seconds and 4 git commands to generate.