<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6934ced2ed4ebe477ee93c27d0deab71444f7bb9">https://github.com/macports/macports-ports/commit/6934ced2ed4ebe477ee93c27d0deab71444f7bb9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6934ced2ed4ebe477ee93c27d0deab71444f7bb9
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Mon Oct 23 17:04:50 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> libdbi: update to 0.9.0
</span>---
databases/libdbi/Portfile | 31 ++++++++++++++++---------------
databases/libdbi/files/cflags.patch | 25 -------------------------
databases/libdbi/files/endian.patch | 33 ---------------------------------
3 files changed, 16 insertions(+), 73 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/libdbi/Portfile b/databases/libdbi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3ded8a3890e..bc9e9b5a5a0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/libdbi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/libdbi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,26 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> PortSystem 1.0
name libdbi
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.8.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.9.0
</span> categories databases devel
license LGPL-2.1+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {umich.edu:mta @mtalexander}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {umich.edu:mta @mtalexander} openmaintainer
</span> description Database independent abstraction layer for C
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description $description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://libdbi.sourceforge.net/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://libdbi.sourceforge.net
</span> master_sites sourceforge
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 c5f15407ef7b07ba854cd8c9b15b88ff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 e86977d75150dde10c82ddb6193b9d4eb677d7ad \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 0673c78a1411638db768b633d1df709da55779d0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 29cbfa6dd31f9b9dc4919db8d594e94942c2b310 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1194284
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles endian.patch cflags.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-docs
</span>
platform darwin arm {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:automake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake
</span>
post-patch {
# Use newer config.guess and config.sub to support Apple Silicon.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,11 +33,11 @@ platform darwin arm {
</span> }
variant docs description "Build the documentation" {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-docs
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build port:openjade
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build port:openjade
</span> }
variant debug description "Build with debugger symbols" {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- build.target debug
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target debug
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/libdbi/files/cflags.patch b/databases/libdbi/files/cflags.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 7ac4ae8add9..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/libdbi/files/cflags.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,25 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig 2010-09-01 09:22:52.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure 2012-07-30 19:07:34.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -11203,16 +11203,16 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case $host in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *-*-linux*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99";;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS+=" -O4 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PROFILE="-pg -g -O4 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99";;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sparc-sun-*)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS+=" -O4 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PROFILE="-pg -g -O4 -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- *)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char -std=gnu99" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ CFLAGS+=" -O4 -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ PROFILE="-O4 -g -pg -D__NO_MATH_INLINES -fsigned-char -std=gnu99" ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- esac
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/libdbi/files/endian.patch b/databases/libdbi/files/endian.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index ac65cc795aa..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/libdbi/files/endian.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,33 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- old/dbi_result.c 2009-05-21 19:07:09.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/dbi_result.c 2009-05-23 00:25:42.000000000 -0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -891,6 +891,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- switch (RESULT->field_attribs[fieldidx] & DBI_INTEGER_SIZEMASK) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE1:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_char;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE2:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_short;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE3:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -947,7 +948,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- switch (RESULT->field_attribs[fieldidx] & DBI_INTEGER_SIZEMASK) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE1:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_char;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE2:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_short;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE3:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE4:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_long;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -995,9 +998,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- switch (RESULT->field_attribs[fieldidx] & DBI_INTEGER_SIZEMASK) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE1:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_char;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE2:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_short;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE3:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE4:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_long;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- case DBI_INTEGER_SIZE8:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return RESULT->rows[RESULT->currowidx]->field_values[fieldidx].d_longlong;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default:
</span></pre><pre style='margin:0'>
</pre>