--- xorgbase-250128.old/lib/libICE/configure.ac +++ xorgbase-250128/lib/libICE/configure.ac @@ -35,17 +35,6 @@ # Checks for typedefs, structures, and compiler characteristics. AC_SYS_LARGEFILE -# Checks for non-standard functions and fallback to libbsd if we can -# We only check for arc4random_buf, because if we have that, we don't -# need/use getentropy. -AC_LINK_IFELSE([AC_LANG_CALL([], [arc4random_buf])], - [TRY_LIBBSD="no"], [TRY_LIBBSD="yes"]) -AS_IF([test "x$TRY_LIBBSD" = "xyes"], - [PKG_CHECK_MODULES([LIBBSD], [libbsd-overlay], [ - CFLAGS="$CFLAGS $LIBBSD_CFLAGS" - LIBS="$LIBS $LIBBSD_LIBS" -], [:])]) - # Checks for library functions. AC_CHECK_FUNCS([asprintf arc4random_buf getentropy]) --- xorgbase-250128.old/lib/libXdmcp/configure.ac +++ xorgbase-250128/lib/libXdmcp/configure.ac @@ -66,17 +66,6 @@ ;; esac -# Checks for non-standard functions and fallback to libbsd if we can -# We only check for arc4random_buf, because if we have that, we don't -# need/use getentropy. -AC_LINK_IFELSE([AC_LANG_CALL([], [arc4random_buf])], - [TRY_LIBBSD="no"], [TRY_LIBBSD="yes"]) -AS_IF([test "x$TRY_LIBBSD" = "xyes"], - [PKG_CHECK_MODULES([LIBBSD], [libbsd-overlay], [ - CFLAGS="$CFLAGS $LIBBSD_CFLAGS" - LIBS="$LIBS $LIBBSD_LIBS" -], [:])]) - # Checks for library functions. AC_CHECK_FUNCS([srand48 lrand48 arc4random_buf getentropy]) --- xorgbase-250128.old/lib/libXfont/configure.ac +++ xorgbase-250128/lib/libXfont/configure.ac @@ -50,17 +50,6 @@ # Checks for header files. AC_CHECK_HEADERS([endian.h poll.h sys/poll.h]) -# Checks for non-standard functions and fallback to libbsd if we can -AC_LINK_IFELSE([AC_LANG_CALL([], [reallocarray])], - [TRY_LIBBSD="no"], [TRY_LIBBSD="yes"]) -AC_LINK_IFELSE([AC_LANG_CALL([], [strlcat])], - [TRY_LIBBSD="no"], [TRY_LIBBSD="yes"]) -AS_IF([test "x$TRY_LIBBSD" = "xyes"], - [PKG_CHECK_MODULES([LIBBSD], [libbsd-overlay], [ - CFLAGS="$CFLAGS $LIBBSD_CFLAGS" - LIBS="$LIBS $LIBBSD_LIBS" -], [:])]) - # Checks for library functions. AC_CHECK_FUNCS([poll readlink strlcat]) AC_CONFIG_LIBOBJ_DIR([src/util]) --- xorgbase-250128.old/mesa/mesa/src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp +++ xorgbase-250128/mesa/mesa/src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp @@ -32,6 +32,7 @@ #include #include +#include #include #include