summaryrefslogtreecommitdiff
path: root/databases/gdbm
diff options
context:
space:
mode:
Diffstat (limited to 'databases/gdbm')
-rw-r--r--databases/gdbm/Makefile2
-rw-r--r--databases/gdbm/distinfo6
-rw-r--r--databases/gdbm/files/patch-src_lock.c35
3 files changed, 4 insertions, 39 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile
index 0007fb121277..c61e5ef3e89a 100644
--- a/databases/gdbm/Makefile
+++ b/databases/gdbm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gdbm
-PORTVERSION= 1.25
+PORTVERSION= 1.26
CATEGORIES= databases
MASTER_SITES= GNU
diff --git a/databases/gdbm/distinfo b/databases/gdbm/distinfo
index 6d80f4341c96..39bb689d0435 100644
--- a/databases/gdbm/distinfo
+++ b/databases/gdbm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1742653915
-SHA256 (gdbm-1.25.tar.gz) = d02db3c5926ed877f8817b81cd1f92f53ef74ca8c6db543fbba0271b34f393ec
-SIZE (gdbm-1.25.tar.gz) = 1224180
+TIMESTAMP = 1753870817
+SHA256 (gdbm-1.26.tar.gz) = 6a24504a14de4a744103dcb936be976df6fbe88ccff26065e54c1c47946f4a5e
+SIZE (gdbm-1.26.tar.gz) = 1226591
diff --git a/databases/gdbm/files/patch-src_lock.c b/databases/gdbm/files/patch-src_lock.c
deleted file mode 100644
index 65913f3d5b7c..000000000000
--- a/databases/gdbm/files/patch-src_lock.c
+++ /dev/null
@@ -1,35 +0,0 @@
---- src/lock.c.orig 2025-03-06 16:24:09 UTC
-+++ src/lock.c
-@@ -73,15 +73,10 @@ try_lock_flock (GDBM_FILE dbf, int nb)
- {
- return TRY_LOCK_OK;
- }
-- else if (errno == EWOULDBLOCK)
-+ else if (errno == EWOULDBLOCK || errno == EINTR)
- {
- return TRY_LOCK_FAIL;
- }
-- else if (errno == EINTR)
-- {
-- errno = ETIME;
-- return TRY_LOCK_FAIL;
-- }
- #endif
- return TRY_LOCK_NEXT;
- }
-@@ -116,7 +111,6 @@ try_lock_lockf (GDBM_FILE dbf, int nb)
- switch (errno)
- {
- case EINTR:
-- errno = ETIME;
- case EACCES:
- case EAGAIN:
- case EDEADLK:
-@@ -162,7 +156,6 @@ try_lock_fcntl (GDBM_FILE dbf, int nb)
- switch (errno)
- {
- case EINTR:
-- errno = ETIME;
- case EACCES:
- case EAGAIN:
- case EDEADLK: