diff options
| -rw-r--r-- | kde-apps/cantor/cantor-16.12.49.9999.ebuild | 2 | ||||
| -rw-r--r-- | kde-apps/cantor/cantor-9999.ebuild | 2 | ||||
| -rw-r--r-- | kde-apps/cantor/files/cantor-16.12.2-bashism.patch | 13 |
3 files changed, 17 insertions, 0 deletions
diff --git a/kde-apps/cantor/cantor-16.12.49.9999.ebuild b/kde-apps/cantor/cantor-16.12.49.9999.ebuild index 8952906c50a..0db7d4c6469 100644 --- a/kde-apps/cantor/cantor-16.12.49.9999.ebuild +++ b/kde-apps/cantor/cantor-16.12.49.9999.ebuild @@ -56,6 +56,8 @@ RDEPEND="${RDEPEND}" RESTRICT+=" test" +PATCHES=( "${FILESDIR}"/${PN}-16.12.2-bashism.patch ) + pkg_pretend() { kde5_pkg_pretend diff --git a/kde-apps/cantor/cantor-9999.ebuild b/kde-apps/cantor/cantor-9999.ebuild index 8952906c50a..0db7d4c6469 100644 --- a/kde-apps/cantor/cantor-9999.ebuild +++ b/kde-apps/cantor/cantor-9999.ebuild @@ -56,6 +56,8 @@ RDEPEND="${RDEPEND}" RESTRICT+=" test" +PATCHES=( "${FILESDIR}"/${PN}-16.12.2-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 00000000000..424ca4d15aa --- /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) |
