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 10771077      " gdbm" 
10781078    ],
10791079    "versions" : [
1080+       " 1.26-1"  ,
10801081      " 1.24-1"  ,
10811082      " 1.23-2"  ,
10821083      " 1.23-1"  ,
Original file line number Diff line number Diff line change 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 
66patch_directory = gdbm
77
88[provide]
Original file line number Diff line number Diff line change 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. */
Original file line number Diff line number Diff line change 11project (
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
111112if  get_option (' mmap'  )
@@ -124,6 +125,20 @@ foreach f, d : functions
124125  endif 
125126endforeach 
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+ 
127142configure_file (
128143  input : ' autoconf.h.meson'  ,
129144  output : ' autoconf.h'  ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments