diff options
Diffstat (limited to 'sci-calculators')
-rw-r--r-- | sci-calculators/rpc/ChangeLog | 8 | ||||
-rw-r--r-- | sci-calculators/rpc/Manifest | 15 | ||||
-rw-r--r-- | sci-calculators/rpc/files/digest-rpc-0.98 | 5 | ||||
-rw-r--r-- | sci-calculators/rpc/files/rpc-0.98-gcc-34.patch | 1178 | ||||
-rw-r--r-- | sci-calculators/rpc/rpc-0.98.ebuild | 9 |
5 files changed, 27 insertions, 1188 deletions
diff --git a/sci-calculators/rpc/ChangeLog b/sci-calculators/rpc/ChangeLog index ae6ff74405b6..195269b35b89 100644 --- a/sci-calculators/rpc/ChangeLog +++ b/sci-calculators/rpc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-calculators/rpc -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/rpc/ChangeLog,v 1.2 2004/12/25 18:17:27 swegener Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/rpc/ChangeLog,v 1.3 2006/03/09 17:15:53 markusle Exp $ + + 09 Mar 2006; Markus Dittrich <markusle@gentoo.org> + -files/rpc-0.98-gcc-34.patch, rpc-0.98.ebuild: + Moved large patch to the mirrors (see bug #123634). *rpc-0.98 (25 Dec 2004) diff --git a/sci-calculators/rpc/Manifest b/sci-calculators/rpc/Manifest index 50143b72ac34..c8ad5c01e646 100644 --- a/sci-calculators/rpc/Manifest +++ b/sci-calculators/rpc/Manifest @@ -1,5 +1,12 @@ +MD5 85abe1d68224c43f06f4ac2af0d2e78f ChangeLog 2408 +RMD160 c8c133854734cede00d5d4c8dfcea707a4161cdb ChangeLog 2408 +SHA256 62f3a7c9b3da6c3036b688f7e615ce34c5aa11ef93a0d278ece650808ad59e6e ChangeLog 2408 +MD5 b6b8308ecc490d5bfdbea6e19c350b29 files/digest-rpc-0.98 476 +RMD160 0c22e8192fc10fb8be19e7995cc30b0178d260ef files/digest-rpc-0.98 476 +SHA256 2249b429980368704dadd22d0890780832be4054ae07a392e6ff8c57ef93feb5 files/digest-rpc-0.98 476 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -MD5 9395ba3c28ad230550c68b865c08bb0d ChangeLog 2251 -MD5 36f01c820420d36ec4ea920e84fc124c rpc-0.98.ebuild 714 -MD5 6ece87b2316722560e5c1cdd6e2a6e02 files/digest-rpc-0.98 60 -MD5 d71204d211c67258865ebfb1bae7721a files/rpc-0.98-gcc-34.patch 29973 +RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 +SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156 +MD5 f0356b72d8045f1c266be368fa35adff rpc-0.98.ebuild 755 +RMD160 0d323f2ad2d623d5c89cf20ce012b4a793d97853 rpc-0.98.ebuild 755 +SHA256 dd8bb228d2570ecfa1734567c5f922a5832658fbf25d4d6d7652a6efa6f4fecf rpc-0.98.ebuild 755 diff --git a/sci-calculators/rpc/files/digest-rpc-0.98 b/sci-calculators/rpc/files/digest-rpc-0.98 index 47d48bb58841..34beac4df740 100644 --- a/sci-calculators/rpc/files/digest-rpc-0.98 +++ b/sci-calculators/rpc/files/digest-rpc-0.98 @@ -1 +1,6 @@ +MD5 d07f93b124b47f3f06aa3efad87a27d5 rpc-0.98-gcc-34.patch.bz2 3195 +RMD160 daf0888431db199943cbf60d924879f7a1de50f4 rpc-0.98-gcc-34.patch.bz2 3195 +SHA256 cb001582b22a7b30bec4803659733df12f47f318f1b5b1cf235d6d6d03de848b rpc-0.98-gcc-34.patch.bz2 3195 MD5 5eba682ae3be236d6b524be4eba71b33 rpc-0.98.tar.gz 140593 +RMD160 5d7e12781b869477928695d2fa12758c366a9283 rpc-0.98.tar.gz 140593 +SHA256 f909c9be2cd0631d712214455ed49d4c63ed35077f6826fcf93fca2604fd3059 rpc-0.98.tar.gz 140593 diff --git a/sci-calculators/rpc/files/rpc-0.98-gcc-34.patch b/sci-calculators/rpc/files/rpc-0.98-gcc-34.patch deleted file mode 100644 index 5471fdee690c..000000000000 --- a/sci-calculators/rpc/files/rpc-0.98-gcc-34.patch +++ /dev/null @@ -1,1178 +0,0 @@ -diff -Naur rpc-0.98.orig/src/ccm-compat.c rpc-0.98/src/ccm-compat.c ---- rpc-0.98.orig/src/ccm-compat.c 2003-10-17 03:21:47.000000000 +0200 -+++ rpc-0.98/src/ccm-compat.c 2004-10-06 02:29:43.000000000 +0200 -@@ -28,151 +28,151 @@ - #include <ccmath.h> - #include <stdio.h> - --inline Cpx cMul( Cpx s, Cpx t ) -+Cpx cMul( Cpx s, Cpx t ) - { - return( cmul(s, t) ); - } - - --inline Cpx cDiv( Cpx s, Cpx t ) -+Cpx cDiv( Cpx s, Cpx t ) - { - return( cdiv(s, t) ); - } - - --inline Cpx cAdd( Cpx s, Cpx t ) -+Cpx cAdd( Cpx s, Cpx t ) - { - return( cadd(s, t) ); - } - - --inline Cpx cSub( Cpx s, Cpx t ) -+Cpx cSub( Cpx s, Cpx t ) - { - return( csub(s, t) ); - } - - --inline Cpx cRmu( double a, Cpx z ) -+Cpx cRmu( double a, Cpx z ) - { - return( crmu(a, z) ); - } - - --inline Cpx cImu( double b, Cpx z ) -+Cpx cImu( double b, Cpx z ) - { - return( cimu(b, z) ); - } - - --inline Cpx cCng( Cpx z ) -+Cpx cCng( Cpx z ) - { - return( ccng(z) ); - } - - --inline Cpx cDef( double r, double i ) -+Cpx cDef( double r, double i ) - { - return( cdef(r, i) ); - } - - --inline double cAbs( Cpx c ) -+double cAbs( Cpx c ) - { - return( cabs(c) ); - } - - --inline double cNrm( Cpx z ) -+double cNrm( Cpx z ) - { - return( cnrm(z) ); - } - - --inline Cpx cExp( Cpx z ) -+Cpx cExp( Cpx z ) - { - return( cexp(z) ); - } - - --inline Cpx cLog( Cpx z ) -+Cpx cLog( Cpx z ) - { - return( clog(z) ); - } - - --inline Cpx cSinh( Cpx z ) -+Cpx cSinh( Cpx z ) - { - return( csinh(z) ); - } - - --inline Cpx cCosh( Cpx z ) -+Cpx cCosh( Cpx z ) - { - return( ccosh(z) ); - } - - --inline Cpx cTanh( Cpx z ) -+Cpx cTanh( Cpx z ) - { - return( ctanh(z) ); - } - - --inline Cpx cAsinh( Cpx z ) -+Cpx cAsinh( Cpx z ) - { - return( casinh(z) ); - } - - --inline Cpx cAcosh( Cpx z ) -+Cpx cAcosh( Cpx z ) - { - return( cacosh(z) ); - } - - --inline Cpx cAtanh( Cpx z ) -+Cpx cAtanh( Cpx z ) - { - return( catanh(z) ); - } - - --inline Cpx cAsin( Cpx z ) -+Cpx cAsin( Cpx z ) - { - return( casin(z) ); - } - - --inline Cpx cAcos( Cpx z ) -+Cpx cAcos( Cpx z ) - { - return( cacos(z) ); - } - - --inline Cpx cAtan( Cpx z ) -+Cpx cAtan( Cpx z ) - { - return( catan(z) ); - } - - --inline Cpx cSqrt( Cpx z ) -+Cpx cSqrt( Cpx z ) - { - return( csqrt(z) ); - } - - --inline Cpx cSin( Cpx z ) -+Cpx cSin( Cpx z ) - { - return( csin(z) ); - } - - --inline Cpx cCos( Cpx z ) -+Cpx cCos( Cpx z ) - { - return( ccos(z) ); - } - - --inline Cpx cTan( Cpx z ) -+Cpx cTan( Cpx z ) - { - return( ctan(z) ); - } -@@ -180,37 +180,37 @@ - - /* ------------- Matrix routines --------------- */ - --inline void Rmmult( double* mat, double* a, double* b, int m, int k, int n) -+void Rmmult( double* mat, double* a, double* b, int m, int k, int n) - { - rmmult( mat, a, b, m, k, n ); - } - - --inline void Cmmult( Cpx* mat, Cpx* a, Cpx* b, int m, int k, int n ) -+void Cmmult( Cpx* mat, Cpx* a, Cpx* b, int m, int k, int n ) - { - cmmult( mat, a, b, m, k, n ); - } - - --inline int Minv( double a[], int n ) -+int Minv( double a[], int n ) - { - return( minv(a, n) ); - } - - --inline int cMinv( Cpx a[], int n ) -+int cMinv( Cpx a[], int n ) - { - return( cminv(a, n) ); - } - - --inline void Mattr( double* a, double* b, int m, int n ) -+void Mattr( double* a, double* b, int m, int n ) - { - mattr( a, b, m, n ); - } - - --inline void cMattr( Cpx* a, Cpx* b, int m, int n ) -+void cMattr( Cpx* a, Cpx* b, int m, int n ) - { - cmattr( a, b, m, n ); - } -diff -Naur rpc-0.98.orig/src/RpcComplex.cpp rpc-0.98/src/RpcComplex.cpp ---- rpc-0.98.orig/src/RpcComplex.cpp 2003-10-17 03:21:47.000000000 +0200 -+++ rpc-0.98/src/RpcComplex.cpp 2004-10-06 02:31:09.000000000 +0200 -@@ -289,7 +289,7 @@ - - - // Square root function. --inline RpcObject* RpcComplex::Sqrt( void ) -+RpcObject* RpcComplex::Sqrt( void ) - { - RpcObject* temp = new RpcComplex( data.Sqrt() ); - return( temp ); -@@ -297,7 +297,7 @@ - - - // Square function. --inline RpcObject* RpcComplex::Sq( void ) -+RpcObject* RpcComplex::Sq( void ) - { - RpcObject* temp = new RpcComplex( data*data ); - return( temp ); -@@ -305,7 +305,7 @@ - - - // Exponential function. --inline RpcObject* RpcComplex::Exp( void ) -+RpcObject* RpcComplex::Exp( void ) - { - RpcObject* temp = new RpcComplex( data.Exp() ); - return( temp ); -@@ -313,7 +313,7 @@ - - - // Natural logarithm. --inline RpcObject* RpcComplex::Log( void ) -+RpcObject* RpcComplex::Log( void ) - { - RpcObject* temp = new RpcComplex( data.Log() ); - return( temp ); -@@ -321,7 +321,7 @@ - - - // Ten raised to the power x. --inline RpcObject* RpcComplex::Ten_x( void ) -+RpcObject* RpcComplex::Ten_x( void ) - { - RpcObject* temp = new RpcComplex( data.Ten_x() ); - return( temp ); -@@ -329,7 +329,7 @@ - - - // Common logarithm. --inline RpcObject* RpcComplex::Log10( void ) -+RpcObject* RpcComplex::Log10( void ) - { - RpcObject* temp = new RpcComplex( data.Log10() ); - return( temp ); -@@ -337,7 +337,7 @@ - - - // Sine function. --inline RpcObject* RpcComplex::Sin( int mode ) -+RpcObject* RpcComplex::Sin( int mode ) - { - RpcObject* temp = new RpcComplex( data.Sin() ); - return( temp ); -@@ -345,7 +345,7 @@ - - - // Cosine function. --inline RpcObject* RpcComplex::Cos( int mode ) -+RpcObject* RpcComplex::Cos( int mode ) - { - RpcObject* temp = new RpcComplex( data.Cos() ); - return( temp ); -@@ -353,7 +353,7 @@ - - - // Tangent function. --inline RpcObject* RpcComplex::Tan( int mode ) -+RpcObject* RpcComplex::Tan( int mode ) - { - RpcObject* temp = new RpcComplex( data.Tan() ); - return( temp ); -@@ -361,7 +361,7 @@ - - - // Inverse sine function. --inline RpcObject* RpcComplex::aSin( int mode ) -+RpcObject* RpcComplex::aSin( int mode ) - { - RpcObject* temp = new RpcComplex( data.aSin() ); - return( temp ); -@@ -369,7 +369,7 @@ - - - // Inverse cosine function. --inline RpcObject* RpcComplex::aCos( int mode ) -+RpcObject* RpcComplex::aCos( int mode ) - { - RpcObject* temp = new RpcComplex( data.aCos() ); - return( temp ); -@@ -377,7 +377,7 @@ - - - // Inverse tangent function. --inline RpcObject* RpcComplex::aTan( int mode ) -+RpcObject* RpcComplex::aTan( int mode ) - { - RpcObject* temp = new RpcComplex( data.aTan() ); - return( temp ); -@@ -385,7 +385,7 @@ - - - // Hyperbolic sine function. --inline RpcObject* RpcComplex::Sinh( void ) -+RpcObject* RpcComplex::Sinh( void ) - { - RpcObject* temp = new RpcComplex( data.Sinh() ); - return( temp ); -@@ -393,7 +393,7 @@ - - - // Hyperbolic cosine function. --inline RpcObject* RpcComplex::Cosh( void ) -+RpcObject* RpcComplex::Cosh( void ) - { - RpcObject* temp = new RpcComplex( data.Cosh() ); - return( temp ); -@@ -401,7 +401,7 @@ - - - // Hyperbolic tangent function. --inline RpcObject* RpcComplex::Tanh( void ) -+RpcObject* RpcComplex::Tanh( void ) - { - RpcObject* temp = new RpcComplex( data.Tanh() ); - return( temp ); -@@ -409,7 +409,7 @@ - - - // Inverse hyperbolic sine function. --inline RpcObject* RpcComplex::aSinh( void ) -+RpcObject* RpcComplex::aSinh( void ) - { - RpcObject* temp = new RpcComplex( data.aSinh() ); - return( temp ); -@@ -417,7 +417,7 @@ - - - // Inverse hyperbolic cosine function. --inline RpcObject* RpcComplex::aCosh( void ) -+RpcObject* RpcComplex::aCosh( void ) - { - RpcObject* temp = new RpcComplex( data.aCosh() ); - return( temp ); -@@ -425,7 +425,7 @@ - - - // Inverse hyperbolic tangent function. --inline RpcObject* RpcComplex::aTanh( void ) -+RpcObject* RpcComplex::aTanh( void ) - { - RpcObject* temp = new RpcComplex( data.aTanh() ); - return( temp ); -@@ -433,7 +433,7 @@ - - - // Real part of complex number. --inline RpcObject* RpcComplex::Real( void ) -+RpcObject* RpcComplex::Real( void ) - { - RpcObject* temp = new RpcDouble( data.Real() ); - return( temp ); -@@ -441,7 +441,7 @@ - - - // Imaginary part of complex number. --inline RpcObject* RpcComplex::Imag( void ) -+RpcObject* RpcComplex::Imag( void ) - { - RpcObject* temp = new RpcDouble( data.Imag() ); - return( temp ); -@@ -449,7 +449,7 @@ - - - // Inverse of complex number. --inline RpcObject* RpcComplex::Inv( void ) -+RpcObject* RpcComplex::Inv( void ) - { - RpcObject* temp = new RpcComplex( data.Inv() ); - return( temp ); -@@ -457,7 +457,7 @@ - - - // Magnitude of complex number --inline RpcObject* RpcComplex::Abs( void ) -+RpcObject* RpcComplex::Abs( void ) - { - RpcObject* temp = new RpcDouble( data.Abs() ); - return( temp ); -@@ -465,7 +465,7 @@ - - - // Argument of complex number --inline RpcObject* RpcComplex::Arg( int angleMode ) -+RpcObject* RpcComplex::Arg( int angleMode ) - { - RpcObject* temp; - if( angleMode == MODE_DEG ) -@@ -481,7 +481,7 @@ - - - // Return the data. --inline Complex RpcComplex::getData( void ) -+Complex RpcComplex::getData( void ) - { - return( data ); - } -diff -Naur rpc-0.98.orig/src/RpcComplexMatrix.cpp rpc-0.98/src/RpcComplexMatrix.cpp ---- rpc-0.98.orig/src/RpcComplexMatrix.cpp 2003-10-17 03:21:47.000000000 +0200 -+++ rpc-0.98/src/RpcComplexMatrix.cpp 2004-10-06 02:32:33.000000000 +0200 -@@ -389,7 +389,7 @@ - - - // Matrix inversion. --inline RpcObject* RpcComplexMatrix::Inv( void ) -+RpcObject* RpcComplexMatrix::Inv( void ) - { - RpcObject* temp; - -@@ -417,7 +417,7 @@ - - - // Matrix inversion. --inline RpcObject* RpcComplexMatrix::Trans( void ) -+RpcObject* RpcComplexMatrix::Trans( void ) - { - RpcObject* temp = new RpcComplexMatrix( data.Trans() ); - return( temp ); -@@ -426,7 +426,7 @@ - - - // Return the data. --inline ComplexMatrix RpcComplexMatrix::getData( void ) -+ComplexMatrix RpcComplexMatrix::getData( void ) - { - return( data ); - } -diff -Naur rpc-0.98.orig/src/RpcDouble.cpp rpc-0.98/src/RpcDouble.cpp ---- rpc-0.98.orig/src/RpcDouble.cpp 2003-10-17 03:21:47.000000000 +0200 -+++ rpc-0.98/src/RpcDouble.cpp 2004-10-06 02:30:42.000000000 +0200 -@@ -256,7 +256,7 @@ - - - // Change sign operator. --inline RpcObject* RpcDouble::operator -( void ) -+RpcObject* RpcDouble::operator -( void ) - { - RpcObject* temp = new RpcDouble( -data ); - return( temp ); -@@ -293,7 +293,7 @@ - - - // Square function. --inline RpcObject* RpcDouble::Sq( void ) -+RpcObject* RpcDouble::Sq( void ) - { - RpcObject* temp = new RpcDouble( data*data ); - return( temp ); -@@ -301,7 +301,7 @@ - - - // Square root function. --inline RpcObject* RpcDouble::Sqrt( void ) -+RpcObject* RpcDouble::Sqrt( void ) - { - RpcObject* temp = new RpcDouble( sqrt(data) ); - return( temp ); -@@ -309,7 +309,7 @@ - - - // Exponential function. --inline RpcObject* RpcDouble::Exp( void ) -+RpcObject* RpcDouble::Exp( void ) - { - RpcObject* temp = new RpcDouble( exp(data) ); - return( temp ); -@@ -317,7 +317,7 @@ - - - // Natural logarithm. --inline RpcObject* RpcDouble::Log( void ) -+RpcObject* RpcDouble::Log( void ) - { - RpcObject* temp = new RpcDouble( log(data) ); - return( temp ); -@@ -325,7 +325,7 @@ - - - // Ten raised to the power x. --inline RpcObject* RpcDouble::Ten_x( void ) -+RpcObject* RpcDouble::Ten_x( void ) - { - RpcObject* temp = new RpcDouble( pow(10.0, data) ); - return( temp ); -@@ -333,7 +333,7 @@ - - - // Common logarithm. --inline RpcObject* RpcDouble::Log10( void ) -+RpcObject* RpcDouble::Log10( void ) - { - RpcObject* temp = new RpcDouble( log10(data) ); - return( temp ); -@@ -341,7 +341,7 @@ - - - // Sine function. --inline RpcObject* RpcDouble::Sin( int mode ) -+RpcObject* RpcDouble::Sin( int mode ) - { - double dtemp = data; - if( mode == MODE_DEG ) -@@ -355,7 +355,7 @@ - - - // Cosine function. --inline RpcObject* RpcDouble::Cos( int mode ) -+RpcObject* RpcDouble::Cos( int mode ) - { - double dtemp = data; - if( mode == MODE_DEG ) -@@ -369,7 +369,7 @@ - - - // Tangent function. --inline RpcObject* RpcDouble::Tan( int mode ) -+RpcObject* RpcDouble::Tan( int mode ) - { - double dtemp = data; - if( mode == MODE_DEG ) -@@ -383,7 +383,7 @@ - - - // Inverse sine function. --inline RpcObject* RpcDouble::aSin( int mode ) -+RpcObject* RpcDouble::aSin( int mode ) - { - double dtemp = 1.0; - if( mode == MODE_DEG ) -@@ -397,7 +397,7 @@ - - - // Inverse cosine function. --inline RpcObject* RpcDouble::aCos( int mode ) -+RpcObject* RpcDouble::aCos( int mode ) - { - double dtemp = 1.0; - if( mode == MODE_DEG ) -@@ -411,7 +411,7 @@ - - - // Inverse tangent function. --inline RpcObject* RpcDouble::aTan( int mode ) -+RpcObject* RpcDouble::aTan( int mode ) - { - double dtemp = 1.0; - if( mode == MODE_DEG ) -@@ -425,7 +425,7 @@ - - - // Hyperbolic sine function. --inline RpcObject* RpcDouble::Sinh( void ) -+RpcObject* RpcDouble::Sinh( void ) - { - RpcObject* temp = new RpcDouble( sinh(data) ); - return( temp ); -@@ -433,7 +433,7 @@ - - - // Hyperbolic cosine function. --inline RpcObject* RpcDouble::Cosh( void ) -+RpcObject* RpcDouble::Cosh( void ) - { - RpcObject* temp = new RpcDouble( cosh(data) ); - return( temp ); -@@ -441,7 +441,7 @@ - - - // Hyperbolic tangent function. --inline RpcObject* RpcDouble::Tanh( void ) -+RpcObject* RpcDouble::Tanh( void ) - { - RpcObject* temp = new RpcDouble( tanh(data) ); - return( temp ); -@@ -449,7 +449,7 @@ - - - // Inverse hyperbolic sine function. --inline RpcObject* RpcDouble::aSinh( void ) -+RpcObject* RpcDouble::aSinh( void ) - { - RpcObject* temp = new RpcDouble( asinh(data) ); - return( temp ); -@@ -457,7 +457,7 @@ - - - // Inverse hyperbolic cosine function. --inline RpcObject* RpcDouble::aCosh( void ) -+RpcObject* RpcDouble::aCosh( void ) - { - RpcObject* temp = new RpcDouble( acosh(data) ); - return( temp ); -@@ -465,7 +465,7 @@ - - - // Inverse hyperbolic tangent function. --inline RpcObject* RpcDouble::aTanh( void ) -+RpcObject* RpcDouble::aTanh( void ) - { - RpcObject* temp = new RpcDouble( atanh(data) ); - return( temp ); -@@ -475,7 +475,7 @@ - // Euler Gamma function. - // Note: gamma() is really LogGamma[]. Who the hell chose that - // convention? --inline RpcObject* RpcDouble::Gamma( void ) -+RpcObject* RpcDouble::Gamma( void ) - { - RpcObject* temp = new RpcDouble( exp(gamma(data)) ); - return( temp ); -@@ -483,7 +483,7 @@ - - - // Log gamma function. --inline RpcObject* RpcDouble::LogGamma( void ) -+RpcObject* RpcDouble::LogGamma( void ) - { - RpcObject* temp = new RpcDouble( gamma(data) ); - return( temp ); -@@ -491,7 +491,7 @@ - - - // Factorial function. --inline RpcObject* RpcDouble::Factorial( void ) -+RpcObject* RpcDouble::Factorial( void ) - { - RpcObject* temp = new RpcDouble( exp(gamma(data+1.0)) ); - return( temp ); -@@ -499,7 +499,7 @@ - - - // Error function. --inline RpcObject* RpcDouble::Erf( void ) -+RpcObject* RpcDouble::Erf( void ) - { - RpcObject* temp = new RpcDouble( erf(data) ); - return( temp ); -@@ -507,7 +507,7 @@ - - - // Complementary error function. --inline RpcObject* RpcDouble::Erfc( void ) -+RpcObject* RpcDouble::Erfc( void ) - { - RpcObject* temp = new RpcDouble( erfc(data) ); - return( temp ); -@@ -515,7 +515,7 @@ - - - // Real part of number. --inline RpcObject* RpcDouble::Real( void ) -+RpcObject* RpcDouble::Real( void ) - { - // Returns same number. - RpcObject* temp = new RpcDouble( data ); -@@ -524,7 +524,7 @@ - - - // Imaginary part of number. --inline RpcObject* RpcDouble::Imag( void ) -+RpcObject* RpcDouble::Imag( void ) - { // Returns zero-valued double. - RpcObject* temp = new RpcDouble( 0.0 ); - return( temp ); -@@ -532,7 +532,7 @@ - - - // Floor function. --inline RpcObject* RpcDouble::Floor( void ) -+RpcObject* RpcDouble::Floor( void ) - { - RpcObject* temp = new RpcDouble( floor(data) ); - return( temp ); -@@ -540,7 +540,7 @@ - - - // Ceiling function. --inline RpcObject* RpcDouble::Ceil( void ) -+RpcObject* RpcDouble::Ceil( void ) - { - RpcObject* temp = new RpcDouble( ceil(data) ); - return( temp ); -@@ -548,7 +548,7 @@ - - - // Nearest integer function. --inline RpcObject* RpcDouble::NearInt( void ) -+RpcObject* RpcDouble::NearInt( void ) - { - RpcObject* temp = new RpcDouble( floor(data+0.5) ); - return( temp ); -@@ -556,7 +556,7 @@ - - - // Inverse function. --inline RpcObject* RpcDouble::Inv( void ) -+RpcObject* RpcDouble::Inv( void ) - { - RpcObject* temp = new RpcDouble( 1.0/data ); - return( temp ); -@@ -564,7 +564,7 @@ - - - // Absolute value --inline RpcObject* RpcDouble::Abs( void ) -+RpcObject* RpcDouble::Abs( void ) - { - RpcObject* temp; - if( data >= 0 ) -@@ -581,7 +581,7 @@ - - - // Convert to integer constant. --inline RpcObject* RpcDouble::ToConst( void ) -+RpcObject* RpcDouble::ToConst( void ) - { - RpcObject* temp = new RpcIntegerConst( data ); - return( temp ); -@@ -589,7 +589,7 @@ - - - // Return the data. --inline double RpcDouble::getData( void ) -+double RpcDouble::getData( void ) - { - return( data ); - } -diff -Naur rpc-0.98.orig/src/RpcIntegerConst.cpp rpc-0.98/src/RpcIntegerConst.cpp ---- rpc-0.98.orig/src/RpcIntegerConst.cpp 2003-10-17 03:21:47.000000000 +0200 -+++ rpc-0.98/src/RpcIntegerConst.cpp 2004-10-06 02:33:18.000000000 +0200 -@@ -348,7 +348,7 @@ - - - // Return the data. --inline IntegerConst RpcIntegerConst::getData( void ) -+IntegerConst RpcIntegerConst::getData( void ) - { - return( data ); - } -diff -Naur rpc-0.98.orig/src/RpcObject.cpp rpc-0.98/src/RpcObject.cpp ---- rpc-0.98.orig/src/RpcObject.cpp 2003-10-17 03:21:47.000000000 +0200 -+++ rpc-0.98/src/RpcObject.cpp 2004-10-06 02:30:28.000000000 +0200 -@@ -96,7 +96,7 @@ - // Subtraction operator. Returns an error object. - // Should be overridden by all classes for which - // subtraction makes sense. --inline RpcObject* RpcObject::operator -( const RpcObject* rhs ) -+RpcObject* RpcObject::operator -( const RpcObject* rhs ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -106,7 +106,7 @@ - // Multiplication operator. Returns an error object. - // Should be overridden by all classes for which - // multiplication makes sense. --inline RpcObject* RpcObject::operator *( const RpcObject* rhs ) -+RpcObject* RpcObject::operator *( const RpcObject* rhs ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -116,7 +116,7 @@ - // Division operator. Returns an error object. - // Should be overridden by all classes for which - // division makes sense. --inline RpcObject* RpcObject::operator /( const RpcObject* rhs ) -+RpcObject* RpcObject::operator /( const RpcObject* rhs ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -126,7 +126,7 @@ - // Change sign operator. Returns an error object. - // Should be overridden by all classes for which - // changeSign makes sense. --inline RpcObject* RpcObject::operator -( void ) -+RpcObject* RpcObject::operator -( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -136,7 +136,7 @@ - // Power function. Returns an error object. - // Should be overridden by all classes for which - // power makes sense. --inline RpcObject* RpcObject::Pow( const RpcObject* rhs ) -+RpcObject* RpcObject::Pow( const RpcObject* rhs ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -146,7 +146,7 @@ - // Mod function. Returns an error object. - // Should be overriden by all classes for which mod - // makes sense. --inline RpcObject* RpcObject::Mod( const RpcObject* rhs ) -+RpcObject* RpcObject::Mod( const RpcObject* rhs ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -155,7 +155,7 @@ - - // Square root. Returns an error object. - // Should be overridden by all classes for which sqrt makes sense. --inline RpcObject* RpcObject::Sqrt( void ) -+RpcObject* RpcObject::Sqrt( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -164,7 +164,7 @@ - - // Square. Returns an error object. - // Should be overridden by all classes for which square makes sense. --inline RpcObject* RpcObject::Sq( void ) -+RpcObject* RpcObject::Sq( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -173,7 +173,7 @@ - - // Exponential function. Returns an error object. - // Should be overridden by all classes for which exp makes sense. --inline RpcObject* RpcObject::Exp( void ) -+RpcObject* RpcObject::Exp( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -182,7 +182,7 @@ - - // Natural logarithm. Returns an error object. - // Should be overridden by all classes for which log makes sense. --inline RpcObject* RpcObject::Log( void ) -+RpcObject* RpcObject::Log( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -191,7 +191,7 @@ - - // Ten raised to the power x. Returns an error object. - // Should be overridden by all classes for which ten_x makes sense. --inline RpcObject* RpcObject::Ten_x( void ) -+RpcObject* RpcObject::Ten_x( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -200,7 +200,7 @@ - - // Common logarithm. Returns an error object. - // Should be overridden by all classes for which log10 makes sense. --inline RpcObject* RpcObject::Log10( void ) -+RpcObject* RpcObject::Log10( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -209,7 +209,7 @@ - - // Sine function. Returns an error object. - // Should be overridden by all classes for which sine makes sense. --inline RpcObject* RpcObject::Sin( int mode ) -+RpcObject* RpcObject::Sin( int mode ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -218,7 +218,7 @@ - - // Cosine function. Returns an error object. - // Should be overridden by all classes for which cosine makes sense. --inline RpcObject* RpcObject::Cos( int mode ) -+RpcObject* RpcObject::Cos( int mode ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -227,7 +227,7 @@ - - // Tangent function. Returns an error object. - // Should be overridden by all classes for which tangent makes sense. --inline RpcObject* RpcObject::Tan( int mode ) -+RpcObject* RpcObject::Tan( int mode ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -236,7 +236,7 @@ - - // Inverse sine function. Returns an error object. - // Should be overridden by all classes for which asin makes sense. --inline RpcObject* RpcObject::aSin( int mode ) -+RpcObject* RpcObject::aSin( int mode ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -245,7 +245,7 @@ - - // Inverse cosine function. Returns an error object. - // Should be overridden by all classes for which acos makes sense. --inline RpcObject* RpcObject::aCos( int mode ) -+RpcObject* RpcObject::aCos( int mode ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -254,7 +254,7 @@ - - // Inverse tangent function. Returns an error object. - // Should be overridden by all classes for which inverse tangent makes sense. --inline RpcObject* RpcObject::aTan( int mode ) -+RpcObject* RpcObject::aTan( int mode ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -263,7 +263,7 @@ - - // Hyperbolic sine function. Returns an error object. - // Should be overridden by all classes for which sinh makes sense. --inline RpcObject* RpcObject::Sinh( void ) -+RpcObject* RpcObject::Sinh( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -272,7 +272,7 @@ - - // Hyperbolic cosine function. Returns an error object. - // Should be overridden by all classes for which cosh makes sense. --inline RpcObject* RpcObject::Cosh( void ) -+RpcObject* RpcObject::Cosh( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -281,7 +281,7 @@ - - // Hyperbolic tangent function. Returns an error object. - // Should be overridden by all classes for which tanh makes sense. --inline RpcObject* RpcObject::Tanh( void ) -+RpcObject* RpcObject::Tanh( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -290,7 +290,7 @@ - - // Inverse hyperbolic sine function. Returns an error object. - // Should be overridden by all classes for which asinh makes sense. --inline RpcObject* RpcObject::aSinh( void ) -+RpcObject* RpcObject::aSinh( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -299,7 +299,7 @@ - - // Inverse hyperbolic cosine function. Returns an error object. - // Should be overridden by all classes for which acosh makes sense. --inline RpcObject* RpcObject::aCosh( void ) -+RpcObject* RpcObject::aCosh( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -308,7 +308,7 @@ - - // Inverse hyperbolic tangent function. Returns an error object. - // Should be overridden by all classes for which atanh makes sense. --inline RpcObject* RpcObject::aTanh( void ) -+RpcObject* RpcObject::aTanh( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -317,7 +317,7 @@ - - // Euler gamma function. Returns an error object. - // Should be overridden by all classes for which gamma makes sense. --inline RpcObject* RpcObject::Gamma( void ) -+RpcObject* RpcObject::Gamma( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -326,7 +326,7 @@ - - // Log gamma function. Returns an error object. - // Should be overridden by all classes for which LogGamma makes sense. --inline RpcObject* RpcObject::LogGamma( void ) -+RpcObject* RpcObject::LogGamma( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -335,7 +335,7 @@ - - // Factorial function. Returns an error object. - // Should be overridden by all classes for which factorial makes sense. --inline RpcObject* RpcObject::Factorial( void ) -+RpcObject* RpcObject::Factorial( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -345,7 +345,7 @@ - // Error function. Returns an error object (not because it is the error - // function...). Should be overridden by all classes for which erf - // makes sense. --inline RpcObject* RpcObject::Erf( void ) -+RpcObject* RpcObject::Erf( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -354,7 +354,7 @@ - - // Complementary error function. Returns an error object. - // Should be overridden by all classes for which erfc makes sense. --inline RpcObject* RpcObject::Erfc( void ) -+RpcObject* RpcObject::Erfc( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -363,7 +363,7 @@ - - // Real part of number. Returns an error object. - // Should be overridden by all classes for which real() makes sense. --inline RpcObject* RpcObject::Real( void ) -+RpcObject* RpcObject::Real( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -372,7 +372,7 @@ - - // Imaginary part of number. Returns an error object. - // Should be overridden by all classes for which imag() makes sense. --inline RpcObject* RpcObject::Imag( void ) -+RpcObject* RpcObject::Imag( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -381,7 +381,7 @@ - - // Floor function. Returns an error object. - // Should be overridden by all classes for which floor makes sense. --inline RpcObject* RpcObject::Floor( void ) -+RpcObject* RpcObject::Floor( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -390,7 +390,7 @@ - - // Ceiling function. Returns an error object. - // Should be overridden by all classes for which ceiling makes sense. --inline RpcObject* RpcObject::Ceil( void ) -+RpcObject* RpcObject::Ceil( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -399,7 +399,7 @@ - - // Nearest integer function. Returns an error object. - // Should be overridden by all classes for which nearest integer makes sense. --inline RpcObject* RpcObject::NearInt( void ) -+RpcObject* RpcObject::NearInt( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -408,7 +408,7 @@ - - // Inverse function. Returns an error object. - // Should be overridden by all classes for which inverse makes sense. --inline RpcObject* RpcObject::Inv( void ) -+RpcObject* RpcObject::Inv( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -416,7 +416,7 @@ - - - // Matrix transpose. --inline RpcObject* RpcObject::Trans( void ) -+RpcObject* RpcObject::Trans( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -424,7 +424,7 @@ - - - // Convert to integer constant. --inline RpcObject* RpcObject::ToConst( void ) -+RpcObject* RpcObject::ToConst( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -432,7 +432,7 @@ - - - // Magnitude --inline RpcObject* RpcObject::Abs( void ) -+RpcObject* RpcObject::Abs( void ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -@@ -440,7 +440,7 @@ - - - // Argument of complex number --inline RpcObject* RpcObject::Arg( int angleMode ) -+RpcObject* RpcObject::Arg( int angleMode ) - { - RpcObject* temp = new RpcObject( SIMPLE_ERROR_TYPE ); - return( temp ); -diff -Naur rpc-0.98.orig/src/RpcRealMatrix.cpp rpc-0.98/src/RpcRealMatrix.cpp ---- rpc-0.98.orig/src/RpcRealMatrix.cpp 2003-10-17 03:21:47.000000000 +0200 -+++ rpc-0.98/src/RpcRealMatrix.cpp 2004-10-06 02:30:15.000000000 +0200 -@@ -347,7 +347,7 @@ - - - // Change sign operator. --inline RpcObject* RpcRealMatrix::operator -( void ) -+RpcObject* RpcRealMatrix::operator -( void ) - { - RpcObject* temp = new RpcRealMatrix( -data ); - return( temp ); -@@ -355,7 +355,7 @@ - - - // Matrix inversion. --inline RpcObject* RpcRealMatrix::Inv( void ) -+RpcObject* RpcRealMatrix::Inv( void ) - { - RpcObject* temp; - -@@ -383,7 +383,7 @@ - - - // Matrix inversion. --inline RpcObject* RpcRealMatrix::Trans( void ) -+RpcObject* RpcRealMatrix::Trans( void ) - { - RpcObject* temp = new RpcRealMatrix( data.Trans() ); - return( temp ); -@@ -392,7 +392,7 @@ - - - // Return the data. --inline RealMatrix RpcRealMatrix::getData( void ) -+RealMatrix RpcRealMatrix::getData( void ) - { - return( data ); - } diff --git a/sci-calculators/rpc/rpc-0.98.ebuild b/sci-calculators/rpc/rpc-0.98.ebuild index 81833d52fc1c..6302882751cf 100644 --- a/sci-calculators/rpc/rpc-0.98.ebuild +++ b/sci-calculators/rpc/rpc-0.98.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/rpc/rpc-0.98.ebuild,v 1.1 2004/12/25 16:49:20 ribosome Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/rpc/rpc-0.98.ebuild,v 1.2 2006/03/09 17:15:53 markusle Exp $ inherit eutils DESCRIPTION="A fullscreen console-based RPN calculator that uses the curses library" HOMEPAGE="http://www.eecs.umich.edu/~pelzlpj/rpc/" -SRC_URI="http://www.eecs.umich.edu/~pelzlpj/rpc/${P}.tar.gz" +SRC_URI="http://www.eecs.umich.edu/~pelzlpj/rpc/${P}.tar.gz + mirror://gentoo/${P}-gcc-34.patch.bz2" LICENSE="GPL-2" SLOT="0" @@ -21,7 +22,7 @@ src_unpack() { unpack ${A} cd ${S} - epatch ${FILESDIR}/${P}-gcc-34.patch + epatch "${WORKDIR}"/${P}-gcc-34.patch } src_install() { |