ports/graphics/sane-backends/files/patch-configure
Vladimir Druzenko 0323c207f6 graphics/sane-backends: update to 1.3.1
New with 1.3.1 (released 2024-05-22):
https://gitlab.com/sane-project/backends/-/releases/1.3.1

While here update patches with makepatch (portlint warning).
2024-05-24 19:29:07 +03:00

29 lines
853 B
Text

--- 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"