diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-16 00:01:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-16 00:01:30 +0100 |
commit | 66113e7871aede225d661473925cea4cce9e6d23 (patch) | |
tree | 5bca10c8eeb5527fc3625567fc296a60dd9695cd /dev-vcs/fossil | |
parent | 514c44bb9cc421df9c323acbad430cbb6ee5b89a (diff) |
gentoo auto-resync : 16:05:2024 - 00:01:30
Diffstat (limited to 'dev-vcs/fossil')
-rw-r--r-- | dev-vcs/fossil/Manifest | 8 | ||||
-rw-r--r-- | dev-vcs/fossil/files/fossil-2.24-disable-utf8-tests-1179-1586-1587.patch | 119 | ||||
-rw-r--r-- | dev-vcs/fossil/files/fossil-2.24-fix-json-test-content-length.patch | 18 | ||||
-rw-r--r-- | dev-vcs/fossil/files/fossil-2.24-test-fixes.patch | 130 | ||||
-rw-r--r-- | dev-vcs/fossil/fossil-2.24-r1.ebuild (renamed from dev-vcs/fossil/fossil-2.24.ebuild) | 28 |
5 files changed, 250 insertions, 53 deletions
diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest index d10f8703734d..325042a3b7ab 100644 --- a/dev-vcs/fossil/Manifest +++ b/dev-vcs/fossil/Manifest @@ -1,11 +1,13 @@ AUX fossil-2.10-check-lib64-for-tcl.patch 445 BLAKE2B a8282820edafb15ae6542b9f134553c5b6d7b3b685959baa531071923f0611fb22ce5945ab2ecbd4d1bae3c6234c557ac2edc872363cf05a3045bf70bebe1a1b SHA512 ccc3f6cf55902748bf8a27ea1c7c1733a2e33a45b297a7f9f732dc772e021e461052e30f841c7fa83c6303e6c7d8f8aac96f248c909d824237edb17335cb3e2f -AUX fossil-2.24-test-fixes.patch 4765 BLAKE2B e59941762a0510f39377767bb0f734da1272f985e110e10ad094bb27c30d319c986758142ebfc392a817691b5c057f7a4291f4bdc6e5c9325a3956b2a5bcaffa SHA512 0e964cc0bd8f5a99bc5efbeb4c25905673e0f1416fa0186eeb64a6b4187cd133de847f2998c61c82e33a1f7511c52b58e6124be78dd3b4b12ad9e70a93658ee2 +AUX fossil-2.24-disable-utf8-tests-1179-1586-1587.patch 3324 BLAKE2B 3a7e30218dc68b35ad9c8dfb7ab2fe31b4821ba1818bdafb2418489de1826cb8cfa58510afdc4f536c9ee29af0d3b4c6507409a781b2ea1c139a2797550ca415 SHA512 65b0827d63c0577c0e46db65cb67a0a4c088e33a719ae8de5fb934ae6521819a8ab0119237f061d84ac609a1339fc60aa0def3d37c3d0b3c3b79a0db70f0ac64 +AUX fossil-2.24-fix-json-test-content-length.patch 425 BLAKE2B bd4ab1d745e265f5857c53746abf30ca921f6329ff9a80e0bb2843d88c22fe0f606a767102347be1f3603daba90d09cc4a5e0d29f13a55ed397749fee59badee SHA512 f95103b2549590d0b6ad358edda4c299c809fb92ff6443bc4d77f3e45f7ca2ad8206edc133b725bd49932f929407b95dbfc1ff0d5d643d0c25fc8d603d78027f +AUX fossil-2.24-test-fixes.patch 5325 BLAKE2B fd767b380e057be4654334e39cd57f834b0c3c091fbb7f76569fe8ac7c1b9a1119741da928cccd31db61b1838bab0498f9f106edbfc11162f066bfbc26bdcdd6 SHA512 0af4bfa50701b1ba540bf72699e7b473bd0b6e0cfd3303788daad6a966e371634edea60a9cd121ea432193d1f0dc3ad93283b10f3df16bf7ac0b1d5825953e35 DIST fossil-src-2.19.tar.gz 6435868 BLAKE2B 414dd8b1630bb6a8bcc22f3528da60386663e7f31191e5134474e37211e55323af45947452a0f09e21964dd3cd94ca6cf6e34ecd74e0d3e4f0dce7a50146f0ff SHA512 fcd84df2d84c3a958bb19228de4320456382d3c925717c58bec42de86d96383a9208fb31ba6aaeccd9bc6bba949048d5c1ce3d2b3e8535951956ae18d9aa34e4 DIST fossil-src-2.21.tar.gz 6703622 BLAKE2B fcc74ed5e3eec34f044624b128b8933b54d1cea99a212a1423e369fc469af4634f469f8c9c20af768c41edc9f1ec2592a074f87dadd5b9b90805906451268f0e SHA512 22534eb632f485de895b291a35325efe9bfd13ec0df84e94afe822593489ecdb2998352dcd501123d8d4c426a40bd4ff43190b50fb849392f886dd94bee42bf3 DIST fossil-src-2.22.tar.gz 6730858 BLAKE2B 3f0108dfb5802c61d107a6318acd11061c8311f112376c8c96645d6b0de1441b3ec745fcb2e2ec3888ed15ca89f4a2af535f61edcc6f4b5944d81d381f522935 SHA512 99a456301ae4ac72449985ff3b8b2139b805ff84e27ffe4325bad0c90643dd51c655b0210cbfa290a621e33e42e1e35b75a6cdc1beb093221d2b5d23d64591bc -DIST fossil-src-2.24.tar.gz 6730954 BLAKE2B fd83893c603181643dd6706a3bde025dd92f7be031f366604e6441aff453569b298d36f5bac4caafac218890b02834d100654cc181669017fac91743930d99e3 SHA512 bec6f3feeafa86727ce44b1f7ecd9bb687ae76885bfd1bad01500737dd1a6aaa4fb1388b5499b953853375c39e16dcf57b5dbd37a34e187a5b53814ca1894bf8 +DIST fossil-src-2.24-r1.tar.gz 6904302 BLAKE2B 9b4a37663721d512d6fa8f6f74f69b65d569c10bd85e1187aa2a1c9e02b730855ebe261760223e7a6249bc20d4cfc44d61a302b5a8f664411ee16105d3d864d9 SHA512 7fc7de7d947b0946866df38c6cb2215f6452d31903cae6470bb4a692816b2803eb66ea372280256e5cd00759e4d02a0ae459de2f56f39af10e873579d53d33ee EBUILD fossil-2.19.ebuild 1990 BLAKE2B a88a68a17adc8cea8ae97dba8ff19c0472d8b189398b935368a64bdabc874cec60df7bb01369705235f6a261e603416739266942015f5e6b2cb0ca545abb4097 SHA512 ff564abb9425f7c15a0e3bdcde848e12ccdb1976ec9a2b75ed62c28422e637a7c57ab1e46176f24e153dee2dc940e1de947aa79c5843755e7f9eaa0a0e1eb5b8 EBUILD fossil-2.21.ebuild 1995 BLAKE2B e93f75bcffd0b3977706e1213643825c591963f56f7b7314527fcaeb27ce89d1c43d62c46a2fb219a97d7367e05011f8a85999cde942c47591926a13c3d8d61a SHA512 4481348c409fea892ebb3f3bee5e82b649df96fedc11d15d28f06addd86c7fefad294919cc035344487d5b4e5222272480467e5870d28fbeabe41989e2443f53 EBUILD fossil-2.22.ebuild 2021 BLAKE2B 2b719c85cb37be028b6e0a0557755f0391f51329aba90c6f02715cfdcff637e5102b0b0e7e400bfa23dcbe625d6a6240781cec6d2d28080d1d5da4565dfb2710 SHA512 d44de4a4d907fb7ae33cc2e853ddf867fd6be03336c13cc9d84e136314263db237102e119b761b1aa92022eee5c06cf7d6d46c6fd7630365c7bb21cbba5ee667 -EBUILD fossil-2.24.ebuild 2086 BLAKE2B 7bdf8c96ac6ba5acdf6fa83916fc995b55add1bb95706090cda27b63c9ab4e23c197f36e847546f304ba1cb5ead7ac179a9e67a3485ac4377861e065309227c9 SHA512 73f2612dfd7bc9d6fadba39ed806eca4780a67a8171946be011503f9c027b04e44024f6d8c5144548d880f69da3fc4f28c46a61d767c707839714fd9eec85a8f +EBUILD fossil-2.24-r1.ebuild 2419 BLAKE2B 4af758ed3f311c10d0ced3461aee6a0ec12680efdbfda6691e2e09aa1f404032af6da7a36644d2a4ffe41abb35fc3c204fe7d6af16dbbeb104f79723919e75b1 SHA512 c96314bbc408fb6c1a7aa773275e5e559cd49d98eb872ab50566167c341de1a71b4ee6b24498c43d442732015353361f5d3fa7ec027a900414dfe60e106eeeba MISC metadata.xml 834 BLAKE2B 430f78ec0e62687ed2fc884034e8fd7d9221b093e2b8602f2b3b15332cb9aa6b9a28d30d5786fa9c1d01ef94d2b8ee76efd51236ee5b3571b4853745cbe9250e SHA512 6494820f1c7161ce6d2fe0ec559e8ac28e6637e60f46e4c47ce9d57ec63db082535bbbf98bba3ea9b9888fa4c515422172e2fa7f2c04590bf7af1a6abb2e13b5 diff --git a/dev-vcs/fossil/files/fossil-2.24-disable-utf8-tests-1179-1586-1587.patch b/dev-vcs/fossil/files/fossil-2.24-disable-utf8-tests-1179-1586-1587.patch new file mode 100644 index 000000000000..7f03362be201 --- /dev/null +++ b/dev-vcs/fossil/files/fossil-2.24-disable-utf8-tests-1179-1586-1587.patch @@ -0,0 +1,119 @@ +Index: test/utf.test +================================================================== +--- test/utf.test ++++ test/utf.test +@@ -17609,25 +17609,25 @@ + Has flag LOOK_LONG: no + Has flag LOOK_INVALID: no + Has flag LOOK_ODD: no + Has flag LOOK_SHORT: no} + +-utf-check 1179 utf-check-1179-2-129-1.jnk \ +-{File "%TEMP%/utf-check-1179-2-129-1.jnk" has 7 bytes. +-Starts with UTF-8 BOM: no +-Starts with UTF-16 BOM: yes +-Looks like UTF-8: yes +-Has flag LOOK_NUL: no +-Has flag LOOK_CR: no +-Has flag LOOK_LONE_CR: no +-Has flag LOOK_LF: no +-Has flag LOOK_LONE_LF: no +-Has flag LOOK_CRLF: no +-Has flag LOOK_LONG: no +-Has flag LOOK_INVALID: yes +-Has flag LOOK_ODD: no +-Has flag LOOK_SHORT: no} ++#utf-check 1179 utf-check-1179-2-129-1.jnk \ ++#{File "%TEMP%/utf-check-1179-2-129-1.jnk" has 7 bytes. ++#Starts with UTF-8 BOM: no ++#Starts with UTF-16 BOM: yes ++#Looks like UTF-8: yes ++#Has flag LOOK_NUL: no ++#Has flag LOOK_CR: no ++#Has flag LOOK_LONE_CR: no ++#Has flag LOOK_LF: no ++#Has flag LOOK_LONE_LF: no ++#Has flag LOOK_CRLF: no ++#Has flag LOOK_LONG: no ++#Has flag LOOK_INVALID: yes ++#Has flag LOOK_ODD: no ++#Has flag LOOK_SHORT: no} + + utf-check 1180 utf-check-1180-2-130-0.jnk \ + {File "%TEMP%/utf-check-1180-2-130-0.jnk" has 4 bytes. + Starts with UTF-8 BOM: no + Starts with UTF-16 BOM: yes +@@ -24121,41 +24121,41 @@ + Has flag LOOK_LONG: no + Has flag LOOK_INVALID: yes + Has flag LOOK_ODD: no + Has flag LOOK_SHORT: no} + +-utf-check 1586 utf-check-1586-3-128-0.jnk \ +-{File "%TEMP%/utf-check-1586-3-128-0.jnk" has 6 bytes. +-Starts with UTF-8 BOM: no +-Starts with UTF-16 BOM: reversed +-Looks like UTF-16: no +-Has flag LOOK_NUL: yes +-Has flag LOOK_CR: no +-Has flag LOOK_LONE_CR: no +-Has flag LOOK_LF: no +-Has flag LOOK_LONE_LF: no +-Has flag LOOK_CRLF: no +-Has flag LOOK_LONG: no +-Has flag LOOK_INVALID: no +-Has flag LOOK_ODD: no +-Has flag LOOK_SHORT: no} +- +-utf-check 1587 utf-check-1587-3-128-1.jnk \ +-{File "%TEMP%/utf-check-1587-3-128-1.jnk" has 7 bytes. +-Starts with UTF-8 BOM: no +-Starts with UTF-16 BOM: reversed +-Looks like UTF-8: no +-Has flag LOOK_NUL: yes +-Has flag LOOK_CR: no +-Has flag LOOK_LONE_CR: no +-Has flag LOOK_LF: no +-Has flag LOOK_LONE_LF: no +-Has flag LOOK_CRLF: no +-Has flag LOOK_LONG: no +-Has flag LOOK_INVALID: yes +-Has flag LOOK_ODD: no +-Has flag LOOK_SHORT: no} ++#utf-check 1586 utf-check-1586-3-128-0.jnk \ ++#{File "%TEMP%/utf-check-1586-3-128-0.jnk" has 6 bytes. ++#Starts with UTF-8 BOM: no ++#Starts with UTF-16 BOM: reversed ++#Looks like UTF-16: no ++#Has flag LOOK_NUL: yes ++#Has flag LOOK_CR: no ++#Has flag LOOK_LONE_CR: no ++#Has flag LOOK_LF: no ++#Has flag LOOK_LONE_LF: no ++#Has flag LOOK_CRLF: no ++#Has flag LOOK_LONG: no ++#Has flag LOOK_INVALID: no ++#Has flag LOOK_ODD: no ++#Has flag LOOK_SHORT: no} ++ ++#utf-check 1587 utf-check-1587-3-128-1.jnk \ ++#{File "%TEMP%/utf-check-1587-3-128-1.jnk" has 7 bytes. ++#Starts with UTF-8 BOM: no ++#Starts with UTF-16 BOM: reversed ++#Looks like UTF-8: no ++#Has flag LOOK_NUL: yes ++#Has flag LOOK_CR: no ++#Has flag LOOK_LONE_CR: no ++#Has flag LOOK_LF: no ++#Has flag LOOK_LONE_LF: no ++#Has flag LOOK_CRLF: no ++#Has flag LOOK_LONG: no ++#Has flag LOOK_INVALID: yes ++#Has flag LOOK_ODD: no ++#Has flag LOOK_SHORT: no} + + utf-check 1588 utf-check-1588-3-129-0.jnk \ + {File "%TEMP%/utf-check-1588-3-129-0.jnk" has 6 bytes. + Starts with UTF-8 BOM: no + Starts with UTF-16 BOM: no + diff --git a/dev-vcs/fossil/files/fossil-2.24-fix-json-test-content-length.patch b/dev-vcs/fossil/files/fossil-2.24-fix-json-test-content-length.patch new file mode 100644 index 000000000000..adafce2e9e95 --- /dev/null +++ b/dev-vcs/fossil/files/fossil-2.24-fix-json-test-content-length.patch @@ -0,0 +1,18 @@ +Index: test/json.test +================================================================== +--- test/json.test ++++ test/json.test +@@ -107,11 +107,11 @@ + set request [subst {POST $url HTTP/1.0\r + Host: localhost\r + User-Agent: Fossil-Test\r + Cookie: $cookie\r + Content-Type: application/json +-Content-Length $len ++Content-Length: $len + \r + $data}] + } else { + set request [subst {GET $url HTTP/1.0\r + Host: localhost\r + diff --git a/dev-vcs/fossil/files/fossil-2.24-test-fixes.patch b/dev-vcs/fossil/files/fossil-2.24-test-fixes.patch index 1289b2ab2dbe..2aaf04e6d46b 100644 --- a/dev-vcs/fossil/files/fossil-2.24-test-fixes.patch +++ b/dev-vcs/fossil/files/fossil-2.24-test-fixes.patch @@ -1,18 +1,27 @@ -diff -Naruw a/test/amend.test b/test/amend.test ---- a/test/amend.test 2024-05-12 18:41:35.201744668 -0400 -+++ b/test/amend.test 2024-05-12 18:44:30.388911629 -0400 -@@ -313,6 +313,7 @@ - append t5exp "Cancel*tag*\"$res\".*" +Index: test/amend.test +================================================================== +--- test/amend.test ++++ test/amend.test +@@ -313,10 +313,11 @@ + } + foreach res [lsort -nocase $result] { + append t2exp "sym-$res*" } eval fossil amend $HASH $tags + set t1exp [string trimleft $t1exp ,] test amend-tag-$tc.1 {[string match "*hash:*$HASH*tags:*$t1exp*" $RESULT]} fossil tag ls --raw $HASH test amend-tag-$tc.2 {[string match $t2exp $RESULT]} -diff -Naruw a/test/merge5.test b/test/merge5.test ---- a/test/merge5.test 2024-05-12 18:41:35.201744668 -0400 -+++ b/test/merge5.test 2024-05-12 18:48:11.376209386 -0400 -@@ -23,7 +23,7 @@ + fossil timeline -n 1 + test amend-tag-$tc.3 {[string match $t3exp $RESULT]} + +Index: test/merge5.test +================================================================== +--- test/merge5.test ++++ test/merge5.test +@@ -23,11 +23,11 @@ + } + protOut { fossil sqlite3 --no-repository reacts badly to SQL dumped from repositories created from fossil older than version 2.0. } @@ -21,10 +30,16 @@ diff -Naruw a/test/merge5.test b/test/merge5.test test_cleanup_then_return # Verify the results of a check-out -diff -Naruw a/test/stash.test b/test/stash.test ---- a/test/stash.test 2024-05-12 18:41:35.205078010 -0400 -+++ b/test/stash.test 2024-05-12 18:50:29.989938569 -0400 -@@ -170,10 +170,10 @@ + # + proc checkout-test {testid expected_content} { + +Index: test/stash.test +================================================================== +--- test/stash.test ++++ test/stash.test +@@ -168,14 +168,14 @@ + + ######## # fossil stash show|cat ?STASHID? ?DIFF-OPTIONS? # fossil stash [g]diff ?STASHID? ?DIFF-OPTIONS? @@ -32,33 +47,41 @@ diff -Naruw a/test/stash.test b/test/stash.test -test stash-1-show {[normalize_result] eq $diff_stash_1} -fossil stash diff -test stash-1-diff {[normalize_result] eq $diff_stash_1} knownBug -+# fossil stash show -+# test stash-1-show {[normalize_result] eq $diff_stash_1} -+# fossil stash diff -+# test stash-1-diff {[normalize_result] eq $diff_stash_1} knownBug ++#fossil stash show ++#test stash-1-show {[normalize_result] eq $diff_stash_1} ++#fossil stash diff ++#test stash-1-diff {[normalize_result] eq $diff_stash_1} knownBug ######## # fossil stash pop -@@ -208,12 +208,12 @@ + + stash-test 2 pop { +@@ -206,16 +206,16 @@ + # fossil: ./src/delta.c:231: checksum: Assertion '...' failed. + # Should be triggered by this stash-WY-1 test. fossil checkout --force c1 fossil clean fossil mv --soft f1 f1new --stash-test WY-1 {save -m "Reported 2016-02-09"} { +-stash-test WY-1 {-expectError save -m "Reported 2016-02-09"} { - REVERT f1 - DELETE f1new -} -changes { -} -addremove { -} -exists {f1 f2 f3} -notexists {f1new} -knownbugs {-code -result} -+# stash-test WY-1 {save -m "Reported 2016-02-09"} { -+# REVERT f1 -+# DELETE f1new -+# } -changes { -+# } -addremove { -+# } -exists {f1 f2 f3} -notexists {f1new} -knownbugs {-code -result} ++#stash-test WY-1 {-expectError save -m "Reported 2016-02-09"} { ++# REVERT f1 ++# DELETE f1new ++#} -changes { ++#} -addremove { ++#} -exists {f1 f2 f3} -notexists {f1new} -knownbugs {-code -result} # TODO: add tests that verify the saved stash is sensible. Possibly # by applying it and checking results. But until the SQLITE_CONSTRAINT # error is fixed, there is nothing stashed to test. -@@ -298,12 +298,13 @@ + + +@@ -296,16 +296,17 @@ + }] -changes { + RENAMED f2 -> f2n } -addremove { } -exists {f1 f2n} -notexists {f2} @@ -67,31 +90,43 @@ diff -Naruw a/test/stash.test b/test/stash.test - DELETE f2n -} -exists {f1 f2} -notexists {f2n} -knownbugs {-result} +fossil stash save -m f2n -+# stash-test 3-2 {save -m f2n} { -+# REVERT f2 -+# DELETE f2n -+# } -exists {f1 f2} -notexists {f2n} -knownbugs {-result} ++#stash-test 3-2 {save -m f2n} { ++# REVERT f2 ++# DELETE f2n ++#} -exists {f1 f2} -notexists {f2n} -knownbugs {-result} fossil stash show -test stash-3-2-show-1 {![regexp {\sf1} $RESULT]} knownBug -+# test stash-3-2-show-1 {![regexp {\sf1} $RESULT]} knownBug ++#test stash-3-2-show-1 {![regexp {\sf1} $RESULT]} knownBug test stash-3-2-show-2 {[regexp {\sf2n} $RESULT]} stash-test 3-2-pop {pop} { UPDATE f1 -diff -Naruw a/test/tester.tcl b/test/tester.tcl ---- a/test/tester.tcl 2024-05-12 18:41:35.205078010 -0400 -+++ b/test/tester.tcl 2024-05-12 18:51:04.566703979 -0400 -@@ -301,6 +301,7 @@ + UPDATE f2n + } -changes { + +Index: test/tester.tcl +================================================================== +--- test/tester.tcl ++++ test/tester.tcl +@@ -308,10 +308,11 @@ + comment-format \ + crlf-glob \ crnl-glob \ default-csp \ default-perms \ + default-skin \ diff-binary \ diff-command \ + dont-commit \ dont-push \ -diff -Naruw a/test/utf.test b/test/utf.test ---- a/test/utf.test 2024-05-12 18:41:35.205078010 -0400 -+++ b/test/utf.test 2024-05-12 18:54:21.871455531 -0400 -@@ -37,7 +37,7 @@ + dotfiles \ + +Index: test/utf.test +================================================================== +--- test/utf.test ++++ test/utf.test +@@ -35,11 +35,11 @@ + set i 1 + foreach {fileName result} $args { set fileName [file join $tempPath $fileName] fossil test-looks-like-utf $fileName set result [string map [list %TEMP% $tempPath \r\n \n] $result] @@ -100,7 +135,11 @@ diff -Naruw a/test/utf.test b/test/utf.test test utf-check-$testname.$i {$::RESULT eq $result} incr i } -@@ -17615,8 +17615,8 @@ + } + +@@ -17613,12 +17613,12 @@ + + utf-check 1179 utf-check-1179-2-129-1.jnk \ {File "%TEMP%/utf-check-1179-2-129-1.jnk" has 7 bytes. Starts with UTF-8 BOM: no Starts with UTF-16 BOM: yes @@ -111,7 +150,11 @@ diff -Naruw a/test/utf.test b/test/utf.test Has flag LOOK_CR: no Has flag LOOK_LONE_CR: no Has flag LOOK_LF: no -@@ -24126,8 +24126,8 @@ + Has flag LOOK_LONE_LF: no + Has flag LOOK_CRLF: no +@@ -24124,27 +24124,27 @@ + Has flag LOOK_SHORT: no} + utf-check 1586 utf-check-1586-3-128-0.jnk \ {File "%TEMP%/utf-check-1586-3-128-0.jnk" has 6 bytes. Starts with UTF-8 BOM: no @@ -122,7 +165,7 @@ diff -Naruw a/test/utf.test b/test/utf.test Has flag LOOK_NUL: yes Has flag LOOK_CR: no Has flag LOOK_LONE_CR: no -@@ -24135,14 +24135,14 @@ + Has flag LOOK_LF: no Has flag LOOK_LONE_LF: no Has flag LOOK_CRLF: no Has flag LOOK_LONG: no @@ -139,3 +182,6 @@ diff -Naruw a/test/utf.test b/test/utf.test Looks like UTF-8: no Has flag LOOK_NUL: yes Has flag LOOK_CR: no + Has flag LOOK_LONE_CR: no + Has flag LOOK_LF: no + diff --git a/dev-vcs/fossil/fossil-2.24.ebuild b/dev-vcs/fossil/fossil-2.24-r1.ebuild index 8ab778627e90..d3f73db2e179 100644 --- a/dev-vcs/fossil/fossil-2.24.ebuild +++ b/dev-vcs/fossil/fossil-2.24-r1.ebuild @@ -9,12 +9,15 @@ MY_TAG="8be0372c1051043761320c8ea8669c3cf320c406e5fe18ad36b7be5f844ca73b" DESCRIPTION="Simple, high-reliability, source control management, and more" HOMEPAGE="https://www.fossil-scm.org/home" -SRC_URI="https://fossil-scm.org/home/tarball/${MY_TAG}/fossil-src-${PV}.tar.gz" + +# Arrow can be dropped with next version. Needed to resolve +# https://bugs.gentoo.org/931862 +SRC_URI="https://fossil-scm.org/home/tarball/${MY_TAG}/fossil-src-${PV}.tar.gz -> fossil-src-${PV}-r1.tar.gz" S="${WORKDIR}/fossil-src-${PV}" LICENSE="BSD-2" SLOT="0" -KEYWORDS="amd64 arm ppc ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86" IUSE="debug fusefs json system-sqlite +ssl static tcl tcl-stubs tcl-private-stubs test th1-docs th1-hooks" RESTRICT="!test? ( test )" @@ -42,14 +45,27 @@ DEPEND="${RDEPEND} ) " -BDEPEND="test? ( dev-lang/tcl )" +BDEPEND=" + test? ( + dev-lang/tcl + !riscv? ( json? ( dev-tcltk/tcllib ) ) + ) +" PATCHES=( # fossil-2.10-check-lib64-for-tcl.patch: Bug 690828 "${FILESDIR}"/fossil-2.10-check-lib64-for-tcl.patch - "${FILESDIR}"/fossil-2.24-test-fixes.patch ) +src_prepare() { + eapply -p0 -- \ + "${FILESDIR}"/fossil-2.24-test-fixes.patch \ + "${FILESDIR}"/fossil-2.24-disable-utf8-tests-1179-1586-1587.patch \ + "${FILESDIR}"/fossil-2.24-fix-json-test-content-length.patch + + default +} + src_configure() { # this is not an autotools situation so don't make it seem like one # --with-tcl: works @@ -72,10 +88,6 @@ src_configure() { CC_FOR_BUILD=${CC} ./configure ${myconf} || die } -# src_test() { -# emake test -# } - src_install() { dobin fossil doman fossil.1 |