diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-27 20:19:56 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-27 20:19:56 +0000 |
commit | 094bef10875eb7b0db057b4f8f405c80ead5b24c (patch) | |
tree | b7e50daa2736fa1776716f7b7f171c415f86b748 /media-video/mjpegtools/files | |
parent | Fixed typo: app-text/libwpdlibwpd -> app-text/libwpd. (diff) | |
download | gentoo-2-094bef10875eb7b0db057b4f8f405c80ead5b24c.tar.gz gentoo-2-094bef10875eb7b0db057b4f8f405c80ead5b24c.tar.bz2 gentoo-2-094bef10875eb7b0db057b4f8f405c80ead5b24c.zip |
Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #282960 by Chris Slycord.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'media-video/mjpegtools/files')
-rw-r--r-- | media-video/mjpegtools/files/mjpegtools-1.8.0-glibc-2.10.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/media-video/mjpegtools/files/mjpegtools-1.8.0-glibc-2.10.patch b/media-video/mjpegtools/files/mjpegtools-1.8.0-glibc-2.10.patch new file mode 100644 index 000000000000..0e4388dc3376 --- /dev/null +++ b/media-video/mjpegtools/files/mjpegtools-1.8.0-glibc-2.10.patch @@ -0,0 +1,11 @@ +--- mjpegtools-1.8.0/mplex/lpcmstrm_in.cpp.orig 2009-08-27 14:27:01.000000000 -0500 ++++ mjpegtools-1.8.0/mplex/lpcmstrm_in.cpp 2009-08-27 14:28:04.000000000 -0500 +@@ -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; |