From owner-freebsd-ports@FreeBSD.ORG Mon Dec 19 23:43:17 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 872611065691 for ; Mon, 19 Dec 2011 23:43:17 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1CD358FC0C for ; Mon, 19 Dec 2011 23:43:16 +0000 (UTC) Received: by eekc50 with SMTP id c50so6973283eek.13 for ; Mon, 19 Dec 2011 15:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5I9FtliNL2mzKomwfQywWSwepWhN6nXZnKwspZPap0g=; b=IwHmE6naMEUJm9f99tCr0BCmZndTnEW8K2IYLBfvR9qCEIoPuescVJkLNdtf7NDv6o G6kNp25d4PZylEfozOwuPTloYwSzcSQ1Q2VXApiyAid2Iqq+X3sre3b9jlWb2PU/anlt ciJNRO493MwGZkq+Z1Dkzwfso44XllKVPLpbM= MIME-Version: 1.0 Received: by 10.213.20.129 with SMTP id f1mr3043012ebb.36.1324338195921; Mon, 19 Dec 2011 15:43:15 -0800 (PST) Received: by 10.14.47.134 with HTTP; Mon, 19 Dec 2011 15:43:15 -0800 (PST) In-Reply-To: References: Date: Mon, 19 Dec 2011 17:43:15 -0600 Message-ID: From: Zhihao Yuan To: Thomas Zander Content-Type: text/plain; charset=UTF-8 Cc: multimedia@freebsd.org, FreeBSD - Ports Subject: Re: CFT: mplayer and mencoder updates X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 23:43:17 -0000 Hi: Could you take a look at this (support FreeBSD OSS 24-bit output)? http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156747 I unified the some patches here: https://gist.github.com/1362097 1. Disable ALSA explicitly; 2. Allow internal libass if ASS is tuned off; 3. OSS 24-bit output; 4. FreeBSD's log2 & log2f in libc. Let me test the port... stable/8: gcc: ffmpeg/libavformat/libavformat.a(udp.o): In function `udp_open': udp.c:(.text+0xf8e): undefined reference to `pthread_create' ffmpeg/libavcodec/libavcodec.a(pthread.o): In function `ff_thread_init': pthread.c:(.text+0x178c): undefined reference to `pthread_create' pthread.c:(.text+0x1894): undefined reference to `pthread_create' collect2: ld returned 1 exit status clang: clang: warning: argument unused during compilation: '-rpath=/usr/lib:/usr/local/lib' ffmpeg/libavformat/libavformat.a(udp.o): In function `udp_open': libavformat/udp.c:(.text+0x907): undefined reference to `pthread_create' ffmpeg/libavcodec/libavcodec.a(pthread.o): In function `ff_thread_init': libavcodec/pthread.c:(.text+0xded): undefined reference to `pthread_create' libavcodec/pthread.c:(.text+0x104e): undefined reference to `pthread_create' clang: error: linker command failed with exit code 1 (use -v to see invocation) The original config.mak has no -pthread, so the replacement in port-configure fails to work. The program works fine. Thanks. On Mon, Dec 19, 2011 at 4:35 PM, Thomas Zander wrote: > Hi list, > > on http://www.rrr.de/~riggs/mplayer/m20111219.tar.bz2 you can find the > draft of updates to the mplayer and mencoder ports. > > Please have a look, play with it and let me know what you think. > I tested it on 8.2 STABLE i386 and amd64 only so far, so I hope it > works for 9 and 10 as well. > > As always, comments, suggestions and especially patches are more than welcome. > > Best regards > Riggs > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/