summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-01-29 20:31:19 +0000
committermarkd <markd@pkgsrc.org>2011-01-29 20:31:19 +0000
commit2e5f6242175383f14a0d773ed4cace6702a7c1ae (patch)
treeb44491b833da472199f2d54eb9a77e247c8ae5de /multimedia
parent87399bb7bf28db707338c3f92f058533d1ae0568 (diff)
downloadpkgsrc-2e5f6242175383f14a0d773ed4cace6702a7c1ae.tar.gz
Fix build with gcc4.5
add PLIST.Linux for additional (v4l) files installed on linux.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mjpegtools/PLIST.Linux5
-rw-r--r--multimedia/mjpegtools/distinfo3
-rw-r--r--multimedia/mjpegtools/patches/patch-af15
3 files changed, 22 insertions, 1 deletions
diff --git a/multimedia/mjpegtools/PLIST.Linux b/multimedia/mjpegtools/PLIST.Linux
new file mode 100644
index 00000000000..85adcc6eef4
--- /dev/null
+++ b/multimedia/mjpegtools/PLIST.Linux
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.Linux,v 1.1 2011/01/29 20:31:19 markd Exp $
+bin/lavrec
+bin/lavvideo
+bin/testrec
+lib/liblavrec.la
diff --git a/multimedia/mjpegtools/distinfo b/multimedia/mjpegtools/distinfo
index 8c3ccdbde0f..f801fc6e916 100644
--- a/multimedia/mjpegtools/distinfo
+++ b/multimedia/mjpegtools/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.18 2011/01/24 10:04:21 wiz Exp $
+$NetBSD: distinfo,v 1.19 2011/01/29 20:31:19 markd Exp $
SHA1 (mjpegtools-1.9.0.tar.gz) = 1701233354c7ea86b5b7808c4dd5d03a71118e48
RMD160 (mjpegtools-1.9.0.tar.gz) = 79e0eb4bce468bb8f12da336e29abe8fab390a5f
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 5fc460db1593afb1f99422003db86e6b7cfc8eb9
SHA1 (patch-ac) = b442af0698255b6eede9ac47b178b279a2f7c56d
SHA1 (patch-ad) = 2a6f33fdc9c240d1c5c1172710db7ed95b1fc5a8
SHA1 (patch-ae) = 98bfbaccd8dc79582a32ffbc8dba7b6c039c0373
+SHA1 (patch-af) = db90227d0732220123e5900049cf5f3e961432a2
diff --git a/multimedia/mjpegtools/patches/patch-af b/multimedia/mjpegtools/patches/patch-af
new file mode 100644
index 00000000000..3f1b455476b
--- /dev/null
+++ b/multimedia/mjpegtools/patches/patch-af
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.4 2011/01/29 20:31:19 markd Exp $
+
+Fix build with gcc4.5
+
+--- mplex/lpcmstrm_in.cpp.orig 2011-01-24 10:42:48.023875210 +0000
++++ mplex/lpcmstrm_in.cpp
+@@ -53,7 +53,7 @@ LPCMStream::LPCMStream(IBitStream &ibs,
+
+ bool LPCMStream::Probe(IBitStream &bs )
+ {
+- char *last_dot = strrchr( bs.StreamName(), '.' );
++ const char *last_dot = strrchr( bs.StreamName(), '.' );
+ return
+ last_dot != NULL
+ && strcmp( last_dot+1, "lpcm") == 0;