- Mark BROKEN on 15 as it fails with ld: error: version script assignment of 'GLIBC_2.2' to symbol 'timer_gettime' failed: symbol not defined
21 lines
514 B
C
21 lines
514 B
C
--- src/libfaketime.c.orig 2016-06-27 06:54:00 UTC
|
|
+++ src/libfaketime.c
|
|
@@ -23,6 +23,17 @@
|
|
|
|
#define _GNU_SOURCE /* required to get RTLD_NEXT defined */
|
|
|
|
+/*
|
|
+ * libfaketime.c:1246:5: error: conflicting types for 'gettimeofday'
|
|
+ * int gettimeofday(struct timeval *tv, void *tz)
|
|
+ * vs
|
|
+ * int gettimeofday(struct timeval *, struct timezone *);
|
|
+ */
|
|
+
|
|
+#define gettimeofday bsd_gettimeofday
|
|
+#include <sys/time.h>
|
|
+#undef gettimeofday
|
|
+
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|