diff options
Diffstat (limited to 'x11/libxshmfence/files/patch-configure')
-rw-r--r-- | x11/libxshmfence/files/patch-configure | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/x11/libxshmfence/files/patch-configure b/x11/libxshmfence/files/patch-configure new file mode 100644 index 0000000..16697e3 --- /dev/null +++ b/x11/libxshmfence/files/patch-configure @@ -0,0 +1,30 @@ +--- configure 2013-11-27 00:54:35.000000000 -0500 ++++ configure 2013-12-05 16:30:53.000000000 -0500 +@@ -17633,11 +17633,27 @@ + ac_fn_c_check_header_mongrel "$LINENO" "linux/futex.h" "ac_cv_header_linux_futex_h" "$ac_includes_default" + if test "x$ac_cv_header_linux_futex_h" = xyes; then : + FUTEX=yes ++fi ++ ++ ++fi ++ ++if test "x$FUTEX" = "xauto"; then ++ ac_fn_c_check_header_compile "$LINENO" "sys/umtx.h" "ac_cv_header_sys_umtx_h" "#include <errno.h> ++ #include <sys/types.h> ++" ++if test "x$ac_cv_header_sys_umtx_h" = xyes; then : ++ FUTEX=yes + else + FUTEX=no + fi + + ++ if test "x$FUTEX" = "xyes"; then ++ ++$as_echo "#define HAVE_UMTX 1" >>confdefs.h ++ ++ fi + fi + + if test "x$FUTEX" = "xyes"; then |