Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2009 15:52:47 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        multimedia@FreeBSD.org
Subject:   ports/142034: [PATCH] multimedia/libtheora: don't link with -lcompat
Message-ID:  <20091226125247.8A34CB829@hades.panopticon>
Resent-Message-ID: <200912261300.nBQD01jK016564@freefall.freebsd.org>

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

>Number:         142034
>Category:       ports
>Synopsis:       [PATCH] multimedia/libtheora: don't link with -lcompat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 26 13:00:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-RELEASE i386
>Organization:
>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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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