summaryrefslogtreecommitdiff
path: root/dev-perl/ORLite
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-perl/ORLite
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-perl/ORLite')
-rw-r--r--dev-perl/ORLite/Manifest3
-rw-r--r--dev-perl/ORLite/ORLite-1.980.0-r1.ebuild8
-rw-r--r--dev-perl/ORLite/files/ORLite-1.98-vacuum.patch44
3 files changed, 52 insertions, 3 deletions
diff --git a/dev-perl/ORLite/Manifest b/dev-perl/ORLite/Manifest
index 9ea9e7d5d8cf..b7d901681db2 100644
--- a/dev-perl/ORLite/Manifest
+++ b/dev-perl/ORLite/Manifest
@@ -1,4 +1,5 @@
AUX ORLite-1.98-dot-in-inc.patch 9606 BLAKE2B b71a784a9165e3b77c86727f401a8584a7cc068b12be9555e891b6a7da0eb5ed6953d85dad8479f6c832e5ff673174c156cc8ea8e9813918dde508c32b34ff9d SHA512 947130481b5826582b103c8c26100a2c3c78c8615c1349e77509acdd46bd6dbc0a6be57e276208c6100e182bc54a1ecb4c1eb5d06abea6d875561f6b0b3994c2
+AUX ORLite-1.98-vacuum.patch 1140 BLAKE2B 442f699462308d088d484d382ee0f5d0309f5c2bb9222279007ffc292544c18c90a70a79d9eb0c4197e02177583fbf165212a608a79610f340a3e55d228730b3 SHA512 dbb08c789c78fac0762b2cc5f0cc7e05824b6bbebf909bbc12df2b1c453e651e16186c793d014946d12554f7c86da643d51b33dbe44a1fd40a26ce2ae67538c2
DIST ORLite-1.98.tar.gz 67402 BLAKE2B f2c5c5f3f36932163c1e5033cd4bfcdf2a3172ba2f5b3dc59e03012706520219162eee986fddd423b289f2bb6b5d350e78e94ac1f3dc3060849383d5894fa185 SHA512 1cc2f8352efe2867806611746d78cf8aa9788e2f38eeb9231ab7b4168a3befeecdb1773360a13578758f9172d08f55261e952698a3e8c5a5b8ad5e63939349f9
-EBUILD ORLite-1.980.0-r1.ebuild 677 BLAKE2B 0303ec355a233b2ed2141ce0493dd1109c74b24be5c855203eb54aaefe1517f25d7016ec3af0f4c0db421c26a242409fecd112f25bd2e4b6240aa1e0eb9bc8a2 SHA512 e82b88fecc77e64b1b9ddd59f76e84d86556665d7fdd04d2d8f66819f5082f441f4d57701b7d414e1b7981011e562e67a04ad19472ba37101929aeefab1640c2
+EBUILD ORLite-1.980.0-r1.ebuild 718 BLAKE2B 68e7c0fcf16af176e5219981c053d1479bcf95463c44f7bed487c472973926ec341f9c7f3b9326c8f96b61caa8bf5136ab05b8c78f563bb198099545dba1f13f SHA512 c6254f8611c2c0ba97836a66e7bdf3e59e2761f1e7fb84bb370d18402d14ab7102f7a6b10dd20251405bc5927a85ef4bc4ca6634f837b8e0098d194ebc8d2101
MISC metadata.xml 383 BLAKE2B cbc609254d2e0442bd14d6c066277fc7a11db374d3f5d0b52bca780524a30b19631f8861ee4d7045ec8c02f8334891ca3851ff096779f44869c559c12a126be8 SHA512 d0cafda7818648e86c4d3a9953e040bc64dff73f22563805d243b0ed4a4477c6fb3f70139779a5d0370d0160eae88f2d2692db1d0f7e180a96e02082761c58fa
diff --git a/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild b/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild
index 0296ac179f9b..1020bed4fcad 100644
--- a/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild
+++ b/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -31,5 +31,9 @@ DEPEND="
RDEPEND="
${COMMON_DEPEND}
"
-PATCHES=( "${FILESDIR}/${PN}-1.98-dot-in-inc.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-1.98-dot-in-inc.patch"
+ "${FILESDIR}/${PN}-1.98-vacuum.patch"
+)
+
DIST_TEST="do" # Parallel tests broken
diff --git a/dev-perl/ORLite/files/ORLite-1.98-vacuum.patch b/dev-perl/ORLite/files/ORLite-1.98-vacuum.patch
new file mode 100644
index 000000000000..25b819c8000b
--- /dev/null
+++ b/dev-perl/ORLite/files/ORLite-1.98-vacuum.patch
@@ -0,0 +1,44 @@
+Description: Fix cleanup in tests.
+ Since SQLite 3.15, VACUUM either needs no arguments, or the name of an
+ attached database.
+ .
+ From https://sqlite.org/lang_vacuum.html :
+ Compatibility Warning: The ability to vacuum attached databases was added
+ in version 3.15.0 (2016-10-14). Prior to that, a schema-name added to the
+ VACUUM statement would be silently ignored and the "main" schema would be
+ vacuumed.
+ .
+ That means that 'VACUUM ANALYZE' never did what it was probably supposed to
+ do.
+ .
+ Maybe 'VACUUM; ANALYZE' works as well. -- And besides this change in the
+ testsuite, the documentation for cleanup() in the POD would need to be
+ updated as well.
+ .
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/841545
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2016-10-21
+
+--- a/t/10_cleanup.t
++++ b/t/10_cleanup.t
+@@ -29,7 +29,7 @@
+ use strict;
+ use ORLite {
+ file => '$file',
+- cleanup => 'VACUUM ANALYZE',
++ cleanup => 'VACUUM',
+ };
+
+ 1;
+--- a/t/11_cleanup.t
++++ b/t/11_cleanup.t
+@@ -29,7 +29,7 @@
+ use strict;
+ use ORLite {
+ file => '$file',
+- cleanup => 'VACUUM ANALYZE',
++ cleanup => 'VACUUM',
+ };
+
+ 1;