public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in kde-base/kalgebra/files: kalgebra-4.3.2-solaris-graph2d.patch
@ 2009-12-22 22:57 Jonathan Callen (abcd)
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Callen (abcd) @ 2009-12-22 22:57 UTC (permalink / raw
  To: gentoo-commits

abcd        09/12/22 22:57:56

  Added:                kalgebra-4.3.2-solaris-graph2d.patch
  Log:
  Pull in changes from overlay and patch for prefix support (Solaris)
  (Portage version: -svn/cvs/Linux i686)

Revision  Changes    Path
1.1                  kde-base/kalgebra/files/kalgebra-4.3.2-solaris-graph2d.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalgebra/files/kalgebra-4.3.2-solaris-graph2d.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalgebra/files/kalgebra-4.3.2-solaris-graph2d.patch?rev=1.1&content-type=text/plain

Index: kalgebra-4.3.2-solaris-graph2d.patch
===================================================================
Desc:	Fix missing isinf() for Solaris (same way as for kcalc).
Author:	Heiko Przybyl <zuxez@cs.tu-berlin.de>
--- kalgebra-4.3.2/kalgebra/src/graph2d.cpp.orig	2009-10-16 15:31:29.804959916 +0200
+++ kalgebra-4.3.2/kalgebra/src/graph2d.cpp	2009-10-16 15:35:36.879338408 +0200
@@ -38,6 +38,17 @@
 #include "analitza.h"
 #include "functionsmodel.h"
 
+// Stolen from kcalc.
+#if defined(Q_OS_SOLARIS)
+// Strictly by the standard, ininf() is a c99-ism which
+// is unavailable in C++. The IEEE FP headers provide
+// a function with similar functionality, so use that instead.
+// However, !finite(a) == isinf(a) || isnan(a), so it's 
+// not 100% correct.
+#include <ieeefp.h>
+#define isinf(a) !finite(a)
+#endif
+
 // #define DEBUG_GRAPH
 
 using namespace std;






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in kde-base/kalgebra/files: kalgebra-4.3.2-solaris-graph2d.patch
@ 2011-12-12  0:48 Jonathan Callen (abcd)
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Callen (abcd) @ 2011-12-12  0:48 UTC (permalink / raw
  To: gentoo-commits

abcd        11/12/12 00:48:24

  Removed:              kalgebra-4.3.2-solaris-graph2d.patch
  Log:
  rm old files
  
  (Portage version: 2.2.0_alpha80/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-12  0:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-12  0:48 [gentoo-commits] gentoo-x86 commit in kde-base/kalgebra/files: kalgebra-4.3.2-solaris-graph2d.patch Jonathan Callen (abcd)
  -- strict thread matches above, loose matches on Subject: below --
2009-12-22 22:57 Jonathan Callen (abcd)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox