ports/178779: I have updated databases/libdbi to 0.9.0
Douglas Carmichael
dcarmich at dcarmichael.net
Mon May 20 05:50:00 UTC 2013
>Number: 178779
>Category: ports
>Synopsis: I have updated databases/libdbi to 0.9.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 20 05:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Douglas Carmichael
>Release: 9.1-RELEASE
>Organization:
n/a
>Environment:
n/a
>Description:
I have updated databases/libdbi to 0.9.0.
A patch is attached.
>How-To-Repeat:
n/a
>Fix:
n/a
Patch attached with submission follows:
diff -ruN libdbi.orig/Makefile libdbi/Makefile
--- libdbi.orig/Makefile 2013-05-19 22:58:06.000000000 -0500
+++ libdbi/Makefile 2013-05-19 22:58:26.000000000 -0500
@@ -7,7 +7,7 @@
#
PORTNAME= libdbi
-PORTVERSION= 0.8.4
+PORTVERSION= 0.9.0
CATEGORIES= databases devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
diff -ruN libdbi.orig/distinfo libdbi/distinfo
--- libdbi.orig/distinfo 2013-05-19 22:58:06.000000000 -0500
+++ libdbi/distinfo 2013-05-19 22:58:33.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (libdbi-0.8.4.tar.gz) = ef38db616f0752ccb09b8ba2eac471722369b8ded50b153c25e238cac2c8de99
-SIZE (libdbi-0.8.4.tar.gz) = 1045247
+SHA256 (libdbi-0.9.0.tar.gz) = dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503
+SIZE (libdbi-0.9.0.tar.gz) = 1194284
diff -ruN libdbi.orig/files/patch-Makefile.in libdbi/files/patch-Makefile.in
--- libdbi.orig/files/patch-Makefile.in 2013-05-19 22:58:06.000000000 -0500
+++ libdbi/files/patch-Makefile.in 2013-05-19 23:15:21.000000000 -0500
@@ -1,11 +1,19 @@
---- Makefile.in.orig 2010-09-01 07:22:52.000000000 +0800
-+++ Makefile.in 2011-03-07 14:25:30.000000000 +0800
-@@ -195,7 +195,7 @@
- top_srcdir = @top_srcdir@
- AUTOMAKE_OPTIONS = foreign dist-zip
- ACLOCAL_AMFLAGS = -I m4
--SUBDIRS = src include @docs_subdirs@
-+SUBDIRS = src include
- EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README README.win32 README.osx TODO NEWS libdbi.spec.in config.h.in Makefile.w32 autogen.sh drivers/example/AUTHORS drivers/example/Makefile.am drivers/example/README drivers/example/TODO drivers/example/.cvsignore drivers/example/dbd_example.c drivers/example/dbd_example.h drivers/example/dbd_example.sgml
- all: config.h
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
+*** Makefile.in.orig Sun May 19 23:08:33 2013
+--- Makefile.in Sun May 19 23:08:47 2013
+***************
+*** 291,297 ****
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign dist-zip
+ ACLOCAL_AMFLAGS = -I m4
+! SUBDIRS = src include @docs_subdirs@
+ EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README README.win32 README.osx TODO NEWS UPGRADING libdbi.spec.in config.h.in Makefile.w32 autogen.sh drivers/example/AUTHORS drivers/example/Makefile.am drivers/example/README drivers/example/TODO drivers/example/.cvsignore drivers/example/dbd_example.c drivers/example/dbd_example.h drivers/example/dbd_example.sgml
+
+ # we use exec here to install the .pc file with the library, not with
+--- 291,297 ----
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = foreign dist-zip
+ ACLOCAL_AMFLAGS = -I m4
+! SUBDIRS = src include
+ EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README README.win32 README.osx TODO NEWS UPGRADING libdbi.spec.in config.h.in Makefile.w32 autogen.sh drivers/example/AUTHORS drivers/example/Makefile.am drivers/example/README drivers/example/TODO drivers/example/.cvsignore drivers/example/dbd_example.c drivers/example/dbd_example.h drivers/example/dbd_example.sgml
+
+ # we use exec here to install the .pc file with the library, not with
diff -ruN libdbi.orig/files/patch-src__dbi_result.c libdbi/files/patch-src__dbi_result.c
--- libdbi.orig/files/patch-src__dbi_result.c 1969-12-31 18:00:00.000000000 -0600
+++ libdbi/files/patch-src__dbi_result.c 2013-05-20 00:34:05.000000000 -0500
@@ -0,0 +1,25 @@
+*** ./src/dbi_result.c.orig Mon May 20 00:19:40 2013
+--- ./src/dbi_result.c Mon May 20 00:20:19 2013
+***************
+*** 1470,1479 ****
+ switch (RESULT->field_attribs[fieldidx] & DBI_INTEGER_SIZEMASK) {
+ case DBI_INTEGER_SIZE1:
+ if (RESULT->field_attribs[fieldidx] & DBI_INTEGER_UNSIGNED) {
+! snprintf(newstring, 32, "%hu", RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_char);
+ }
+ else {
+! snprintf(newstring, 32, "%hd", RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_char);
+ }
+ break;
+ case DBI_INTEGER_SIZE2:
+--- 1470,1479 ----
+ switch (RESULT->field_attribs[fieldidx] & DBI_INTEGER_SIZEMASK) {
+ case DBI_INTEGER_SIZE1:
+ if (RESULT->field_attribs[fieldidx] & DBI_INTEGER_UNSIGNED) {
+! snprintf(newstring, 32, "%hhu", RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_char);
+ }
+ else {
+! snprintf(newstring, 32, "%hhd", RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_char);
+ }
+ break;
+ case DBI_INTEGER_SIZE2:
diff -ruN libdbi.orig/pkg-plist libdbi/pkg-plist
--- libdbi.orig/pkg-plist 2013-05-19 22:58:06.000000000 -0500
+++ libdbi/pkg-plist 2013-05-19 23:55:21.000000000 -0500
@@ -5,24 +5,27 @@
lib/libdbi.a
lib/libdbi.la
lib/libdbi.so
-lib/libdbi.so.1
+lib/libdbi.so.2
%%PORTDOCS%%%%DOCSDIR%%/driver-guide.pdf
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/contact.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/copying-fdl.html
+%%PORTDOCS%%%%DOCSDIR%%/driver-guide/databasedirectories.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/description.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/drivercaps.html
+%%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverdata.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverfuncs-dbquery.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverfuncs-infrastructure.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverfuncs-publicdbquery.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverfuncs.html
+%%PORTDOCS%%%%DOCSDIR%%/driver-guide/driverinfrastructure.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/gnugpl.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/helperfuncs.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/index.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/intro.html
-%%PORTDOCS%%%%DOCSDIR%%/driver-guide/requireddrivercaps.html
-%%PORTDOCS%%%%DOCSDIR%%/driver-guide/settingdrivercaps.html
%%PORTDOCS%%%%DOCSDIR%%/driver-guide/terminology.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide.pdf
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/addtoproject.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/buildinstall.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/connerrors.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/contact.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/copying-fdl.html
@@ -32,6 +35,9 @@
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/gnugpl.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/index.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/intro.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/libdbi-and-drivers-versions.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/loadinglibdbi.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/package-library-version.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/quickstart-code.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/quickstart-debriefing.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/quickstart.html
@@ -45,9 +51,13 @@
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference-query.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference-results.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/reference.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/savepoints.html
%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/terminology.html
-%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/x267.html
-%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/x276.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/threads.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/transactions.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/transactions-savepoints.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/version-at-runtime.html
+%%PORTDOCS%%%%DOCSDIR%%/programmers-guide/versioning.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/programmers-guide
%%PORTDOCS%%@dirrm %%DOCSDIR%%/driver-guide
%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list