diff options
Diffstat (limited to 'sci-mathematics/euler/files/euler-glibc-2.4-gentoo.patch')
-rw-r--r-- | sci-mathematics/euler/files/euler-glibc-2.4-gentoo.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-mathematics/euler/files/euler-glibc-2.4-gentoo.patch b/sci-mathematics/euler/files/euler-glibc-2.4-gentoo.patch new file mode 100644 index 000000000000..da377bd5f3ba --- /dev/null +++ b/sci-mathematics/euler/files/euler-glibc-2.4-gentoo.patch @@ -0,0 +1,13 @@ +# patch to fix missing CLK_TCK in glibc 2.4 + +--- src/main.c. 2006-04-04 15:05:34.000000000 +0200 ++++ src/main.c 2006-04-04 15:09:20.000000000 +0200 +@@ -439,7 +439,7 @@ + gettimer(TIMEOFDAY,&t); + return (t.tv_sec+t.tv_nsec/1000000000.0); + #else +- return ((double)(times(NULL)))/CLK_TCK; ++ return ((double)(times(NULL)))/CLOCKS_PER_SEC; + #endif + } + |