commit 79825541274d6bc55021f6b4302722c224fe1285
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Tue Dec 14 17:33:46 2021 +0100

    - added cmsg-time64-fix patch (unbreaks some network tools incl. ping on 
archs with time64 compat layer, incl. ix86)
    - release 10

 glibc-cmsg-time64-fix.patch | 15 +++++++++++++++
 glibc.spec                  |  4 +++-
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/glibc.spec b/glibc.spec
index 40adc11..beba62a 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -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
diff --git a/glibc-cmsg-time64-fix.patch b/glibc-cmsg-time64-fix.patch
new file mode 100644
index 0000000..e9c97d5
--- /dev/null
+++ b/glibc-cmsg-time64-fix.patch
@@ -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)
+       {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/79825541274d6bc55021f6b4302722c224fe1285

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to