File tree Expand file tree Collapse file tree 4 files changed +25
-6
lines changed Expand file tree Collapse file tree 4 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 1077
1077
" gdbm"
1078
1078
],
1079
1079
"versions" : [
1080
+ " 1.26-1" ,
1080
1081
" 1.24-1" ,
1081
1082
" 1.23-2" ,
1082
1083
" 1.23-1" ,
Original file line number Diff line number Diff line change 1
1
[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
6
6
patch_directory = gdbm
7
7
8
8
[provide]
Original file line number Diff line number Diff line change 112
112
/* Define to 1 if you have the <sys/types.h> header file. */
113
113
#mesondefine HAVE_SYS_TYPES_H
114
114
115
+ /* Define to 1 if you have the `timer_settime' function. */
116
+ #mesondefine HAVE_TIMER_SETTIME
117
+
115
118
/* Define to 1 if you have the <unistd.h> header file. */
116
119
#mesondefine HAVE_UNISTD_H
117
120
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'. */
119
122
#mesondefine HAVE_UNSIGNED_LONG_LONG_INT
120
123
121
124
/* Define to the sub-directory where libtool stores uninstalled libraries. */
Original file line number Diff line number Diff line change 1
1
project (
2
2
' gdbm' ,
3
3
' c' ,
4
- version : ' 1.24 ' ,
4
+ version : ' 1.26 ' ,
5
5
license : ' GPL-3.0-or-later' ,
6
6
meson_version : ' >=0.49.0' ,
7
7
)
@@ -106,6 +106,7 @@ functions = {
106
106
' gettext' : intl_dep,
107
107
' lockf' : [],
108
108
' setlocale' : [],
109
+ ' timer_settime' : [],
109
110
}
110
111
111
112
if get_option (' mmap' )
@@ -124,6 +125,20 @@ foreach f, d : functions
124
125
endif
125
126
endforeach
126
127
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
+
127
142
configure_file (
128
143
input : ' autoconf.h.meson' ,
129
144
output : ' autoconf.h' ,
You can’t perform that action at this time.
0 commit comments