diff options
author | Chris Rees <crees@FreeBSD.org> | 2012-10-24 16:32:17 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2012-10-24 16:32:17 +0000 |
commit | e60f4e63a51818bc5268d4d508ff180070b4731f (patch) | |
tree | aaabd96a25061773bbc6f4b525e6d74b65344273 /multimedia/mplayer2/files/patch-configure | |
parent | - Update to 0.4.0 (diff) |
MPlayer2 is an advanced general-purpose video player.
A fork of the original MPlayer project, it contains significant further
development and supports a number of features not available
in other Unix players.
WWW: http://www.mplayer2.org/
PR: ports/163438
Submitted by: Grzegorz Blach <magik@roorback.net>
Feature safe: yes
Diffstat (limited to 'multimedia/mplayer2/files/patch-configure')
-rw-r--r-- | multimedia/mplayer2/files/patch-configure | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/mplayer2/files/patch-configure b/multimedia/mplayer2/files/patch-configure new file mode 100644 index 000000000000..296e732fed79 --- /dev/null +++ b/multimedia/mplayer2/files/patch-configure @@ -0,0 +1,29 @@ +--- configure.orig 2012-05-12 01:08:28.473233004 -0500 ++++ configure 2012-05-12 01:10:33.294799627 -0500 +@@ -3111,7 +3111,7 @@ echocheck "pthread" + if linux ; then + THREAD_CFLAGS=-D_REENTRANT + elif freebsd || netbsd || openbsd || bsdos ; then +- THREAD_CFLAGS=-D_THREAD_SAFE ++ THREAD_CFLAGS=${PTHREAD_CFLAGS} + fi + if test "$_pthreads" = auto ; then + cat > $TMPC << EOF +@@ -3128,7 +3128,7 @@ int main(void) { + EOF + _pthreads=no + if ! hpux ; then +- for _ld_tmp in "-lpthreadGC2" "" "-lpthread" "-pthread" ; do ++ for _ld_tmp in ${PTHREAD_LIBS} ; do + # for crosscompilation, we cannot execute the program, be happy if we can link statically + cc_check $THREAD_CFLAGS $_ld_tmp && (tmp_run || test "$_ld_static") && _ld_pthread="$_ld_tmp" && _pthreads=yes && break + done +@@ -6340,7 +6340,7 @@ TIMER = $_timer + EXESUF = $_exesuf + EXESUFS_ALL = .exe + +-ARCH = $arch ++MPLAYER_ARCH = $arch + $(mak_enable "$arch_all" "$arch" ARCH) + $(mak_enable "$subarch_all" "$subarch" ARCH) + $(mak_enable "$cpuexts_all" "$cpuexts" HAVE) |