public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@astralcloak.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/analitza/, kde-base/analitza/files/
Date: Thu, 12 Apr 2012 18:52:18 +0000 (UTC)	[thread overview]
Message-ID: <1334256530.c5bab3c0589fb46a10c8dc1fa22b0b35fd1a8118.kensington@gentoo> (raw)

commit:     c5bab3c0589fb46a10c8dc1fa22b0b35fd1a8118
Author:     Michael Palimaka <kensington <AT> astralcloak <DOT> net>
AuthorDate: Thu Apr 12 18:48:50 2012 +0000
Commit:     Michael Palimaka <kensington <AT> astralcloak <DOT> net>
CommitDate: Thu Apr 12 18:48:50 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c5bab3c0

[kde-base/analitza] Add solaris patch that used to be applied via kalgebra before KDEEDU moved to split repos.

(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)

---
 kde-base/analitza/analitza-4.8.49.9999.ebuild      |    2 +
 kde-base/analitza/analitza-9999.ebuild             |    2 +
 .../analitza/files/analitza-solaris-graph2d.patch  |   21 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/kde-base/analitza/analitza-4.8.49.9999.ebuild b/kde-base/analitza/analitza-4.8.49.9999.ebuild
index 78627d5..dd5b5c2 100644
--- a/kde-base/analitza/analitza-4.8.49.9999.ebuild
+++ b/kde-base/analitza/analitza-4.8.49.9999.ebuild
@@ -22,6 +22,8 @@ add_blocker kalgebra 4.7.50
 RESTRICT=test
 # bug 397705
 
+PATCHES=( "${FILESDIR}/${PN}-solaris-graph2d.patch" )
+
 src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use_with readline)

diff --git a/kde-base/analitza/analitza-9999.ebuild b/kde-base/analitza/analitza-9999.ebuild
index 78627d5..dd5b5c2 100644
--- a/kde-base/analitza/analitza-9999.ebuild
+++ b/kde-base/analitza/analitza-9999.ebuild
@@ -22,6 +22,8 @@ add_blocker kalgebra 4.7.50
 RESTRICT=test
 # bug 397705
 
+PATCHES=( "${FILESDIR}/${PN}-solaris-graph2d.patch" )
+
 src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use_with readline)

diff --git a/kde-base/analitza/files/analitza-solaris-graph2d.patch b/kde-base/analitza/files/analitza-solaris-graph2d.patch
new file mode 100644
index 0000000..5bbf380
--- /dev/null
+++ b/kde-base/analitza/files/analitza-solaris-graph2d.patch
@@ -0,0 +1,21 @@
+--- analiyzagui/graph2d.cpp
++++ analitzagui/graph2d.cpp
+@@ -33,6 +33,18 @@
+ 
+ #include <analitza/analyzer.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
++
+ #include "functionutils.h"
+ #include "functionspainter.h"
+ #include <cmath>



             reply	other threads:[~2012-04-12 18:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 18:52 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-08-17 15:50 [gentoo-commits] proj/kde:master commit in: kde-base/analitza/, kde-base/analitza/files/ Michael Palimaka
2012-11-23 17:39 Chris Reffett
2013-11-30 20:34 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334256530.c5bab3c0589fb46a10c8dc1fa22b0b35fd1a8118.kensington@gentoo \
    --to=kensington@astralcloak.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox