diff options
Diffstat (limited to 'sys-devel/make/files/make-3.80-ppc64-hardened-clock_gettime.patch')
-rw-r--r-- | sys-devel/make/files/make-3.80-ppc64-hardened-clock_gettime.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-devel/make/files/make-3.80-ppc64-hardened-clock_gettime.patch b/sys-devel/make/files/make-3.80-ppc64-hardened-clock_gettime.patch new file mode 100644 index 000000000000..84d4c29930f4 --- /dev/null +++ b/sys-devel/make/files/make-3.80-ppc64-hardened-clock_gettime.patch @@ -0,0 +1,12 @@ +--- file.c.orig 2005-04-03 19:48:57.000000000 +0000 ++++ file.c 2005-04-03 19:50:12.000000000 +0000 +@@ -576,7 +576,7 @@ + only one-second resolution. The code below should work, but it's + not worth the hassle of debugging it on hosts where it fails. */ + #if FILE_TIMESTAMP_HI_RES +-# if HAVE_CLOCK_GETTIME && defined CLOCK_REALTIME ++# if HAVE_CLOCK_GETTIME && defined CLOCK_REALTIME && !defined(__PPC64__) + { + struct timespec timespec; + if (clock_gettime (CLOCK_REALTIME, ×pec) == 0) + |