c1b4b1571b
Remove unnecessary patches. Report other patches upstream and add bug report URL. Changes: xine-ui (0.99.8) * Fixed opening file using menus * Fixed exit on panel close * Fixed deadlocks * Fixed segfault at exit * Fixed keymap editor deadlock
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
$NetBSD: patch-ab,v 1.6 2014/05/07 18:44:28 wiz Exp $
|
|
|
|
Pass in pthread flags from pkgsrc.
|
|
|
|
--- configure.orig 2012-06-09 18:14:37.000000000 +0000
|
|
+++ configure
|
|
@@ -8371,13 +8371,13 @@ case "$host" in
|
|
;;
|
|
|
|
*)
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
|
|
-$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
|
|
+$as_echo_n "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... " >&6; }
|
|
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lpthread $LIBS"
|
|
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -8408,7 +8408,7 @@ fi
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
|
|
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
|
|
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
|
|
- THREAD_LIBS="-lpthread"
|
|
+ THREAD_LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
|
|
else
|
|
as_fn_error $? "pthread needed" "$LINENO" 5
|
|
fi
|