Skip to content

Commit 4f99a88

Browse files
committed
gdbm: update to 1.26
1 parent 149072b commit 4f99a88

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

releases.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,7 @@
10771077
"gdbm"
10781078
],
10791079
"versions": [
1080+
"1.26-1",
10801081
"1.24-1",
10811082
"1.23-2",
10821083
"1.23-1",

subprojects/gdbm.wrap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[wrap-file]
2-
directory = gdbm-1.24
3-
source_url = https://ftp.gnu.org/gnu/gdbm/gdbm-1.24.tar.gz
4-
source_filename = gdbm-1.24.tar.gz
5-
source_hash = 695e9827fdf763513f133910bc7e6cfdb9187943a4fec943e57449723d2b8dbf
2+
directory = gdbm-1.26
3+
source_url = https://ftp.gnu.org/gnu/gdbm/gdbm-1.26.tar.gz
4+
source_filename = gdbm-1.26.tar.gz
5+
source_hash = 6a24504a14de4a744103dcb936be976df6fbe88ccff26065e54c1c47946f4a5e
66
patch_directory = gdbm
77

88
[provide]

subprojects/packagefiles/gdbm/autoconf.h.meson

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,13 @@
112112
/* Define to 1 if you have the <sys/types.h> header file. */
113113
#mesondefine HAVE_SYS_TYPES_H
114114

115+
/* Define to 1 if you have the `timer_settime' function. */
116+
#mesondefine HAVE_TIMER_SETTIME
117+
115118
/* Define to 1 if you have the <unistd.h> header file. */
116119
#mesondefine HAVE_UNISTD_H
117120

118-
/* Define to 1 if the system has the type `unsigned long long int'. */
121+
/* Define to 1 if the system has the type 'unsigned long long int'. */
119122
#mesondefine HAVE_UNSIGNED_LONG_LONG_INT
120123

121124
/* Define to the sub-directory where libtool stores uninstalled libraries. */

subprojects/packagefiles/gdbm/meson.build

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'gdbm',
33
'c',
4-
version: '1.24',
4+
version: '1.26',
55
license: 'GPL-3.0-or-later',
66
meson_version: '>=0.49.0',
77
)
@@ -106,6 +106,7 @@ functions = {
106106
'gettext': intl_dep,
107107
'lockf': [],
108108
'setlocale': [],
109+
'timer_settime': [],
109110
}
110111

111112
if get_option('mmap')
@@ -124,6 +125,20 @@ foreach f, d : functions
124125
endif
125126
endforeach
126127

128+
if not conf.has('HAVE_TIMER_SETTIME')
129+
rt = cc.find_library(
130+
'rt',
131+
required: false,
132+
)
133+
if rt.found() and cc.has_function(
134+
'timer_settime',
135+
dependencies: rt,
136+
)
137+
conf.set('HAVE_TIMER_SETTIME', 1)
138+
deps += rt
139+
endif
140+
endif
141+
127142
configure_file(
128143
input: 'autoconf.h.meson',
129144
output: 'autoconf.h',

0 commit comments

Comments
 (0)