From 90ca20fd0234925743db5e1e231b73b4a38749a9 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 21 Oct 2020 14:54:20 +0530 Subject: [PATCH] Also revert xmknod and ftime removal --- glibc-revert-ftime-compat.patch | 232 ++++++++++++++++++++++++++ glibc-revert-mknod-compat.patch | 278 ++++++++++++++++++++++++++++++++ glibc.spec | 6 +- 3 files changed, 515 insertions(+), 1 deletion(-) create mode 100644 glibc-revert-ftime-compat.patch create mode 100644 glibc-revert-mknod-compat.patch diff --git a/glibc-revert-ftime-compat.patch b/glibc-revert-ftime-compat.patch new file mode 100644 index 0000000..a096726 --- /dev/null +++ b/glibc-revert-ftime-compat.patch @@ -0,0 +1,232 @@ +From a4ef8877d0f9739378655e683cc013a29c4ab82b Mon Sep 17 00:00:00 2001 +From: Siddhesh Poyarekar +Date: Wed, 21 Oct 2020 14:55:29 +0530 +Subject: [PATCH] Revert "Move ftime to a compatibility symbol" + +This reverts commit 14633d3e568eb9770a7e5046eff257113e0453fb. +--- + include/sys/timeb.h | 1 + + .../unix/sysv/linux/riscv/rv32/libc.abilist | 1 + + time/Makefile | 5 +- + time/ftime.c | 19 +----- + time/sys/timeb.h | 44 ++++++++++++++ + time/tst-ftime.c | 59 +++++++++---------- + 6 files changed, 79 insertions(+), 50 deletions(-) + create mode 100644 include/sys/timeb.h + create mode 100644 time/sys/timeb.h + +diff --git a/include/sys/timeb.h b/include/sys/timeb.h +new file mode 100644 +index 0000000000..9f4509c35e +--- /dev/null ++++ b/include/sys/timeb.h +@@ -0,0 +1 @@ ++#include