File perl-DBD-SQLite-use-external-sqlite3.patch of Package perl-DBD-SQLite.26473
Index: DBD-SQLite-1.66/Makefile.PL
===================================================================
--- DBD-SQLite-1.66.orig/Makefile.PL
+++ DBD-SQLite-1.66/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 =~ /=(.*)/;
@@ -154,7 +154,6 @@ if ( 0 ) {
$my_lib =~ /=(.*)/;
$sqlite_lib = $1;
}
-
# Now check for a compatible sqlite3
unless ( $sqlite_local ) {
my ($dir, $file, $fh, $version);