summaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools/mjpegtools-1.9.0-glibc-2.10.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2010-05-19 01:54:56 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-05-19 01:54:56 -0400
commitf10a7e233e067ae39596ffe0b411befd8c3ac620 (patch)
tree641e003788d37ce0d3402533beb738d853ec66a6 /multimedia/mjpegtools/mjpegtools-1.9.0-glibc-2.10.patch
parent49e6340cd8b5eafa0621caca6c962fecba7f5a39 (diff)
downloadslackbuilds-f10a7e233e067ae39596ffe0b411befd8c3ac620.tar.gz
multimedia/mjpegtools: Patched to build with glibc 2.10.
Diffstat (limited to 'multimedia/mjpegtools/mjpegtools-1.9.0-glibc-2.10.patch')
-rw-r--r--multimedia/mjpegtools/mjpegtools-1.9.0-glibc-2.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mjpegtools/mjpegtools-1.9.0-glibc-2.10.patch b/multimedia/mjpegtools/mjpegtools-1.9.0-glibc-2.10.patch
new file mode 100644
index 0000000000..e161560468
--- /dev/null
+++ b/multimedia/mjpegtools/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;