freebsd-ports/graphics/sane-backends/files/patch-configure

30 lines
853 B
Plaintext

--- configure.orig 2024-05-23 05:45:25 UTC
+++ configure
@@ -22074,7 +22074,7 @@ $as_echo_n "checking whether pthread_t is integer... "
int
main ()
{
-pthread_t k; k * 1;
+pthread_t k; k = (pthread_t) -1;
;
return 0;
}
@@ -26203,7 +26203,7 @@ for be in ${BACKENDS}; do
;;
v4l)
- if test "${have_linux_ioctl_defines}" != "yes" \
+ if test "${have_libv4l1}" != "yes" \
|| test "${have_libv4l1}" != "yes"; then
echo "*** $be backend requires v4l libraries - $DISABLE_MSG"
backend_supported="no"
@@ -26417,7 +26417,7 @@ for be in ${BACKENDS}; do
;;
v4l)
- if test "${have_linux_ioctl_defines}" != "yes" \
+ if test "${have_libv4l1}" != "yes" \
|| test "${have_libv4l1}" != "yes"; then
echo "*** $be backend requires v4l libraries - $DISABLE_MSG"
backend_supported="no"