diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-04-16 22:01:57 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-04-16 22:01:57 +0000 |
commit | eab9f0998e37bbf98fbb104f19298a5b6540f410 (patch) | |
tree | 141802b8b306f390ac9bcd796f6bd46f579713bb /app-cdr/k9copy/files | |
parent | amd64 stable, bug 315483 (diff) | |
download | gentoo-2-eab9f0998e37bbf98fbb104f19298a5b6540f410.tar.gz gentoo-2-eab9f0998e37bbf98fbb104f19298a5b6540f410.tar.bz2 gentoo-2-eab9f0998e37bbf98fbb104f19298a5b6540f410.zip |
Fix building with GCC 4.5 wrt #304755 by Kacper Kowalik.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/k9copy/files')
-rw-r--r-- | app-cdr/k9copy/files/k9copy-2.3.5-gcc45.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-cdr/k9copy/files/k9copy-2.3.5-gcc45.patch b/app-cdr/k9copy/files/k9copy-2.3.5-gcc45.patch new file mode 100644 index 000000000000..093ef01e9869 --- /dev/null +++ b/app-cdr/k9copy/files/k9copy-2.3.5-gcc45.patch @@ -0,0 +1,26 @@ +Passing const char * instead of QByteArray to printf + +http://bugs.gentoo.org/show_bug.cgi?id=304755 + +Patch written by Kacper Kowalik <xarthisius.kk@gmail.com> + +--- src/xine/k9xineplayer.cpp ++++ src/xine/k9xineplayer.cpp +@@ -251,7 +251,7 @@ + + if ((vo_port = xine_open_video_driver(xine, + m_vo.toAscii(), XINE_VISUAL_TYPE_X11, (void *) &vis)) == NULL) { +- printf("I'm unable to initialize '%s' video driver. Giving up.\n", m_vo.toAscii()); ++ printf("I'm unable to initialize '%s' video driver. Giving up.\n", m_vo.toAscii().constData()); + return ; + } + +@@ -270,7 +270,7 @@ + running=false; + m_title=""; + if ((!xine_open(stream, m_mrl.toUtf8())) || (!xine_play(stream, 0, 0))) { +- printf("Unable to open mrl '%s'\n", m_mrl.toUtf8()); ++ printf("Unable to open mrl '%s'\n", m_mrl.toUtf8().constData()); + return ; + } + QTimer::singleShot (500, this, SLOT (updatePosition ())); |