summaryrefslogtreecommitdiff
path: root/multimedia/transcode
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-08-26 13:21:59 +0000
committerdrochner <drochner@pkgsrc.org>2008-08-26 13:21:59 +0000
commitffc49a9895812334480814434ad4d946abaabd58 (patch)
tree2bf86e1cbdb14b195e1d32483a824e3b28866242 /multimedia/transcode
parente8eb1f9ac39e4f0f1a049f3b9b7445809faf55f2 (diff)
downloadpkgsrc-ffc49a9895812334480814434ad4d946abaabd58.tar.gz
fix build w/o lzo
Diffstat (limited to 'multimedia/transcode')
-rw-r--r--multimedia/transcode/distinfo3
-rw-r--r--multimedia/transcode/patches/patch-aw30
2 files changed, 32 insertions, 1 deletions
diff --git a/multimedia/transcode/distinfo b/multimedia/transcode/distinfo
index b654a09cc70..07daeb0524c 100644
--- a/multimedia/transcode/distinfo
+++ b/multimedia/transcode/distinfo
@@ -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-as) = f52658ae005ad3d68134a33878eb634e949a269a
SHA1 (patch-at) = 60e6c507049e3fd1723440859b90e828aac968ad
SHA1 (patch-au) = 3d06c68c60cda13d235a440b13a07d11b8de7877
SHA1 (patch-av) = 40f3a47adedce2a9286d4b3e1204266f46e3e4f7
+SHA1 (patch-aw) = 8af9050101faf78fe82145400677d0a398aa7fec
diff --git a/multimedia/transcode/patches/patch-aw b/multimedia/transcode/patches/patch-aw
new file mode 100644
index 00000000000..982bfed063e
--- /dev/null
+++ b/multimedia/transcode/patches/patch-aw
@@ -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) {
+