summaryrefslogtreecommitdiff
path: root/devel/strace/files/patch-time.c
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2008-12-27 04:15:26 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2008-12-27 04:15:26 +0000
commitfb1b4445107117d66fc9cf85f74a9dad104ae352 (patch)
tree61b0150dbd420031d0ef0f7921ac6b707b26d1c4 /devel/strace/files/patch-time.c
parent PLEASE WELCOME www/rt38 (diff)
- Update to 4.5.18
- Add forgotten new files PR: ports/129019 Reported by: erwinbot Pointyhat to: pgollucci
Notes
Notes: svn path=/head/; revision=224844
Diffstat (limited to 'devel/strace/files/patch-time.c')
-rw-r--r--devel/strace/files/patch-time.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/strace/files/patch-time.c b/devel/strace/files/patch-time.c
new file mode 100644
index 000000000000..16cf7619da0e
--- /dev/null
+++ b/devel/strace/files/patch-time.c
@@ -0,0 +1,18 @@
+--- time.c.orig 2008-11-21 01:06:16.000000000 +0800
++++ time.c 2008-11-21 01:06:46.000000000 +0800
+@@ -36,6 +36,7 @@
+ #include <sys/timex.h>
+ #include <linux/ioctl.h>
+ #include <linux/rtc.h>
++#endif /* LINUX */
+
+ #ifndef UTIME_NOW
+ #define UTIME_NOW ((1l << 30) - 1l)
+@@ -43,7 +44,6 @@
+ #ifndef UTIME_OMIT
+ #define UTIME_OMIT ((1l << 30) - 2l)
+ #endif
+-#endif /* LINUX */
+
+ struct timeval32
+ {