aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-Pg-13/files
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-DBD-Pg-13/files')
-rw-r--r--databases/p5-DBD-Pg-13/files/patch-Makefile.PL37
-rw-r--r--databases/p5-DBD-Pg-13/files/patch-dbdimp.c14
-rw-r--r--databases/p5-DBD-Pg-13/files/patch-quote.c78
3 files changed, 0 insertions, 129 deletions
diff --git a/databases/p5-DBD-Pg-13/files/patch-Makefile.PL b/databases/p5-DBD-Pg-13/files/patch-Makefile.PL
deleted file mode 100644
index 99fab94715e..00000000000
--- a/databases/p5-DBD-Pg-13/files/patch-Makefile.PL
+++ /dev/null
@@ -1,37 +0,0 @@
---- Makefile.PL.orig Thu Feb 19 04:46:40 2004
-+++ Makefile.PL Fri Oct 15 13:25:34 2004
-@@ -33,7 +32,7 @@
- require App::Info::Handler::Prompt;
- my $p = App::Info::Handler::Prompt->new;
- my $pg = App::Info::RDBMS::PostgreSQL->new(on_unknown => $p);
--my ($major_ver, $minor_ver, $patch) = map {$pg->$_} qw/major_version minor_version patch_version/;
-+my ($major_ver, $minor_ver, $patch) = map {$pg->$_()} qw/major_version minor_version patch_version/;
-
- if ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and !$ENV{POSTGRES_HOME}) {
- $POSTGRES_INCLUDE = $pg->inc_dir;
-@@ -66,7 +65,7 @@
- $dbi_arch_dir = dbd_dbi_arch_dir();
- }
-
--my $comp_opts = $Config{q{ccflags}};
-+my $comp_opts = '';
- if ($major_ver == 7) {
- if ($minor_ver >= 2) {
- $comp_opts .= " -DHAVE_PQescapeString";
-@@ -86,7 +85,7 @@
- my %opts = (
- NAME => 'DBD::Pg',
- VERSION_FROM => 'Pg.pm',
-- INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir",
-+ INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir $comp_opts",
- OBJECT => "Pg\$(OBJ_EXT) dbdimp\$(OBJ_EXT) quote\$(OBJ_EXT) types\$(OBJ_EXT)",
- LIBS => ["-L$POSTGRES_LIB -lpq"],
- AUTHOR => 'http://gborg.postgresql.org/project/dbdpg/projdisplay.php',
-@@ -94,7 +93,6 @@
- PREREQ_PM => { 'Test::Simple' => '0.17', # Need Test::More.
- 'Test::Harness' => '2.03', # Need TODO tests.
- },
-- CCFLAGS => $comp_opts,
- PERL_MALLOC_OK => 1,
- );
-
diff --git a/databases/p5-DBD-Pg-13/files/patch-dbdimp.c b/databases/p5-DBD-Pg-13/files/patch-dbdimp.c
deleted file mode 100644
index 5340bccafb0..00000000000
--- a/databases/p5-DBD-Pg-13/files/patch-dbdimp.c
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ru dbdimp.c~ dbdimp.c
---- dbdimp.c~ Sun Jan 2 20:01:43 2005
-+++ dbdimp.c Sun Jan 2 20:06:16 2005
-@@ -986,7 +986,9 @@
- int num_fields;
- char *value;
- char *p;
-- int i, pg_type, value_len, chopblanks, len;
-+ int i, pg_type, chopblanks;
-+ size_t value_len;
-+ STRLEN len;
- AV *av;
- D_imp_dbh_from_sth;
-
diff --git a/databases/p5-DBD-Pg-13/files/patch-quote.c b/databases/p5-DBD-Pg-13/files/patch-quote.c
deleted file mode 100644
index 9ce19c0a971..00000000000
--- a/databases/p5-DBD-Pg-13/files/patch-quote.c
+++ /dev/null
@@ -1,78 +0,0 @@
-diff -ru quote.c~ quote.c
---- quote.c~ Sun Jan 2 20:01:43 2005
-+++ quote.c Sun Jan 2 20:04:39 2005
-@@ -9,7 +9,7 @@
- {
- const char *source = from;
- char *target = to;
-- unsigned int remaining = length;
-+ unsigned size_t remaining = length;
-
- while (remaining > 0)
- {
-@@ -146,9 +146,9 @@
- unsigned char *
- PQunescapeBytea2(const unsigned char *strtext, size_t *retbuflen)
- {
-- size_t strtextlen, buflen;
-+ size_t strtextlen, buflen, i, j;
- unsigned char *buffer, *tmpbuf;
-- int i, j, byte;
-+ int byte;
-
- if (strtext == NULL) {
- return NULL;
-@@ -393,7 +393,7 @@
- {
- char *result;
- char *dest;
-- int max_len = 0, i;
-+ size_t max_len = 0, i;
-
- /* We are going to retun a quote_bytea() for backwards compat but
- we warn first */
-@@ -483,7 +483,7 @@
- void
- dequote_char(string, retlen)
- char *string;
-- int *retlen;
-+ size_t *retlen;
- {
- /* TODO: chop_blanks if requested */
- *retlen = strlen(string);
-@@ -493,7 +493,7 @@
- void
- dequote_varchar (string, retlen)
- char *string;
-- int *retlen;
-+ size_t *retlen;
- {
- *retlen = strlen(string);
- }
-@@ -503,7 +503,7 @@
- void
- dequote_bytea(string, retlen)
- char *string;
-- int *retlen;
-+ size_t *retlen;
- {
- char *s, *p;
- int c1,c2,c3;
-@@ -542,7 +542,7 @@
- void
- dequote_sql_binary (string, retlen)
- char *string;
-- int *retlen;
-+ size_t *retlen;
- {
- /* We are going to retun a dequote_bytea(), JIC */
- warn("Use of SQL_BINARY invalid in dequote()");
-@@ -556,7 +556,7 @@
- void
- dequote_bool (string, retlen)
- char *string;
-- int *retlen;
-+ size_t *retlen;
- {
- switch(*string){
- case 'f': *string = '0'; break;