diff options
author | Daniel Ostrow <dostrow@gentoo.org> | 2005-04-07 01:16:20 +0000 |
---|---|---|
committer | Daniel Ostrow <dostrow@gentoo.org> | 2005-04-07 01:16:20 +0000 |
commit | 3f531913b526f093a84b2d60c49a93287c03585f (patch) | |
tree | 06f9def7aa0b8a240e9e7be1807c83fcefada23d /sys-devel/make/files | |
parent | Delete the glibc-compat dir since its useless to us #87739. (diff) | |
download | gentoo-2-3f531913b526f093a84b2d60c49a93287c03585f.tar.gz gentoo-2-3f531913b526f093a84b2d60c49a93287c03585f.tar.bz2 gentoo-2-3f531913b526f093a84b2d60c49a93287c03585f.zip |
Add patch for ppc64 hardened
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/make/files')
-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) + |