summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-06-04 21:40:51 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-06-04 21:40:51 +0000
commit1a9d70eac023a3f23c81ca8b77b1bb76c7a513ee (patch)
tree21f767eb8acfbc0e6d1ce56ae7d78d97eda135f7 /media-video/mjpegtools/files
parentStable on alpha, bug #271463 (diff)
downloadgentoo-2-1a9d70eac023a3f23c81ca8b77b1bb76c7a513ee.tar.gz
gentoo-2-1a9d70eac023a3f23c81ca8b77b1bb76c7a513ee.tar.bz2
gentoo-2-1a9d70eac023a3f23c81ca8b77b1bb76c7a513ee.zip
Fix the constness of a char w.r.t. bug 270778. Thanks to hirakendu <hirakendu@gmail.com> for providing the patch.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mjpegtools/files')
-rw-r--r--media-video/mjpegtools/files/mjpegtools-1.9.0-glibc-2.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-video/mjpegtools/files/mjpegtools-1.9.0-glibc-2.10.patch b/media-video/mjpegtools/files/mjpegtools-1.9.0-glibc-2.10.patch
new file mode 100644
index 000000000000..e16156046821
--- /dev/null
+++ b/media-video/mjpegtools/files/mjpegtools-1.9.0-glibc-2.10.patch
@@ -0,0 +1,11 @@
+--- mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp.orig 2009-05-27 01:31:46.000000000 -0700
++++ mjpegtools-1.9.0/mplex/lpcmstrm_in.cpp 2009-05-27 01:33:09.000000000 -0700
+@@ -53,7 +53,7 @@
+
+ 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;