openbsd-ports/x11/xawtv/patches/patch-configure
jakemsr 17fa2fb91c - ioctl commands are of type unsigned long, not int
- fill in missing ioctls xawtv might use in xioctl()
- link libossaudio into lib/xawtv/snd-oss.so
- install bin/record and bin/pia, since they are now working*
- sync patches a'la update-patches

*still a possible issue with SNDCTL_DSP_GETISPACE which should be
 fixed soon

"if it works please go ahead" robert@ (MAINTAINER)
2007-09-28 08:24:42 +00:00

39 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.2 2007/09/28 08:24:42 jakemsr Exp $
--- configure.orig Wed Aug 18 08:48:30 2004
+++ configure Thu Sep 27 15:37:48 2007
@@ -3704,13 +3704,13 @@ else
echo "${ECHO_T}no" >&6
fi
-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" >&5
+echo $ECHO_N "checking for pthread_create in -pthread... $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 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -3768,7 +3768,7 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
if test $ac_cv_lib_pthread_pthread_create = yes; then
- LIBPTHREAD="-lpthread"
+ LIBPTHREAD="-pthread"
fi
if test "$LIBPTHREAD" = ""; then
@@ -5772,7 +5772,7 @@ if test $ac_cv_lib_zvbi_vbi_capture_fd = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_ZVBI 1
_ACEOF
- FOUND_ZVBI="yes"; LIBZVBI="-lzvbi -lpthread -lm -lpng -lz"
+ FOUND_ZVBI="yes"; LIBZVBI="-lzvbi -pthread -lm -lpng -lz"
fi
else