1 |
commit: 9be309db2b2c026522ff84601e8cef1c8a1eb9d3 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 11 21:03:50 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 11 23:34:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be309db |
7 |
|
8 |
kde-apps/cantor: Fix bashism |
9 |
|
10 |
Gentoo-bug: 596940 |
11 |
Thanks-to: Michael Palimaka (kensington) |
12 |
|
13 |
Package-Manager: portage-2.3.3 |
14 |
|
15 |
kde-apps/cantor/cantor-16.12.2.ebuild | 2 ++ |
16 |
kde-apps/cantor/files/cantor-16.12.2-bashism.patch | 13 +++++++++++++ |
17 |
2 files changed, 15 insertions(+) |
18 |
|
19 |
diff --git a/kde-apps/cantor/cantor-16.12.2.ebuild b/kde-apps/cantor/cantor-16.12.2.ebuild |
20 |
index 96540cab7f..a1f359a35e 100644 |
21 |
--- a/kde-apps/cantor/cantor-16.12.2.ebuild |
22 |
+++ b/kde-apps/cantor/cantor-16.12.2.ebuild |
23 |
@@ -56,6 +56,8 @@ RDEPEND="${RDEPEND}" |
24 |
|
25 |
RESTRICT+=" test" |
26 |
|
27 |
+PATCHES=( "${FILESDIR}"/${P}-bashism.patch ) |
28 |
+ |
29 |
pkg_pretend() { |
30 |
kde5_pkg_pretend |
31 |
|
32 |
|
33 |
diff --git a/kde-apps/cantor/files/cantor-16.12.2-bashism.patch b/kde-apps/cantor/files/cantor-16.12.2-bashism.patch |
34 |
new file mode 100644 |
35 |
index 0000000000..424ca4d15a |
36 |
--- /dev/null |
37 |
+++ b/kde-apps/cantor/files/cantor-16.12.2-bashism.patch |
38 |
@@ -0,0 +1,13 @@ |
39 |
+diff --git a/cmake/FindR.cmake b/cmake/FindR.cmake |
40 |
+index 6303417..6494884 100644 |
41 |
+--- a/cmake/FindR.cmake |
42 |
++++ b/cmake/FindR.cmake |
43 |
+@@ -31,7 +31,7 @@ IF(R_EXECUTABLE) |
44 |
+ OUTPUT_VARIABLE R_INCLUDE_DIR) |
45 |
+ ELSE(WIN32) |
46 |
+ EXECUTE_PROCESS( |
47 |
+- COMMAND ${R_EXECUTABLE} CMD sh -c "echo -n $R_INCLUDE_DIR" |
48 |
++ COMMAND ${R_EXECUTABLE} CMD sh -c "printf $R_INCLUDE_DIR" |
49 |
+ OUTPUT_VARIABLE R_INCLUDE_DIR) |
50 |
+ ENDIF(WIN32) |
51 |
+ ENDIF(NOT R_INCLUDE_DIR) |