summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-SQLite/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBD-SQLite/files')
-rw-r--r--databases/p5-DBD-SQLite/files/patch-Makefile.PL20
-rw-r--r--databases/p5-DBD-SQLite/files/patch-dbdimp.h9
2 files changed, 7 insertions, 22 deletions
diff --git a/databases/p5-DBD-SQLite/files/patch-Makefile.PL b/databases/p5-DBD-SQLite/files/patch-Makefile.PL
index e458f994f0c8..e1b1e6f1d68f 100644
--- a/databases/p5-DBD-SQLite/files/patch-Makefile.PL
+++ b/databases/p5-DBD-SQLite/files/patch-Makefile.PL
@@ -1,6 +1,6 @@
---- Makefile.PL.orig Fri Aug 5 19:15:09 2005
-+++ Makefile.PL Wed Apr 12 11:13:37 2006
-@@ -65,31 +65,31 @@ if ($force_local = (grep(/USE_LOCAL_SQLI
+--- Makefile.PL.orig Fri Sep 8 05:45:13 2006
++++ Makefile.PL Tue Sep 12 13:59:02 2006
+@@ -68,31 +68,31 @@
# Now, check for a compatible sqlite3
unless ($force_local) {
@@ -39,17 +39,3 @@
last if $version;
}
}
-@@ -115,11 +115,11 @@ WriteMakefile(
- 'OBJECT' => ($force_local) ? '$(O_FILES)' : 'SQLite.o dbdimp.o',
- 'INC' => '-I. -I$(DBI_INSTARCH_DIR)' .
- (($sqlite_inc) ? " -I$sqlite_inc" : ''),
-- $force_local ? () : ('LIBS' => '-lsqlite3'),
-+ $force_local ? () : ('LIBS' => $sqlite_lib ? "-L$sqlite_lib -lsqlite3" : "-lsqlite3"),
- $sqlite_lib ? ('dynamic_lib' => { OTHERLDFLAGS => "-L$sqlite_lib" }) : (),
- 'OPTIMIZE' => "-O2",
- 'DEFINE' => "-DNDEBUG=1 -DSQLITE_PTR_SZ=$Config{ptrsize}" .
-- ( ($Config{d_usleep} ||
-+ ( (1 ||
- $Config{osname} =~ m/linux/) ?
- " -DHAVE_USLEEP=1" : "" ) .
- ($DBI::VERSION > 1.42 ? '' : ' -Dno_last_insert_id'),
diff --git a/databases/p5-DBD-SQLite/files/patch-dbdimp.h b/databases/p5-DBD-SQLite/files/patch-dbdimp.h
index ba359752604a..4506595aca58 100644
--- a/databases/p5-DBD-SQLite/files/patch-dbdimp.h
+++ b/databases/p5-DBD-SQLite/files/patch-dbdimp.h
@@ -1,10 +1,9 @@
---- dbdimp.h.orig Sat Sep 11 00:24:28 2004
-+++ dbdimp.h Mon Dec 27 16:37:25 2004
-@@ -99,6 +99,10 @@
- #define newUTF8SVpv newSVpv
+--- dbdimp.h.orig Fri Sep 8 06:50:50 2006
++++ dbdimp.h Tue Sep 12 14:00:36 2006
+@@ -105,6 +105,9 @@
#define newUTF8SVpvn newSVpvn
#define SvUTF8_on(a) (a)
-+#define SvUTF8_off(a) (a)
+ #define SvUTF8_off(a) (a)
+#ifndef get_sv
+#define get_sv perl_get_sv
+#endif