pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/transcode fix build w/o lzo
details: https://anonhg.NetBSD.org/pkgsrc/rev/5e6b212d7c6c
branches: trunk
changeset: 546292:5e6b212d7c6c
user: drochner <drochner%pkgsrc.org@localhost>
date: Tue Aug 26 13:21:59 2008 +0000
description:
fix build w/o lzo
diffstat:
multimedia/transcode/distinfo | 3 ++-
multimedia/transcode/patches/patch-aw | 30 ++++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 1 deletions(-)
diffs (48 lines):
diff -r 87d41671a9a6 -r 5e6b212d7c6c multimedia/transcode/distinfo
--- a/multimedia/transcode/distinfo Tue Aug 26 13:17:16 2008 +0000
+++ b/multimedia/transcode/distinfo Tue Aug 26 13:21:59 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2008/08/07 18:43:42 drochner Exp $
+$NetBSD: distinfo,v 1.14 2008/08/26 13:21:59 drochner Exp $
SHA1 (transcode-1.0.6.tar.bz2) = 07905f6b0bd5eda881cbce2d8678c13beed47acb
RMD160 (transcode-1.0.6.tar.bz2) = 46d53cdd2b60032ccd8dc8bb53007e3903f6e1bb
@@ -14,3 +14,4 @@
SHA1 (patch-at) = 60e6c507049e3fd1723440859b90e828aac968ad
SHA1 (patch-au) = 3d06c68c60cda13d235a440b13a07d11b8de7877
SHA1 (patch-av) = 40f3a47adedce2a9286d4b3e1204266f46e3e4f7
+SHA1 (patch-aw) = 8af9050101faf78fe82145400677d0a398aa7fec
diff -r 87d41671a9a6 -r 5e6b212d7c6c multimedia/transcode/patches/patch-aw
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/transcode/patches/patch-aw Tue Aug 26 13:21:59 2008 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-aw,v 1.4 2008/08/26 13:21:59 drochner Exp $
+
+--- ./import/nuv/import_nuv.c.orig 2008-07-12 16:49:58.000000000 +0200
++++ ./import/nuv/import_nuv.c
+@@ -16,7 +16,9 @@
+ #include "libtc/libtc.h"
+ #include "aclib/ac.h"
+ #include "import/magic.h"
++#ifdef HAVE_LZO
+ #include "libtc/tc_lzo.h"
++#endif
+
+
+
+@@ -474,6 +476,7 @@ static int nuv_decode_video(TCModuleInst
+ in_framesize = inframe->video_size-5-sizeof(pd->cdata);
+ out_framesize = pd->width*pd->height + (pd->width/2)*(pd->height/2)*2;
+
++#ifdef HAVE_LZO
+ if (comptype == '2' || comptype == '3') {
+ /* Undo LZO compression */
+ uint8_t *decompressed_frame;
+@@ -496,6 +499,7 @@ static int nuv_decode_video(TCModuleInst
+ /* Convert 2 -> 1, 3 -> 0 */
+ comptype ^= 3;
+ }
++#endif
+
+ switch (comptype) {
+
Home |
Main Index |
Thread Index |
Old Index