| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- Index: DBD-SQLite-1.14/Makefile.PL
- --- DBD-SQLite-1.14/Makefile.PL.orig 2007-08-28 21:57:09 +0200
- +++ DBD-SQLite-1.14/Makefile.PL 2009-02-10 08:56:57 +0100
- @@ -10,34 +10,6 @@
- }
- use Config;
- use strict;
- -eval {
- - require DBD::SQLite;
- - if ($DBD::SQLite::VERSION < 1.0) {
- - print <<EOT;
- -
- -**** WARNING **** WARNING **** WARNING **** WARNING **** WARNING ****
- -
- -Your version of DBD::SQLite currently installed ($DBD::SQLite::VERSION) uses
- -the old sqlite database format. This version of DBD::SQLite will *NOT*
- -open these files, and installing this module may cause problems on your
- -system. If this is a live environment you should upgrade with caution.
- -
- -To upgrade a database, download and install both sqlite 2.x and 3.x from
- -http://www.sqlite.org/ and issue:
- -
- - sqlite OLD.DB .dump | sqlite3 NEW.DB
- -
- -DBD::SQLite will NOT automatically upgrade a database for you, and using
- -this version against an old SQLite database WILL lead to database
- -corruption.
- -
- -EOT
- - if (prompt("Continue?", "N") !~ /^y/i) {
- - print "Exiting\n";
- - exit -1;
- - }
- - }
- -};
-
- # 2005/6/19, by rjray@blackperl.com
- #
- @@ -111,18 +83,19 @@
-
- my $nlid = $DBI::VERSION > 1.42 ? '' : '-Dno_last_insert_id';
-
- -my $libs = '';
- -$libs .= "-L$sqlite_lib " if ($sqlite_lib);
- -$libs .= "-lsqlite3 " unless ($force_local);
- +my $inc = `@l_prefix@/bin/pkg-config sqlite3 --cflags-only-I`;
- +$inc =~ s/\r?\n$//s;
- +my $libs = `@l_prefix@/bin/pkg-config sqlite3 --libs`;
- +$libs =~ s/\r?\n$//s;
-
- WriteMakefile(
- 'NAME' => 'DBD::SQLite',
- 'VERSION_FROM' => 'lib/DBD/SQLite.pm', # finds $VERSION
- 'PREREQ_PM' => {DBI => 1.21}, # e.g., Module::Name => 1.1
- 'OBJECT' => ($force_local) ? '$(O_FILES)' : 'SQLite.o dbdimp.o',
- - 'INC' => '-I. -I$(DBI_INSTARCH_DIR)' .
- + 'INC' => $inc . ' -I. -I$(DBI_INSTARCH_DIR)' .
- (($sqlite_inc) ? " -I$sqlite_inc" : ''),
- - $libs ? ('LIBS' => $libs) : (),
- + 'LIBS' => [ $libs ],
- 'OPTIMIZE' => "-O2",
- 'DEFINE' => "-DSQLITE_CORE -DSQLITE_ENABLE_FTS2 -DNDEBUG=1 -DSQLITE_PTR_SZ=$Config{ptrsize}" .
- ( ($Config{d_usleep} ||
- Index: DBD-SQLite-1.14/dbdimp.h
- --- DBD-SQLite-1.14/dbdimp.h.orig 2007-08-23 02:45:08 +0200
- +++ DBD-SQLite-1.14/dbdimp.h 2009-02-10 08:56:57 +0100
- @@ -4,7 +4,7 @@
- #define _DBDIMP_H 1
-
- #include "SQLiteXS.h"
- -#include "sqliteInt.h"
- +#include "sqlite3.h"
-
- /* 30 second timeout by default */
- #define SQL_TIMEOUT 30000
- Index: DBD-Sybase-1.09/dbdimp.c
- --- DBD-Sybase-1.09/dbdimp.c.orig 2008-08-31 14:08:17 +0200
- +++ DBD-Sybase-1.09/dbdimp.c 2009-02-10 08:56:57 +0100
- @@ -774,22 +774,22 @@
-
- #if defined(CS_VERSION_150)
- if(cs_ver == CS_VERSION_150)
- - BLK_VERSION = BLK_VERSION_150;
- + BLK_VERSION = CS_VERSION_150;
- #endif
- #if defined(CS_VERSION_125)
- if(cs_ver == CS_VERSION_125)
- - BLK_VERSION = BLK_VERSION_125;
- + BLK_VERSION = CS_VERSION_125;
- #endif
- #if defined(CS_VERSION_120)
- if(cs_ver == CS_VERSION_120)
- - BLK_VERSION = BLK_VERSION_120;
- + BLK_VERSION = CS_VERSION_120;
- #endif
- #if defined(CS_VERSION_110)
- if(cs_ver == CS_VERSION_110)
- - BLK_VERSION = BLK_VERSION_110;
- + BLK_VERSION = CS_VERSION_110;
- #endif
- if (cs_ver == CS_VERSION_100)
- - BLK_VERSION = BLK_VERSION_100;
- + BLK_VERSION = CS_VERSION_100;
-
- #if USE_CSLIB_CB
- if (cs_config(context, CS_SET, CS_MESSAGE_CB,
- Index: DBD-cego/Makefile.PL
- --- DBD-cego/Makefile.PL.orig 2007-06-25 20:38:07 +0200
- +++ DBD-cego/Makefile.PL 2009-02-10 08:56:57 +0100
- @@ -43,7 +43,7 @@
- 'VERSION_FROM' => 'Cego.pm',
- 'PREREQ_PM' => {DBI => 1.03},
- 'OBJECT' => '$(O_FILES)',
- - 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include',
- + 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include/cego',
- 'MYEXTLIB' => $opt->{'prefix'} . "/lib/libCego.a "
- . $opt->{'prefix'} . "/lib/libXML.a "
- . $opt->{'prefix'} . "/lib/libBase.a",
- Index: DBD-mysql-4.010/dbdimp.h
- --- DBD-mysql-4.010/dbdimp.h.orig 2008-04-29 01:36:17 +0200
- +++ DBD-mysql-4.010/dbdimp.h 2009-02-10 08:56:57 +0100
- @@ -19,6 +19,7 @@
- * Header files we use
- */
- #include <DBIXS.h> /* installed by the DBI module */
- +#include <my_global.h>
- #include <mysql.h> /* Comes with MySQL-devel */
- #include <mysqld_error.h> /* Comes MySQL */
-
|