summaryrefslogtreecommitdiff
path: root/debian/patches/add-throw-for-nanosleep.diff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-03-12 16:19:31 +0100
committerArnd Bergmann <arnd@arndb.de>2020-03-12 16:36:29 +0100
commitc15b4d174aa8ac3db18498236690184d5ce215d4 (patch)
treee66345325cab05578be15c8f0e4bca31104a6c34 /debian/patches/add-throw-for-nanosleep.diff
parent4e149fe9902159e6d67b83d802ea177b0d437158 (diff)
additional patchesglibc-2.31
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'debian/patches/add-throw-for-nanosleep.diff')
-rw-r--r--debian/patches/add-throw-for-nanosleep.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/add-throw-for-nanosleep.diff b/debian/patches/add-throw-for-nanosleep.diff
new file mode 100644
index 00000000..2000089c
--- /dev/null
+++ b/debian/patches/add-throw-for-nanosleep.diff
@@ -0,0 +1,36 @@
+Description: add THROW for nanosleep
+
+This fixes a build failure
+ .
+ glibc (2.31-2038.3) UNRELEASED; urgency=medium
+ .
+ [ Arnd Bergmann ]
+ * Import https://github.com/lmajewski/y2038_glibc/commits/y2038_edge
+ * Force-enable time64
+ * rework a few more times
+Author: Arnd Bergmann <arnd@arndb.de>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: 2020-03-05
+
+--- glibc-2.31.orig/time/time.h
++++ glibc-2.31/time/time.h
+@@ -311,7 +311,7 @@ extern int __REDIRECT_NTH (clock_settime
+ __THROW. */
+ extern int clock_nanosleep (clockid_t __clock_id, int __flags,
+ const struct timespec *__req,
+- struct timespec *__rem);
++ struct timespec *__rem) __THROW;
+
+ #ifdef __USE_TIME_BITS64
+ # if defined(__REDIRECT_NTH)