summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ostrow <dostrow@gentoo.org>2005-04-07 01:16:20 +0000
committerDaniel Ostrow <dostrow@gentoo.org>2005-04-07 01:16:20 +0000
commitb6e78683167564fc1e420e882308ec3aa9d9642b (patch)
treec8ad81e47a75019e6d0c7da0d002e4db5794ef06 /sys-devel/make/files
parentDelete the glibc-compat dir since its useless to us #87739. (diff)
downloadhistorical-b6e78683167564fc1e420e882308ec3aa9d9642b.tar.gz
historical-b6e78683167564fc1e420e882308ec3aa9d9642b.tar.bz2
historical-b6e78683167564fc1e420e882308ec3aa9d9642b.zip
Add patch for ppc64 hardened
Package-Manager: portage-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.patch12
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, &timespec) == 0)
+