gentoo/dev-perl/DBD-SQLite/files/DBD-SQLite-1.64-no-bundle.patch
Kent Fredric 5aa8758494
dev-perl/DBD-SQLite: Bump to version 1.640.0
- EAPI7
- Increase Min SQLITE for system-sqlite to 3.29
- Simplify system-sqlite patching/pruning
- Isolate config-only stuff to src_configure
- Ensure CFLAGS passed to make/compiler

Upstream:
- Upgrade bundled SQLite to 3.29.0 for
  * security fixes
  * ALTER TABLE ... RENAME COLUMN
  * UPSERT
- Add ::GetInfo
- Fix to use a PV value as a virtual table column value where
  appropriate
- Add deferability to foreign_key_info
- Added ability to configure SQLITE_MAX_LENGTH via ENV
- Add $dbh->sqlite_limit to change runtime limits
- Update constants
- Add sqlite_backup_{from_dbh,to_dbh} methods
- Add $dbh->sqlite_prefer_numeric_type to prefer arrays of ints instead
  of arrays of strings in TYPE statemetns
- Add sqlite_db_config method and related constants
- Add sqlite_defensive option to prohibit dangerous SQLite features
- Expose some hidden extended result codes
- Ensure an internal HV is initialized
- Handle 'unknown' op in DBD::SQLite::VirtualTable::PerlData
- Avoid segmentation fault on big-endian 32bit
  https://github.com/DBD-SQLite/DBD-SQLite/issues/45
- Fix ->quote($blob, SQL_BLOB) to quote correctly (injection risk)
  https://github.com/DBD-SQLite/DBD-SQLite/issues/51
- Add sqlite_get_autocommit private query method

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
2020-07-09 14:01:50 +12:00

26 lines
722 B
Diff

From dc0684bc73ca2124a5d278eaaa34848b0d8fd9d9 Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Thu, 9 Jul 2020 12:44:07 +1200
Subject: Disable using bundled SQLite
---
Makefile.PL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index 5c832af..5f308ab 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -129,7 +129,7 @@ SCOPE: {
# a system sqlite is also sophisticated enough to have a patching system
# that can change the if ( 0 ) to if ( 1 )
my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
-if ( 0 ) {
+if ( 1 ) {
require File::Spec;
if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
$sqlite_base =~ /=(.*)/;
--
2.27.0