Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 20:21:58 +0200
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        Thomas Zander <thomas.e.zander@googlemail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: CFT: New mplayer / mencoder snapshot
Message-ID:  <20120723182158.GA64413@lorvorc.mips.inka.de>
In-Reply-To: <CAFU734zM=PtEHuGOYubukqegA%2B-2KXKWonoophA3Frq7FpNe4A@mail.gmail.com>
References:  <CAFU734zM=PtEHuGOYubukqegA%2B-2KXKWonoophA3Frq7FpNe4A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Thomas Zander:

> if you are a regular mplayer / mencoder user, you are invited to test
> a new snapshot from 2012-07-21.
> 
> The drop-in replacements for the ports files for both can be found here:
> http://bsdistfiles.googlecode.com/files/m20120722.tar.bz2

Doesn't build on 7-STABLE.

extra-patch-base_system_log2f doesn't apply and needs to be regenerated
(attached).

However, the build still fails:

CC      libavcodec/h264_cabac.o
{standard input}: Assembler messages:
{standard input}:22: Error: `(%ebx,%ebp,2)' is not a valid 64 bit base/index expression
{standard input}:47: Error: `-1(%edx)' is not a valid 64 bit base/index expression
[...]

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=extra-patch-base_system_log2f

--- configure.orig	2012-07-23 01:48:06.000000000 +0200
+++ configure	2012-07-23 01:49:12.000000000 +0200
@@ -3131,7 +3131,7 @@
 echores "$_kstat"
 
 
-for func in cbrtf exp2 exp2f isnan isinf llrint llrintf log2 log2f lrint lrintf rint round roundf trunc truncf; do
+for func in cbrtf exp2 exp2f isnan isinf llrint llrintf lrint lrintf rint round roundf trunc truncf; do
 echocheck $func
 eval _$func=no
 statement_check math.h "${func}(2.0)" -D_ISOC99_SOURCE && eval _$func=yes
@@ -3143,7 +3143,9 @@
   echores no
 fi
 done
-
+for func in log2 log2f; do
+  eval def_$func="\"#define HAVE_$(echo $func | tr '[a-z]' '[A-Z]') 0\""
+done
 
 echocheck "mkstemp"
 _mkstemp=no

--k1lZvvs/B4yU6o8G--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120723182158.GA64413>