diff options
author | Sam James <sam@gentoo.org> | 2021-05-28 01:29:47 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-28 01:40:55 +0000 |
commit | ea51e2e8a9c0270df46484e214f0e9e6e86a45f2 (patch) | |
tree | a5cc4675362dbafe694b0196f51a5afa0c4b7092 /dev-util/colm/files | |
parent | dev-util/ragel: drop Julia check which causes sandbox failure (diff) | |
download | gentoo-ea51e2e8a9c0270df46484e214f0e9e6e86a45f2.tar.gz gentoo-ea51e2e8a9c0270df46484e214f0e9e6e86a45f2.tar.bz2 gentoo-ea51e2e8a9c0270df46484e214f0e9e6e86a45f2.zip |
dev-util/colm: drop Julia check which causes sandbox failure
Closes: https://bugs.gentoo.org/776688
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/colm/files')
-rw-r--r-- | dev-util/colm/files/colm-0.14.7-drop-julia-check.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-util/colm/files/colm-0.14.7-drop-julia-check.patch b/dev-util/colm/files/colm-0.14.7-drop-julia-check.patch new file mode 100644 index 000000000000..fc027927d298 --- /dev/null +++ b/dev-util/colm/files/colm-0.14.7-drop-julia-check.patch @@ -0,0 +1,45 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -284,41 +284,7 @@ AC_PATH_PROG([OCAML_BIN], [ocaml]) + AC_PATH_PROG([RUST_BIN], [rustc]) + AC_PATH_PROG([JULIA_BIN], [julia]) + +-dnl +-dnl Julia requires a large virtual address space. On systems where this is +-dnl limited by ulimit, julia will fail to run. +-dnl +- +-if test "x$JULIA_BIN" != x; then +- echo 'println( "can run julia programs" );' > conftest.jl +- AC_MSG_CHECKING([checking if julia is able to run programs ... ]) +- if sh -c "$JULIA_BIN conftest.jl" >>config.log 2>&1; then +- AC_MSG_RESULT([yes]) +- else +- AC_MSG_RESULT([no]) +- JULIA_BIN="" +- fi +- rm -f conftest.jl +-fi +- +-dnl We can run julia, now make sure we have 1.0 +-if test "x$JULIA_BIN" != x; then +- AC_MSG_CHECKING([checking if julia is version 1.0 or later ... ]) +- +- dnl We assume the form "julia version X.X.X" +- dnl 1. everything before the version number. +- dnl 2. Remove trailing version. +- dnl 3. Verify it is plain number greater than 1. +- dnl Any failure comes out as empty string. Note the sed command is wrapped +- dnl in [] so autotools do not interpret anything in it. +- JULIA1="`$JULIA_BIN -v | sed ['s/[A-Za-z ]\+//g; s/\.[0-9\.]*//; /^[1-9][0-9]*/!d;']`" +- if test "x$JULIA1" != x; then +- AC_MSG_RESULT([yes]) +- else +- AC_MSG_RESULT([no]) +- JULIA_BIN="" +- fi +-fi ++JULIA_BIN="" + + AC_PATH_PROG([GNUSTEP_CONFIG], [gnustep-config]) + |