aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/y4mscaler/Makefile2
-rw-r--r--multimedia/y4mscaler/files/patch-ysStreamInfo.H15
2 files changed, 15 insertions, 2 deletions
diff --git a/multimedia/y4mscaler/Makefile b/multimedia/y4mscaler/Makefile
index 1268297b898b..c02aed0f5d4c 100644
--- a/multimedia/y4mscaler/Makefile
+++ b/multimedia/y4mscaler/Makefile
@@ -18,8 +18,6 @@ COMMENT= Y4mscaler scales, crops, and shifts Y'CbCr video
LIB_DEPENDS= lavjpeg-1.9.1:${PORTSDIR}/multimedia/mjpegtools
-BROKEN= Does not compile
-
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/multimedia/y4mscaler/files/patch-ysStreamInfo.H b/multimedia/y4mscaler/files/patch-ysStreamInfo.H
new file mode 100644
index 000000000000..1c2284e04e88
--- /dev/null
+++ b/multimedia/y4mscaler/files/patch-ysStreamInfo.H
@@ -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>
+ }