diff options
-rw-r--r-- | graphics/sane-backends/patches/patch-ab | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/graphics/sane-backends/patches/patch-ab b/graphics/sane-backends/patches/patch-ab new file mode 100644 index 00000000000..a343b416abc --- /dev/null +++ b/graphics/sane-backends/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.8 2006/01/12 13:08:21 joerg Exp $ + +--- configure.orig 2006-01-12 00:55:20.000000000 +0000 ++++ configure +@@ -6145,13 +6145,13 @@ if test `eval echo '${'$as_ac_Header'}'` + _ACEOF + + +-echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 +-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5 ++echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6 + if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lpthread $LIBS" ++LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -6213,7 +6213,7 @@ if test $ac_cv_lib_pthread_pthread_creat + #define HAVE_LIBPTHREAD 1 + _ACEOF + +- LIBS="-lpthread $LIBS" ++ LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS" + + fi + |