[-]
[+]
|
Changed |
perl-DBD-cego.changes
|
|
[-]
[+]
|
Changed |
perl-DBD-cego.spec
^
|
|
[-]
[+]
|
Added |
DBD-cego-libdir-1.2.1.patch
^
|
@@ -0,0 +1,37 @@
+--- Makefile.PL.orig 2013-05-16 21:59:25.000000000 +0200
++++ Makefile.PL 2013-05-16 22:20:38.448545180 +0200
+@@ -26,6 +26,7 @@
+ $opt,
+ "help",
+ "prefix=s",
++ "lib=s",
+ "verbose",
+ ) || die Usage();
+
+@@ -34,6 +35,11 @@
+ print "Missing prefix, use option --prefix\n";
+ die Usage();
+ }
++if (! exists $opt->{'lib'})
++{
++ print "Missing lib option, use option --lib\n";
++ die Usage();
++}
+
+ use vars qw($loadlibs);
+ $loadlibs= "-L" . $opt->{'prefix'} . " -llfc";
+@@ -43,10 +49,10 @@
+ 'VERSION_FROM' => 'Cego.pm',
+ 'PREREQ_PM' => {DBI => 1.03},
+ 'OBJECT' => '$(O_FILES)',
+- 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include -I' . $opt->{'prefix'} . '/include',
+- 'MYEXTLIB' => $opt->{'prefix'} . "/lib/libcego.a "
+- . $opt->{'prefix'} . "/lib/liblfcxml.a "
+- . $opt->{'prefix'} . "/lib/liblfcbase.a",
++ 'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include/lfc -I' . $opt->{'prefix'} . '/include -I' . $opt->{'prefix'} . '/include/cego',
++ 'MYEXTLIB' => $opt->{'prefix'} . "/" . $opt->{'lib'} . "/libcego.a "
++ . $opt->{'prefix'} . "/" . $opt->{'lib'} . "/liblfcxml.a "
++ . $opt->{'prefix'} . "/" . $opt->{'lib'} . "/liblfcbase.a",
+ "CC" => "g++",
+ "LD" => "g++",
+ "XSPROTOARG" => "-noprototypes",
|
[-]
[+]
|
Changed |
DBD-cego-1.2.1.tar.bz2/Cego.pm
^
|
@@ -4,7 +4,7 @@
use DBI;
use vars qw($err $errstr $state $drh $VERSION @ISA);
-$VERSION = '1.1.15';
+$VERSION = '1.2.1';
use DynaLoader();
@ISA = ('DynaLoader');
|
[-]
[+]
|
Changed |
DBD-cego-1.2.1.tar.bz2/Cego.xsi
^
|
@@ -121,7 +121,7 @@
(DBD_ATTRIB_TRUE(attr,"Slice",5,tmp_svp) || DBD_ATTRIB_TRUE(attr,"Columns",7,tmp_svp))
) {
/* fallback to perl implementation */
- SV *tmp =dbixst_bounce_method("DBD::Cego::db::SUPER::selectall_arrayref", items);
+ SV *tmp =dbixst_bounce_method((char*)"DBD::Cego::db::SUPER::selectall_arrayref", items);
SPAGAIN;
ST(0) = tmp;
XSRETURN(1);
@@ -136,7 +136,7 @@
sth = mg->mg_obj;
}
else {
- sth = dbixst_bounce_method("prepare", 3);
+ sth = dbixst_bounce_method((char*)"prepare", 3);
SPAGAIN; SP -= items; /* because stack might have been realloc'd */
if (!SvROK(sth))
XSRETURN_UNDEF;
@@ -179,7 +179,7 @@
}
else {
/* --- prepare --- */
- sth = dbixst_bounce_method("prepare", 3);
+ sth = dbixst_bounce_method((char*)"prepare", 3);
SPAGAIN; SP -= items; /* because stack might have been realloc'd */
if (!SvROK(sth)) {
if (is_selectrow_array) { XSRETURN_EMPTY; } else { XSRETURN_UNDEF; }
@@ -655,7 +655,7 @@
SV * batch_row_count
CODE:
if (SvOK(slice)) { /* fallback to perl implementation */
- SV *tmp = dbixst_bounce_method("DBD::Cego::st::SUPER::fetchall_arrayref", 3);
+ SV *tmp = dbixst_bounce_method((char*)"DBD::Cego::st::SUPER::fetchall_arrayref", 3);
SPAGAIN;
ST(0) = tmp;
}
|
[-]
[+]
|
Changed |
DBD-cego-1.2.1.tar.bz2/Cego.xsi.patched
^
|
@@ -121,7 +121,7 @@
(DBD_ATTRIB_TRUE(attr,"Slice",5,tmp_svp) || DBD_ATTRIB_TRUE(attr,"Columns",7,tmp_svp))
) {
/* fallback to perl implementation */
- SV *tmp =dbixst_bounce_method("DBD::Cego::db::SUPER::selectall_arrayref", items);
+ SV *tmp =dbixst_bounce_method((char*)"DBD::Cego::db::SUPER::selectall_arrayref", items);
SPAGAIN;
ST(0) = tmp;
XSRETURN(1);
@@ -136,7 +136,7 @@
sth = mg->mg_obj;
}
else {
- sth = dbixst_bounce_method("prepare", 3);
+ sth = dbixst_bounce_method((char*)"prepare", 3);
SPAGAIN; SP -= items; /* because stack might have been realloc'd */
if (!SvROK(sth))
XSRETURN_UNDEF;
@@ -179,7 +179,7 @@
}
else {
/* --- prepare --- */
- sth = dbixst_bounce_method("prepare", 3);
+ sth = dbixst_bounce_method((char*)"prepare", 3);
SPAGAIN; SP -= items; /* because stack might have been realloc'd */
if (!SvROK(sth)) {
if (is_selectrow_array) { XSRETURN_EMPTY; } else { XSRETURN_UNDEF; }
@@ -655,7 +655,7 @@
SV * batch_row_count
CODE:
if (SvOK(slice)) { /* fallback to perl implementation */
- SV *tmp = dbixst_bounce_method("DBD::Cego::st::SUPER::fetchall_arrayref", 3);
+ SV *tmp = dbixst_bounce_method((char*)"DBD::Cego::st::SUPER::fetchall_arrayref", 3);
SPAGAIN;
ST(0) = tmp;
}
|
[-]
[+]
|
Changed |
DBD-cego-1.2.1.tar.bz2/Makefile.PL
^
|
@@ -46,7 +46,7 @@
'INC' => '-I$(DBI_INSTARCH_DIR) -I' . $opt->{'prefix'} . '/include -I' . $opt->{'prefix'} . '/include',
'MYEXTLIB' => $opt->{'prefix'} . "/lib/libcego.a "
. $opt->{'prefix'} . "/lib/liblfcxml.a "
- . $opt->{'prefix'} . "/lib/liblfc.a",
+ . $opt->{'prefix'} . "/lib/liblfcbase.a",
"CC" => "g++",
"LD" => "g++",
"XSPROTOARG" => "-noprototypes",
|
[-]
[+]
|
Changed |
DBD-cego-1.2.1.tar.bz2/README
^
|
@@ -4,7 +4,7 @@
--------
A Perl DBD driver for the Cego database system
- Version 1.2.0
+ Version 1.2.1
(C)opyright 2007,2008,2009,2010,2011,2012 Bjoern Lemke
@@ -14,9 +14,9 @@
-----------
To build the Cego DBD driver, you need the following library packages available from www.lemke-it.com:
- lfc-1.3.0.tar.gz
- lfcxml-1.0.26.tar.gz
- cego-2.13.0.tar.gz ( client library )
+ lfcbase-1.5.3.tar.gz
+ lfcxml-1.1.2.tar.gz
+ cego-2.18.2.tar.gz ( client library )
Tested platforms and compliers
----------------------------
|
[-]
[+]
|
Changed |
DBD-cego-1.2.1.tar.bz2/dbdimp.c
^
|
@@ -99,7 +99,7 @@
protocol=CegoDbHandler::XML;
else
{
- cego_error(dbh, 1, "Invalid protocol" );
+ cego_error(dbh, 1, (char*)"Invalid protocol" );
return FALSE;
}
|