summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2009-07-03 12:56:35 +0000
committerAndrey Grozin <grozin@gentoo.org>2009-07-03 12:56:35 +0000
commitb6ef2c2576402fbb1ab797143d5a77398ec7fe7a (patch)
tree6851baafe408d3b4d976423369ba90066d4ffd65 /sci-libs
parentx11-base/xorg-server: bump to 1.6.1.902, add a couple patches to tentatively ... (diff)
downloadhistorical-b6ef2c2576402fbb1ab797143d5a77398ec7fe7a.tar.gz
historical-b6ef2c2576402fbb1ab797143d5a77398ec7fe7a.tar.bz2
historical-b6ef2c2576402fbb1ab797143d5a77398ec7fe7a.zip
Added patch for compiling by gcc-4.4 (bug #273996), thanks to Victor Ostorga <vostorga@gmail.com>
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/arprec/ChangeLog7
-rw-r--r--sci-libs/arprec/Manifest5
-rw-r--r--sci-libs/arprec/arprec-2.2.2.ebuild7
-rw-r--r--sci-libs/arprec/files/arprec-2.2.2-gcc44.patch59
4 files changed, 74 insertions, 4 deletions
diff --git a/sci-libs/arprec/ChangeLog b/sci-libs/arprec/ChangeLog
index e2f61595ca4c..801db93a508f 100644
--- a/sci-libs/arprec/ChangeLog
+++ b/sci-libs/arprec/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/arprec
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.1 2009/04/13 21:48:34 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.2 2009/07/03 12:56:35 grozin Exp $
+
+ 03 Jul 2009; Andrey Grozin <grozin@gentoo.org> arprec-2.2.2.ebuild,
+ +files/arprec-2.2.2-gcc44.patch:
+ Added patch for compiling by gcc-4.4 (bug #273996), thanks to Victor
+ Ostorga <vostorga@gmail.com>
*arprec-2.2.2 (14 Apr 2009)
diff --git a/sci-libs/arprec/Manifest b/sci-libs/arprec/Manifest
index 92f0ae0700be..d5adf527880d 100644
--- a/sci-libs/arprec/Manifest
+++ b/sci-libs/arprec/Manifest
@@ -1,4 +1,5 @@
+AUX arprec-2.2.2-gcc44.patch 1758 RMD160 da9e594bf4712481a6ec899c1d0c701b24116ae5 SHA1 f47e93c2c377a330f5530b5abbf8199a66100b8c SHA256 46bb6725833e701909b651bf3f48ada6e2816dc276aa1983064ab55615e4c874
DIST arprec-2.2.2.tar.gz 517639 RMD160 a0170f94aac90a15c6d34414886f6f6d91e2136c SHA1 f9c7197bf725cfb9e0225beb27e208c503f79636 SHA256 6f813782bf5dab29314be54bf87a5c70910282fd87573cb5864b101993c8fc66
-EBUILD arprec-2.2.2.ebuild 1264 RMD160 81b283e29abf7187aa8e9225fdf7c64dbc4c219b SHA1 d1c985ea4afa7f2341472d782266c5fe15847fcf SHA256 7991650dc82295fc6ef0ed0b12fe94cb39b806febb421896fbe3864bd47be321
-MISC ChangeLog 338 RMD160 540be3882c788042e61a19b762111347ba79c266 SHA1 1851d3f6c4f9bcac81971819fd32163fd0be1d42 SHA256 a65522023253e8a496458ea9734558fb5575c602e12a38bbaf56dadd1c7e82a3
+EBUILD arprec-2.2.2.ebuild 1337 RMD160 d2921ea794d966c2405811c39350e4db2ff4830b SHA1 261a834d53f72c24d87f8b1bade33f176fed5605 SHA256 ac73f047a2e9f7e82fb0d770f5f99d6b9704f73e9d5671d64b2c61836b2737f0
+MISC ChangeLog 546 RMD160 a855b939b594e750672e4c7cccb034d07cbca533 SHA1 45cf454eb22096d99dcff2fda14fe879bc1bc4d3 SHA256 e8d4ff5d314893080e1f6ed08b525e340ed2b0b4467171ea860ef3e87a349f40
MISC metadata.xml 405 RMD160 20c0f7376673c63d691cb12b530e93975919422f SHA1 9498246ff318be3e1642154fbd74f09d1a061ba0 SHA256 df5b9bf08d8ae37a4fdc946b111d61cc432a322469c98174230a69f14a1d444e
diff --git a/sci-libs/arprec/arprec-2.2.2.ebuild b/sci-libs/arprec/arprec-2.2.2.ebuild
index 21a0b45cb7f2..01413dcaaf5e 100644
--- a/sci-libs/arprec/arprec-2.2.2.ebuild
+++ b/sci-libs/arprec/arprec-2.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.2.ebuild,v 1.1 2009/04/13 21:48:34 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.2.ebuild,v 1.2 2009/07/03 12:56:35 grozin Exp $
EAPI=2
DESCRIPTION="Arbitrary precision float arithmetics and functions"
IUSE="fortran qd"
@@ -13,6 +13,11 @@ SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz"
DEPEND="qd? ( sci-libs/qd )"
+src_prepare() {
+ # bug #273996
+ epatch "${FILESDIR}"/${P}-gcc44.patch
+}
+
src_configure() {
econf $(use_enable fortran enable_fortran) \
$(use_enable qd enable_qd)
diff --git a/sci-libs/arprec/files/arprec-2.2.2-gcc44.patch b/sci-libs/arprec/files/arprec-2.2.2-gcc44.patch
new file mode 100644
index 000000000000..90305394c314
--- /dev/null
+++ b/sci-libs/arprec/files/arprec-2.2.2-gcc44.patch
@@ -0,0 +1,59 @@
+diff -NrU5 arprec-2.2.2.original/src/dotd.cpp arprec-2.2.2/src/dotd.cpp
+--- arprec-2.2.2.original/src/dotd.cpp 2009-07-02 17:59:29.000000000 -0600
++++ arprec-2.2.2/src/dotd.cpp 2009-07-02 18:00:46.000000000 -0600
+@@ -8,10 +8,11 @@
+ * Copyright (c) 2002
+ *
+ */
+ #include <arprec/mp_real.h>
+ #include "small_inline.h"
++#include <cstdio>
+
+ using std::cerr;
+ using std::endl;
+
+ void mp_real::mpdotd(int n, int isa, const mp_real a[],
+diff -NrU5 arprec-2.2.2.original/src/out.cpp arprec-2.2.2/src/out.cpp
+--- arprec-2.2.2.original/src/out.cpp 2009-07-02 17:59:29.000000000 -0600
++++ arprec-2.2.2/src/out.cpp 2009-07-02 18:09:40.000000000 -0600
+@@ -10,10 +10,11 @@
+ */
+ #define _CRT_SECURE_NO_DEPRECATE
+ #include <cassert>
+ #include <arprec/mp_real.h>
+ #include "small_inline.h"
++#include <cstdio>
+
+ using std::cerr;
+ using std::endl;
+
+ /* This routine is deprecated.
+diff -NrU5 arprec-2.2.2.original/src/outc.cpp arprec-2.2.2/src/outc.cpp
+--- arprec-2.2.2.original/src/outc.cpp 2009-07-02 17:59:29.000000000 -0600
++++ arprec-2.2.2/src/outc.cpp 2009-07-02 18:07:15.000000000 -0600
+@@ -10,10 +10,11 @@
+ */
+ #define _CRT_SECURE_NO_DEPRECATE
+ #include <cassert>
+ #include <arprec/mp_real.h>
+ #include "small_inline.h"
++#include <cstdio>
+
+ using std::cerr;
+ using std::endl;
+
+ /* This routine is deprecated.
+diff -NrU5 arprec-2.2.2.original/src/outx.cpp arprec-2.2.2/src/outx.cpp
+--- arprec-2.2.2.original/src/outx.cpp 2009-07-02 17:59:29.000000000 -0600
++++ arprec-2.2.2/src/outx.cpp 2009-07-02 18:11:30.000000000 -0600
+@@ -1,9 +1,10 @@
+ #define _CRT_SECURE_NO_DEPRECATE
+ #include <arprec/mp_real.h>
+ #include <arprec/mp_complex.h>
+ #include "small_inline.h"
++#include <cstdio>
+
+ using std::cerr;
+ using std::endl;
+
+ /* This routine is deprecated.