summaryrefslogtreecommitdiff
path: root/dev-util/ragel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /dev-util/ragel
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'dev-util/ragel')
-rw-r--r--dev-util/ragel/Manifest3
-rw-r--r--dev-util/ragel/files/ragel-7.0.4-drop-julia-check.patch45
-rw-r--r--dev-util/ragel/ragel-7.0.4.ebuild6
3 files changed, 52 insertions, 2 deletions
diff --git a/dev-util/ragel/Manifest b/dev-util/ragel/Manifest
index fdaedff5827b..44b2d308b123 100644
--- a/dev-util/ragel/Manifest
+++ b/dev-util/ragel/Manifest
@@ -1,3 +1,4 @@
+AUX ragel-7.0.4-drop-julia-check.patch 1309 BLAKE2B 27855c17b9f1714aa17fe2fca7160ec1efa7b7044032c39b65e56529e2d8475885384e8b33ec2924e98cc1c340dc5e284a827665b8df63b54cbf56ca9e2574cf SHA512 9144e4118b7bcd5a86af6cff96bad861e3aaecc73efa9a29a001edd172943828629fa7f2f976cfbc2a5cef9899fb9f3025aea472f83b0d4970abc1284ddfa512
DIST ragel-6.10.tar.gz 1232993 BLAKE2B 401e7a53b062ecd7ec98337866eb2dc0af0ac90e5d04ee304fd2a867b7b6f390985297a7ed57ce65e88b719598efbdd431bac8f53cee24199b795deb0e89da6b SHA512 6c1fe4f6fa8546ae28b92ccfbae94355ff0d3cea346b9ae8ce4cf6c2bdbeb823e0ccd355332643ea72d3befd533a8b3030ddbf82be7ffa811c2c58cbb01aaa38
DIST ragel-7.0.0.12.tar.gz 1543127 BLAKE2B c3024c55eb5397f78159da83e318923529d3c1f10cc802564ac13c39b18c261166e27e4f315bbaa49e7eb9afa6840ca72aa62d7ae14d46f20865db64e3ab6759 SHA512 32ec90eddfd209e50995f21b9a5fcddd2b94279828227d367d990d7bfa8e4412682631d4e6ae5081871bac23d96153b96fb4494b991c70bf38df8cc0ddc8866d
DIST ragel-7.0.3.tar.gz 1656577 BLAKE2B 3a9ce560894714a3801039fb944d3c914f2647a0b76bba4a7b790f8d569eb2e9eb807ab4d8af067560b274692be2d98c5dc28632e11c853893971585e847d48e SHA512 16bcb4b44a3ca94918d6c3e4bce468620cc691bf74cb69f0a264c41cbcffd595f897aa18e300952b60a68e680e1223532bbf9e500168d35d92a6559c190f6e78
@@ -5,5 +6,5 @@ DIST ragel-7.0.4.tar.gz 1656687 BLAKE2B d96444f6b8dc356b9effa6c5032952ffb2526833
EBUILD ragel-6.10.ebuild 837 BLAKE2B 797418aa818b3dc163611d057c6c2d348b716945ca1632ef93e7c1183429c57bc9150a4c1ba594b751b53c0473d9066d056dbf4bbed75b962cd35c331f3b0c22 SHA512 243802350f28a11f6fa8e194e7562e672d4121b3e45632e09551569dc30594672afbde8e8ca1faa51d9c7d4aa71053ca9d389ea8994244d9399922ce3689c541
EBUILD ragel-7.0.0.12.ebuild 772 BLAKE2B 97dc91562f31eefe83292cef36885fa5562039e16e866b3456d5f4ff603d456fdc66423f809e02e0414ba9e14b60bb89173301b060352f9f02c161344463882d SHA512 ee3579c12527cabd3bbb25be5b3968fe88d0d7f6351cbdaeae50626ed689d6f8e4bb207090c3504f54f2da28bf2e4c399f816295fa20e518d6f7f8046d9f9ac3
EBUILD ragel-7.0.3.ebuild 1416 BLAKE2B 817cb6f863af04d4c635f86e70ae296f077d07801a5e6fed4d868fa5558cb033b00538c789644a4eda9f6b75fe12c89afa1f4a904579d81728c7d115a3453008 SHA512 c34c6e7c3faab0aad54aec9cbe1b753373590d48d4dfc6e0853815e92375209507263d6071896a5bb748089a986dba90c3c9b47af5568baedcd3ee68bfd48887
-EBUILD ragel-7.0.4.ebuild 1418 BLAKE2B a4428065f32784c8be516af00bbd6065abeb38f23c8b6f1ebe25eff95befdaaa219f1b26077a1081ae93b25a92f259a722ca0df17990c506fe00f9aa75b52d82 SHA512 6dc9789a243bc57e3ca321d905d83bdfb8fed596d949c4d4dce73393f757a69a251b395549b657803e6ee15c66abe6838a1967dc7052c8ae0684764abeb54c7c
+EBUILD ragel-7.0.4.ebuild 1478 BLAKE2B 17ad356f6a3949644e78172c0b955b971c8fc7d307bc08614629ca2c1e060aad10fb7ed2bf25ce09dd795f76b32f4d136b1401835e617e242b4a6b365b66cb8a SHA512 992555f161ee2665ef29be80f97fd75ed6cc4ceb7ef5726b522b15a7808ed5129df1623980a80d0420703136a82b8875cb4bf7bc18aebe19d414ae092fc6b689
MISC metadata.xml 304 BLAKE2B e1fe70825ab2eaef1101ab15d8a29dfffae8b22e1a8cfdb9e97bd7243699be7bf5dff01735e9a9451f7e3207fd9659f7cad5492f1909e845c0761388b254a3fc SHA512 4c34ae1a571f693c06acd7b3611019f137e3b73796f982a0d054ce06402f8a27c44d18cf49c6e6758f010690f769a6b3a94fc46f972d38913140eb8392557f66
diff --git a/dev-util/ragel/files/ragel-7.0.4-drop-julia-check.patch b/dev-util/ragel/files/ragel-7.0.4-drop-julia-check.patch
new file mode 100644
index 000000000000..10ede37ae361
--- /dev/null
+++ b/dev-util/ragel/files/ragel-7.0.4-drop-julia-check.patch
@@ -0,0 +1,45 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -305,41 +305,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
+- echo -n "checking if julia is able to run programs ... "
+- if sh -c "$JULIA_BIN conftest.jl" >>config.log 2>&1; then
+- echo "yes"
+- else
+- echo "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
+- echo -n "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
+- echo "yes"
+- else
+- JULIA_BIN=""
+- echo "no"
+- fi
+-fi
++JULIA_BIN=""
+
+ AC_PATH_PROG([GNUSTEP_CONFIG], [gnustep-config])
+
diff --git a/dev-util/ragel/ragel-7.0.4.ebuild b/dev-util/ragel/ragel-7.0.4.ebuild
index f97334957561..38a9bda6fb70 100644
--- a/dev-util/ragel/ragel-7.0.4.ebuild
+++ b/dev-util/ragel/ragel-7.0.4.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.colm.net/files/ragel/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="doc"
# Notes from bug #766090
@@ -32,6 +32,10 @@ BDEPEND="
DEPEND="~dev-util/colm-0.14.7"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-7.0.4-drop-julia-check.patch
+)
+
src_prepare() {
default