ports/122967: Port fix: multimedia/y4mscaler - Define missing symbols
Ganael Laplanche
ganael.laplanche at martymac.com
Mon Apr 21 17:00:03 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list