summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2006-04-04 14:01:04 +0000
committerMarkus Dittrich <markusle@gentoo.org>2006-04-04 14:01:04 +0000
commitc821e30234d42ea827ac8037627b28e7928b3cec (patch)
tree8bc60610ac23b5e960804d804d3425c83f84db8b /sci-mathematics/euler
parentMarked stable on amd64 per bug #125725 (diff)
downloadgentoo-2-c821e30234d42ea827ac8037627b28e7928b3cec.tar.gz
gentoo-2-c821e30234d42ea827ac8037627b28e7928b3cec.tar.bz2
gentoo-2-c821e30234d42ea827ac8037627b28e7928b3cec.zip
Added patch to fix missing CLK_TCK in glibc-2.4. This fixes bug #128689.
(Portage version: 2.1_pre7-r3)
Diffstat (limited to 'sci-mathematics/euler')
-rw-r--r--sci-mathematics/euler/ChangeLog8
-rw-r--r--sci-mathematics/euler/Manifest15
-rw-r--r--sci-mathematics/euler/euler-1.61.0.ebuild3
-rw-r--r--sci-mathematics/euler/files/euler-glibc-2.4-gentoo.patch13
4 files changed, 31 insertions, 8 deletions
diff --git a/sci-mathematics/euler/ChangeLog b/sci-mathematics/euler/ChangeLog
index fcc311dd41ed..24551a943271 100644
--- a/sci-mathematics/euler/ChangeLog
+++ b/sci-mathematics/euler/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-mathematics/euler
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v 1.9 2006/02/26 23:54:26 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v 1.10 2006/04/04 14:01:04 markusle Exp $
+
+ 04 Apr 2006; Markus Dittrich <markusle@gentoo.org>
+ +files/euler-glibc-2.4-gentoo.patch, euler-1.61.0.ebuild:
+ Added patch to fix missing CLK_TCK in glibc-2.4. Thanks to
+ Jaroslaw Kalinowski <jak137@o2.pl> for the patch. This
+ fixes bug #128689.
26 Feb 2006; Markus Dittrich <markusle@gentoo.org> euler-1.60.6-r1.ebuild, ChangeLog:
Replaced cut in global scope with function from versionator.eclass.
diff --git a/sci-mathematics/euler/Manifest b/sci-mathematics/euler/Manifest
index 21067ea6e061..a41ab5106daf 100644
--- a/sci-mathematics/euler/Manifest
+++ b/sci-mathematics/euler/Manifest
@@ -1,12 +1,12 @@
-MD5 622e0817cf3ed90d495b3ce789916902 ChangeLog 3796
-RMD160 850f2241a9ce985d5bbfbeecc4be12f0f714170b ChangeLog 3796
-SHA256 45b1ae43531aa383677faf08ebb0365a30d367472e40bd7fcb2bff7f0d3fb960 ChangeLog 3796
+MD5 2169708df55adab321acb55d0271adad ChangeLog 4050
+RMD160 7eb91407158bcd86ed4dfedac0fcca68d89a565b ChangeLog 4050
+SHA256 013f39f18ab8e51c5594b27f7b31bbc236a11cf6c38ffb54f1ff1afaf17ba04a ChangeLog 4050
MD5 8141789280f98eaf641dac2ba023caea euler-1.60.6-r1.ebuild 1257
RMD160 babbb53b8a5795da11cf5dd57b0e0fc8a944bb4e euler-1.60.6-r1.ebuild 1257
SHA256 1c4d5ec916146382d2c144cacce77989518dcc2ea3e4d28179ce16de029dcc5f euler-1.60.6-r1.ebuild 1257
-MD5 d23f4a4cef00e171013ea86323c5f61d euler-1.61.0.ebuild 793
-RMD160 75e8d4f281afeb80dde79bbddc3292a24003edc1 euler-1.61.0.ebuild 793
-SHA256 587610d5de2d9687d1d42cc1ced106742c22c7bd0745a6115bf117a2cf19a45f euler-1.61.0.ebuild 793
+MD5 971ed9ad15a0594a9a6b244f236526e4 euler-1.61.0.ebuild 844
+RMD160 047829f291be418a27cc362631e0f174ca2bd7ea euler-1.61.0.ebuild 844
+SHA256 cb8b1a911bed9d8050141712c7375469a9784278c7935d2c752ee5f109bedcaa euler-1.61.0.ebuild 844
MD5 2c3ee647a9bb675678ac382dc4d4369c files/command-gcc4-gentoo.patch 341
RMD160 433a86213f049d3ffb9ec3023419c2faf0f4b87c files/command-gcc4-gentoo.patch 341
SHA256 9871a61e1a04efc3780c0a140eb86b055c6d2637e75a4316b3988580e93c0787 files/command-gcc4-gentoo.patch 341
@@ -25,6 +25,9 @@ SHA256 c41b4464dc48f87e335d1e8d40b6f928c0c7cfe6e6850879a0511ce8b931ab1d files/eu
MD5 797a67ee56e452b239fbadb6a9a8c319 files/euler-1.60.6.patch 284
RMD160 45be3e2be8ecf77cd9c398e630ea91c9c0e89af5 files/euler-1.60.6.patch 284
SHA256 032e512dfe756621783fdf4f3a7aa3c642e9c3bd218f3e8b2063e2f94079bfcc files/euler-1.60.6.patch 284
+MD5 c554d3f6ecbbd3518199d769677e44b6 files/euler-glibc-2.4-gentoo.patch 349
+RMD160 509201244866852702d01a3a924dd9b9c85fea44 files/euler-glibc-2.4-gentoo.patch 349
+SHA256 90b7dd6d35c38bf18adb64b1312912c4aeb3147ecc65b0899899cc05534d2fe6 files/euler-glibc-2.4-gentoo.patch 349
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
diff --git a/sci-mathematics/euler/euler-1.61.0.ebuild b/sci-mathematics/euler/euler-1.61.0.ebuild
index 6faab42c9607..f9004a7ca7ba 100644
--- a/sci-mathematics/euler/euler-1.61.0.ebuild
+++ b/sci-mathematics/euler/euler-1.61.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.2 2006/02/12 15:45:26 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.61.0.ebuild,v 1.3 2006/04/04 14:01:04 markusle Exp $
inherit autotools eutils
@@ -19,6 +19,7 @@ src_unpack() {
epatch "${FILESDIR}"/configure-gentoo.patch
epatch "${FILESDIR}"/command-gcc4-gentoo.patch
+ epatch "${FILESDIR}"/euler-glibc-2.4-gentoo.patch
eautoreconf
sed -e 's:g77:g77 gfortran:g' -i ./configure || \
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
+ }
+