diff options
| author | Aaron W. Swenson <titanofold@gentoo.org> | 2024-05-14 23:43:51 -0400 |
|---|---|---|
| committer | Aaron W. Swenson <titanofold@gentoo.org> | 2024-05-14 23:43:51 -0400 |
| commit | b83b55c6eda116097aa380ede69db8417413f98b (patch) | |
| tree | 9b5083134ff2e45dfac56ef2438fa64d49965e51 /dev-vcs/fossil/files/fossil-2.24-fix-json-test-content-length.patch | |
| parent | ed4390b3287bfecf0e9873ab1ddece17fdae57ec (diff) | |
| download | gentoo-b83b55c6eda116097aa380ede69db8417413f98b.tar.gz gentoo-b83b55c6eda116097aa380ede69db8417413f98b.tar.bz2 gentoo-b83b55c6eda116097aa380ede69db8417413f98b.zip | |
dev-vcs/fossil: Fix incorrect checksum and tests
Tag number wasn't changed before generating manifest. Correct
file/release now fetched and correct checksum generated.
No longer a straight to stable ebuild, either.
New depend on dev-tcltk/tcllib for JSON tests. If the package is
missing, as it currently will be on riscv architectures, the tests are
nonfatally skipped.
Several more test patches included from upstream to fix tests that
didn't work in the wider world.
Now installs a man page. Thanks to Bernd Feige <Bernd.Feige@gmx.net> for
this addition.
Closes: https://bugs.gentoo.org/931862
Closes: https://bugs.gentoo.org/923783
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
Diffstat (limited to 'dev-vcs/fossil/files/fossil-2.24-fix-json-test-content-length.patch')
| -rw-r--r-- | dev-vcs/fossil/files/fossil-2.24-fix-json-test-content-length.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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 + |
