public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/cantor/, kde-apps/cantor/files/
Date: Sat, 11 Feb 2017 23:35:03 +0000 (UTC)	[thread overview]
Message-ID: <1486856084.9be309db2b2c026522ff84601e8cef1c8a1eb9d3.asturm@gentoo> (raw)

commit:     9be309db2b2c026522ff84601e8cef1c8a1eb9d3
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 11 21:03:50 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 11 23:34:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be309db

kde-apps/cantor: Fix bashism

Gentoo-bug: 596940
Thanks-to: Michael Palimaka (kensington)

Package-Manager: portage-2.3.3

 kde-apps/cantor/cantor-16.12.2.ebuild              |  2 ++
 kde-apps/cantor/files/cantor-16.12.2-bashism.patch | 13 +++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/kde-apps/cantor/cantor-16.12.2.ebuild b/kde-apps/cantor/cantor-16.12.2.ebuild
index 96540cab7f..a1f359a35e 100644
--- a/kde-apps/cantor/cantor-16.12.2.ebuild
+++ b/kde-apps/cantor/cantor-16.12.2.ebuild
@@ -56,6 +56,8 @@ RDEPEND="${RDEPEND}"
 
 RESTRICT+=" test"
 
+PATCHES=( "${FILESDIR}"/${P}-bashism.patch )
+
 pkg_pretend() {
 	kde5_pkg_pretend
 

diff --git a/kde-apps/cantor/files/cantor-16.12.2-bashism.patch b/kde-apps/cantor/files/cantor-16.12.2-bashism.patch
new file mode 100644
index 0000000000..424ca4d15a
--- /dev/null
+++ b/kde-apps/cantor/files/cantor-16.12.2-bashism.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/FindR.cmake b/cmake/FindR.cmake
+index 6303417..6494884 100644
+--- a/cmake/FindR.cmake
++++ b/cmake/FindR.cmake
+@@ -31,7 +31,7 @@ IF(R_EXECUTABLE)
+         OUTPUT_VARIABLE R_INCLUDE_DIR)
+     ELSE(WIN32)
+       EXECUTE_PROCESS(
+-        COMMAND ${R_EXECUTABLE} CMD sh -c "echo -n $R_INCLUDE_DIR"
++        COMMAND ${R_EXECUTABLE} CMD sh -c "printf $R_INCLUDE_DIR"
+         OUTPUT_VARIABLE R_INCLUDE_DIR)
+     ENDIF(WIN32)
+   ENDIF(NOT R_INCLUDE_DIR)


             reply	other threads:[~2017-02-11 23:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-11 23:35 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-18 11:03 [gentoo-commits] repo/gentoo:master commit in: kde-apps/cantor/, kde-apps/cantor/files/ Andreas Sturmlechner
2020-10-11 21:33 Andreas Sturmlechner
2018-01-28 23:19 Andreas Sturmlechner
2017-02-11 23:35 Andreas Sturmlechner
2016-07-27 19:42 Michael Palimaka

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=1486856084.9be309db2b2c026522ff84601e8cef1c8a1eb9d3.asturm@gentoo \
    --to=asturm@gentoo.org \
    --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