Hello community, here is the log from the commit of package glibc for openSUSE:Factory checked in at 2018-07-02 23:26:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glibc (Old) and /work/SRC/openSUSE:Factory/.glibc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glibc" Mon Jul 2 23:26:40 2018 rev:224 rq:617701 version:2.27 Changes: -------- --- /work/SRC/openSUSE:Factory/glibc/glibc.changes 2018-05-28 08:06:13.621683797 +0200 +++ /work/SRC/openSUSE:Factory/.glibc.new/glibc.changes 2018-07-02 23:26:47.461743577 +0200 @@ -1,0 +2,16 @@ +Tue Jun 19 08:37:43 UTC 2018 - [email protected] + +- Use python3-pexpect instead of python-pexpect + +------------------------------------------------------------------- +Thu Jun 14 12:29:54 UTC 2018 - [email protected] + +- riscv-kernel-sigaction.patch: fix struct kernel_sigaction to match the + kernel version (BZ #23069) + +------------------------------------------------------------------- +Mon Jun 4 08:18:44 UTC 2018 - [email protected] + +- glibc-2.3.90-langpackdir.diff: No longer search in /usr/share/locale-bundle + +------------------------------------------------------------------- New: ---- riscv-kernel-sigaction.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glibc.spec ++++++ --- /var/tmp/diff_new_pack.qs7x4Y/_old 2018-07-02 23:26:54.725734621 +0200 +++ /var/tmp/diff_new_pack.qs7x4Y/_new 2018-07-02 23:26:54.725734621 +0200 @@ -72,7 +72,7 @@ BuildRequires: gdb BuildRequires: glibc-devel-static BuildRequires: libstdc++-devel -BuildRequires: python-pexpect +BuildRequires: python3-pexpect %endif %if %{build_utils} BuildRequires: gd-devel @@ -308,6 +308,8 @@ Patch1012: mempcpy-avx512.patch # PATCH-FIX-UPSTREAM realpath-ssize-max-overflow.patch: Fix overflow in path length computation (CVE-2018-11236, BZ #22786) Patch1013: realpath-ssize-max-overflow.patch +# PATCH-FIX-UPSTREAM RISC-V: fix struct kernel_sigaction to match the kernel version (BZ #23069) +Patch1014: riscv-kernel-sigaction.patch ### # Patches awaiting upstream approval @@ -531,6 +533,7 @@ %patch1011 -p1 %patch1012 -p1 %patch1013 -p1 +%patch1014 -p1 %patch2000 -p1 %patch2004 -p1 ++++++ glibc-2.3.90-langpackdir.diff ++++++ --- /var/tmp/diff_new_pack.qs7x4Y/_old 2018-07-02 23:26:54.845734474 +0200 +++ /var/tmp/diff_new_pack.qs7x4Y/_new 2018-07-02 23:26:54.845734474 +0200 @@ -2,7 +2,7 @@ =================================================================== --- glibc-2.27.orig/intl/loadmsgcat.c +++ glibc-2.27/intl/loadmsgcat.c -@@ -796,8 +796,47 @@ _nl_load_domain (struct loaded_l10nfile +@@ -796,8 +796,27 @@ _nl_load_domain (struct loaded_l10nfile if (domain_file->filename == NULL) goto out; @@ -29,26 +29,6 @@ + /* Try to open the addressed file. */ + fd = open (domain_file->filename, O_RDONLY | O_BINARY); + -+ if (fd == -1) -+ { -+ /* Use the fallback directory. */ -+ const char *bundle_dir = "/usr/share/locale-bundle/"; -+ char *filename_bundle = malloc (strlen (domain_file->filename) + -+ strlen (bundle_dir)); -+ if (filename_bundle != NULL) -+ { -+ char *p = strstr (domain_file->filename, "/locale/"); -+ if (p != NULL) -+ { -+ strcpy (filename_bundle, bundle_dir); -+ strcpy (&filename_bundle[strlen (bundle_dir)], p + 8); -+ fd = open (filename_bundle, O_RDONLY | O_BINARY); -+ } -+ -+ free (filename_bundle); -+ } -+ } -+ if (fd == -1) goto out; ++++++ riscv-kernel-sigaction.patch ++++++ 2018-04-28 Aurelien Jarno <[email protected]> [BZ #23069] * sysdeps/unix/sysv/linux/riscv/kernel_sigaction.h: New file. Index: glibc-2.27/sysdeps/unix/sysv/linux/riscv/kernel_sigaction.h =================================================================== --- /dev/null +++ glibc-2.27/sysdeps/unix/sysv/linux/riscv/kernel_sigaction.h @@ -0,0 +1,7 @@ +/* This is the sigaction structure from the RISC-V Linux 4.15 kernel. */ + +struct kernel_sigaction { + __sighandler_t k_sa_handler; + unsigned long sa_flags; + sigset_t sa_mask; +};
