aboutsummaryrefslogblamecommitdiffstats
path: root/community/gdal/20-userfaultfd-detection.patch
blob: e3940866b016a798e088e90570af2c53b354e7e9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                            


                        
     

 















                                                                                                                         


                     
Author: Holger Jaekel <holger.jaekel@gmx.de>
Summary: userfaultfd is disabled in musl
----

--- a/configure
+++ b/configure
@@ -20573,21 +20573,7 @@
 done
 
 
-for ac_header in linux/userfaultfd.h
-do :
-  ac_fn_c_check_header_mongrel "$LINENO" "linux/userfaultfd.h" "ac_cv_header_linux_userfaultfd_h" "$ac_includes_default"
-if test "x$ac_cv_header_linux_userfaultfd_h" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LINUX_USERFAULTFD_H 1
-_ACEOF
- ENABLE_UFFD="yes"
-else
-  ENABLE_UFFD="no"
-fi
-
-done
-
-ENABLE_UFFD=$ENABLE_UFFD
+ENABLE_UFFD="no"
 
 
 case "${host_os}" in