diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-04-25 17:08:17 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 08:55:34 -0500 |
commit | 972eb171fa8a55fb12e9da26b5ec14b39e3a4b85 (patch) | |
tree | 14cafb902198e76f7258dc09b72a27cf0a46d075 /libraries/libofa/libofa-0.9.3-gcc-4.patch | |
parent | 2a963a3b9e49e64580f52e17d1af3d48dad451d1 (diff) | |
download | slackbuilds-972eb171fa8a55fb12e9da26b5ec14b39e3a4b85.tar.gz |
libraries/libofa: Patched for gcc47 and curl >=7.24; misc. cleanups
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libofa/libofa-0.9.3-gcc-4.patch')
-rw-r--r-- | libraries/libofa/libofa-0.9.3-gcc-4.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/libraries/libofa/libofa-0.9.3-gcc-4.patch b/libraries/libofa/libofa-0.9.3-gcc-4.patch deleted file mode 100644 index d1059bafa5..0000000000 --- a/libraries/libofa/libofa-0.9.3-gcc-4.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- lib/JAMA/tnt_math_utils.h.orig 2006-06-17 01:46:22.000000000 +0300 -+++ lib/JAMA/tnt_math_utils.h 2006-06-17 01:47:02.000000000 +0300 -@@ -20,11 +20,20 @@ - namespace TNT
- {
- /**
-+ @returns the absolute value of a real (no-complex) scalar.
-+*/
-+template <class Real>
-+Real abs(const Real &a)
-+{
-+ return (a > 0 ? a : -a);
-+}
-+/**
- @returns hypotenuse of real (non-complex) scalars a and b by
- avoiding underflow/overflow
- using (a * sqrt( 1 + (b/a) * (b/a))), rather than
- sqrt(a*a + b*b).
- */
-+
- template <class Real>
- Real hypot(const Real &a, const Real &b)
- {
-@@ -56,15 +65,6 @@ - }
- */
-
--/**
-- @returns the absolute value of a real (no-complex) scalar.
--*/
--template <class Real>
--Real abs(const Real &a)
--{
-- return (a > 0 ? a : -a);
--}
--
- }
- #endif
- /* MATH_UTILS_H */
|