~ruther/guix-local

ref: d98dc7051d2dcdbaa2ce2f92fe6385ee7bd4bab0 guix-local/gnu/packages/patches/datefudge-gettimeofday.patch -rw-r--r-- 424 bytes
d98dc705 — Christopher Baines gnu: guix-data-service: Update to 0.0.1-50.d74422c. 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
Add the 'restrict' qualifier to match the 'gettimeofday' declaration found
in glibc 2.31.

--- datefudge-1.23/datefudge.c	2020-02-17 22:35:21.343341725 +0100
+++ datefudge-1.23/datefudge.c	2020-02-17 22:35:49.619117874 +0100
@@ -78,6 +78,6 @@
     return 0;
 }
 
-int gettimeofday(struct timeval *x, struct timezone *y) {
+int gettimeofday(struct timeval *restrict x, void *restrict y) {
     return __gettimeofday(x,y);
 }