diff options
Diffstat (limited to 'debian/patches/add-throw-for-nanosleep.diff')
-rw-r--r-- | debian/patches/add-throw-for-nanosleep.diff | 36 |
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) |