Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2008 16:50:46 GMT
From:      Ganael Laplanche <ganael.laplanche@martymac.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122967: Port fix: multimedia/y4mscaler - Define missing symbols
Message-ID:  <200804211650.m3LGokij033579@www.freebsd.org>
Resent-Message-ID: <200804211700.m3LH02v1028854@freefall.freebsd.org>

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

>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 <string.h>
+ 
++/* 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 <yuv4mpeg.h>
+ }


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



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