libtalloc: update to 2.3.4
[feed/packages.git] / libs / libtalloc / patches / 100-Remove_libbsd_dependency_check.patch
index 4fe2c6630187242c0fa3821b96f449de40c354b2..3478c58780d658f8efcc9c49e32a69fb62d8bfb7 100644 (file)
@@ -1,6 +1,6 @@
 --- a/lib/replace/wscript
 +++ b/lib/replace/wscript
-@@ -416,22 +416,13 @@ def configure(conf):
+@@ -429,22 +429,13 @@ def configure(conf):
  
      conf.CHECK_FUNCS('prctl dirname basename')
  
@@ -29,7 +29,7 @@
  
      conf.CHECK_CODE('''
                  struct ucred cred;
-@@ -808,9 +799,6 @@ def configure(conf):
+@@ -827,9 +818,6 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL
  
      # look for a method of finding the list of network interfaces
      for method in ['HAVE_IFACE_GETIFADDRS', 'HAVE_IFACE_AIX', 'HAVE_IFACE_IFCONF', 'HAVE_IFACE_IFREQ']:
@@ -39,7 +39,7 @@
          if conf.CHECK_CODE('''
                             #define %s 1
                             #define NO_CONFIG_H 1
-@@ -823,7 +811,7 @@ def configure(conf):
+@@ -842,7 +830,7 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL
                             #include "tests/getifaddrs.c"
                             ''' % method,
                             method,
@@ -48,7 +48,7 @@
                             addmain=False,
                             execute=True):
              break
-@@ -871,7 +859,6 @@ def build(bld):
+@@ -890,7 +878,6 @@ def build(bld):
                  break
  
      extra_libs = ''