From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 21 17:00:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 562F61065681 for ; Mon, 21 Apr 2008 17:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 10CE68FC2E for ; Mon, 21 Apr 2008 17:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3LH023V028855 for ; Mon, 21 Apr 2008 17:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3LH02v1028854; Mon, 21 Apr 2008 17:00:02 GMT (envelope-from gnats) Resent-Date: Mon, 21 Apr 2008 17:00:02 GMT Resent-Message-Id: <200804211700.m3LH02v1028854@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ganael Laplanche Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28AE4106566B for ; Mon, 21 Apr 2008 16:51:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5F18FC2A for ; Mon, 21 Apr 2008 16:51:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3LGolKS033581 for ; Mon, 21 Apr 2008 16:50:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3LGokij033579; Mon, 21 Apr 2008 16:50:46 GMT (envelope-from nobody) Message-Id: <200804211650.m3LGokij033579@www.freebsd.org> Date: Mon, 21 Apr 2008 16:50:46 GMT From: Ganael Laplanche To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122967: Port fix: multimedia/y4mscaler - Define missing symbols X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2008 17:00:03 -0000 >Number: 122967 >Category: ports >Synopsis: Port fix: multimedia/y4mscaler - Define missing symbols >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Apr 21 17:00:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Ganael Laplanche >Release: 7.0-STABLE >Organization: http://contribs.martymac.com >Environment: FreeBSD home.martymac.com 7.0-STABLE FreeBSD 7.0-STABLE #14: Sun Apr 20 14:11:03 CEST 2008 root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: Here is a workaround to make y4mscaler build and work again, as seen on the mjpeg-users mailing list : http://sourceforge.net/mailarchive/message.php?msg_name=4668-Mon07Jan2008135449-0500-maddog%40mir.com It defines missing LOG_* symbols and will allow to wait patiently for v9.1 (in which this bug will be fixed). >How-To-Repeat: >Fix: Patch attached with submission follows: diff -aurN y4mscaler.orig/Makefile y4mscaler/Makefile --- y4mscaler.orig/Makefile 2008-04-21 14:16:19.117040827 +0200 +++ y4mscaler/Makefile 2008-04-21 14:13:10.991158000 +0200 @@ -18,8 +18,6 @@ LIB_DEPENDS= lavjpeg-1.9.1:${PORTSDIR}/multimedia/mjpegtools -BROKEN= Does not compile - USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff -aurN y4mscaler.orig/files/patch-ysStreamInfo.H y4mscaler/files/patch-ysStreamInfo.H --- y4mscaler.orig/files/patch-ysStreamInfo.H 1970-01-01 01:00:00.000000000 +0100 +++ y4mscaler/files/patch-ysStreamInfo.H 2008-04-21 18:39:26.355261885 +0200 @@ -0,0 +1,15 @@ +--- ysStreamInfo.H.orig 2005-12-11 21:27:03.000000000 +0100 ++++ ysStreamInfo.H 2008-04-21 18:39:02.844054735 +0200 +@@ -24,6 +24,12 @@ + + #include + ++/* XXX Obsolete as soon as v9.1 is out */ ++#define LOG_DEBUG 1 ++#define LOG_INFO 2 ++#define LOG_WARN 3 ++#define LOG_ERROR 4 ++ + extern "C" { + #include + } >Release-Note: >Audit-Trail: >Unformatted: