[gdbm] Update to 1.26 (#53706)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
SunBlack 2026-08-31 16:34:57 +02:00 committed by GitHub
parent 5295a5c32d
commit 92db1b8793
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 29 additions and 7 deletions

View File

@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index d7458e6..18fae46 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,7 +122,7 @@ AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_mtim, struct stat.st_mt
AM_CONDITIONAL([COMPAT_OPT], [test "$want_compat" = yes])
# Check for Curses libs.
-for lib in ncurses curses termcap
+for lib in ncursesw ncurses curses termcap
do
AC_CHECK_LIB($lib, tputs, [CURSES_LIBS="-l$lib"; break])
done

View File

@ -3,12 +3,14 @@ vcpkg_download_distfile(ARCHIVE
"https://ftp.gnu.org/gnu/gdbm/gdbm-${VERSION}.tar.gz" "https://ftp.gnu.org/gnu/gdbm/gdbm-${VERSION}.tar.gz"
"https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gdbm/gdbm-${VERSION}.tar.gz" "https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/gdbm/gdbm-${VERSION}.tar.gz"
FILENAME "gdbm-${VERSION}.tar.gz" FILENAME "gdbm-${VERSION}.tar.gz"
SHA512 401ff8c707079f21da1ac1d6f4714a87f224b6f41943078487dc891be49f51fd1ac7a32fd599aae0fad185f2c6ba7432616d328fd6aaab068eb54db9562ff7fa SHA512 44aafe254f0950a8f5215d8f1337674f07b19f2a375f6eb19a7e39690028c80c3774b705c2b76b470ae74042b21f2ca77d02f6f57aa2ee50296db801220a3352
) )
vcpkg_extract_source_archive( vcpkg_extract_source_archive(
SOURCE_PATH SOURCE_PATH
ARCHIVE "${ARCHIVE}" ARCHIVE "${ARCHIVE}"
PATCHES
fix-readline-linkage.patch
) )
vcpkg_list(SET options) vcpkg_list(SET options)

View File

@ -1,12 +1,15 @@
{ {
"name": "gdbm", "name": "gdbm",
"version": "1.24", "version": "1.26",
"port-version": 1,
"description": "GDBM is a library of database functions that use extensible hashing and works similar to the standard UNIX dbm.", "description": "GDBM is a library of database functions that use extensible hashing and works similar to the standard UNIX dbm.",
"homepage": "https://www.gnu.org.ua/software/gdbm/gdbm.html", "homepage": "https://www.gnu.org.ua/software/gdbm/gdbm.html",
"license": "GPL-3.0-only", "license": "GPL-3.0-or-later",
"supports": "linux", "supports": "linux",
"dependencies": [ "dependencies": [
{
"name": "gettext",
"host": true
},
{ {
"name": "vcpkg-make", "name": "vcpkg-make",
"host": true "host": true

View File

@ -347,7 +347,6 @@ gdal[arrow,parquet](!(arm64 | x64))=cascade
gdal[aws-ec2-windows](!windows)=cascade gdal[aws-ec2-windows](!windows)=cascade
gdal[iconv]:arm64-linux=feature-fails gdal[iconv]:arm64-linux=feature-fails
gdal[libxml2]:arm64-linux=feature-fails gdal[libxml2]:arm64-linux=feature-fails
gdbm[readline]:arm64-linux=feature-fails
gdk-pixbuf[introspection]:arm64-windows=skip # needs arm64 host gdk-pixbuf[introspection]:arm64-windows=skip # needs arm64 host
gegl:arm64-osx=fail # meson bug on osx. See https://github.com/microsoft/vcpkg/issues/44411 gegl:arm64-osx=fail # meson bug on osx. See https://github.com/microsoft/vcpkg/issues/44411
geogram:arm64-linux=fail # Could NOT find Threads (missing: Threads_FOUND) geogram:arm64-linux=fail # Could NOT find Threads (missing: Threads_FOUND)

View File

@ -3361,8 +3361,8 @@
"port-version": 2 "port-version": 2
}, },
"gdbm": { "gdbm": {
"baseline": "1.24", "baseline": "1.26",
"port-version": 1 "port-version": 0
}, },
"gdcm": { "gdcm": {
"baseline": "3.2.7", "baseline": "3.2.7",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "cbfb96824b599a83049117f7a9e6de4e99d43dfc",
"version": "1.26",
"port-version": 0
},
{ {
"git-tree": "e0402af6ea114205282de7f19abbb88f45bc5bc0", "git-tree": "e0402af6ea114205282de7f19abbb88f45bc5bc0",
"version": "1.24", "version": "1.24",