diff options
author | mnag <mnag@FreeBSD.org> | 2006-09-15 01:31:34 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2006-09-15 01:31:34 +0800 |
commit | 2aad4de8b4c1122087f78a3c1d5c2976a9a9a79c (patch) | |
tree | 393fee00085f65ebaa5504626e60200a209df5f2 /databases | |
parent | 8803c366c986b95aa4dff8579281a71a21884505 (diff) | |
download | freebsd-ports-gnome-2aad4de8b4c1122087f78a3c1d5c2976a9a9a79c.tar.gz freebsd-ports-gnome-2aad4de8b4c1122087f78a3c1d5c2976a9a9a79c.tar.zst freebsd-ports-gnome-2aad4de8b4c1122087f78a3c1d5c2976a9a9a79c.zip |
- portlint(1) in PORTREVISION
- Fix build with 4.x
Approved by: skv
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-DBD-mysql/Makefile | 2 | ||||
-rw-r--r-- | databases/p5-DBD-mysql/files/patch-dbdimp.c | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/databases/p5-DBD-mysql/Makefile b/databases/p5-DBD-mysql/Makefile index aa58fdbc86d4..c7516f8a8cf6 100644 --- a/databases/p5-DBD-mysql/Makefile +++ b/databases/p5-DBD-mysql/Makefile @@ -7,7 +7,7 @@ PORTNAME= DBD-mysql PORTVERSION= 3.0007 -PORTREVISION= 0 +PORTREVISION?= 0 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= DBD diff --git a/databases/p5-DBD-mysql/files/patch-dbdimp.c b/databases/p5-DBD-mysql/files/patch-dbdimp.c new file mode 100644 index 000000000000..9fa0067f11f6 --- /dev/null +++ b/databases/p5-DBD-mysql/files/patch-dbdimp.c @@ -0,0 +1,22 @@ +# +# Fix build with old gcc +# +--- dbdimp.c.orig Fri Sep 8 17:25:59 2006 ++++ dbdimp.c Thu Sep 14 10:31:47 2006 +@@ -2347,6 +2347,7 @@ + char *table; + char *salloc; + int htype; ++ my_ulonglong rows= 0; + + /* thank you DBI.c for this info! */ + D_imp_xxh(h); +@@ -2386,8 +2387,6 @@ + params, + num_params, + imp_dbh->bind_type_guessing); +- +- my_ulonglong rows= 0; + + if (dbis->debug >= 2) + PerlIO_printf(DBILOGFP, "mysql_st_internal_execute\n"); |