From owner-freebsd-multimedia@FreeBSD.ORG Sat Dec 26 13:39:25 2009 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 409921065692 for ; Sat, 26 Dec 2009 13:39:25 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.113.20]) by mx1.freebsd.org (Postfix) with ESMTP id F2BCF8FC12 for ; Sat, 26 Dec 2009 13:39:24 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NOW6S-0002CG-J4; Sat, 26 Dec 2009 15:50:40 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 91643B84D; Sat, 26 Dec 2009 15:52:47 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 8A34CB829; Sat, 26 Dec 2009 15:52:47 +0300 (MSK) To: FreeBSD-gnats-submit@freebsd.org From: Dmitry Marakasov X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20091226125247.8A34CB829@hades.panopticon> Date: Sat, 26 Dec 2009 15:52:47 +0300 (MSK) Cc: multimedia@FreeBSD.org Subject: [PATCH] multimedia/libtheora: don't link with -lcompat X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Dec 2009 13:39:25 -0000 >Submitter-Id: current-users >Originator: Dmitry Marakasov >Organization: >Confidential: no >Synopsis: [PATCH] multimedia/libtheora: don't link with -lcompat >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 8.0-RELEASE i386 >Environment: System: FreeBSD hades.panopticon 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Tue Nov 24 22:31:59 MSK 2009 >Description: After latest update to 1.1.1, libtheora links with -lcompat (configure.ac claims that's needed for OpenBSD). However on FreeBSD it's not needed, and also breaks dependent ports, at least gmerlin-avdecoder: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.8.20091222210227/gmerlin-avdecoder-1.0.1_1.log thus, patch configure to not detect libcompat. Port maintainer (multimedia@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- libtheora-1.1.1_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/multimedia/libtheora/Makefile,v retrieving revision 1.26 diff -u -u -r1.26 Makefile --- Makefile 21 Dec 2009 03:00:51 -0000 1.26 +++ Makefile 26 Dec 2009 12:49:31 -0000 @@ -7,6 +7,7 @@ PORTNAME= libtheora PORTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://downloads.xiph.org/releases/theora/ \ http://distfiles.master.finkmirrors.net/ @@ -32,7 +33,8 @@ post-patch: @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's, x86_64), x86_64|amd64),' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's, x86_64), x86_64|amd64),; \ + /ac_lib/ s,compat,,' ${WRKSRC}/configure .if ${ARCH}=="amd64" @${REINPLACE_CMD} -e 's|#define OC_X86_ASM|#undef OC_X86_ASM|' ${WRKSRC}/configure .endif --- libtheora-1.1.1_1.patch ends here ---