Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=078e7e7ad1bb7d9d7e0a70c067f1e9aacaa9b891
commit 078e7e7ad1bb7d9d7e0a70c067f1e9aacaa9b891 Author: Miklos Vajna <vmik...@frugalware.org> Date: Mon Apr 19 19:17:51 2010 +0200 k9copy-2.3.5-2-i686 - add k9copy-2.3.5-gcc45.patch diff --git a/source/kde-extra/k9copy/FrugalBuild b/source/kde-extra/k9copy/FrugalBuild index 1da4b18..6161704 100644 --- a/source/kde-extra/k9copy/FrugalBuild +++ b/source/kde-extra/k9copy/FrugalBuild @@ -4,7 +4,7 @@ pkgname=k9copy pkgver=2.3.5 -pkgrel=1 +pkgrel=2 pkgdesc="K9Copy is a small utility which allows the copy of DVD under Linux." groups=('kde-extra') archs=('i686' 'x86_64') @@ -14,13 +14,18 @@ _F_kde_defaults=0 Finclude sourceforge kde url="http://k9copy.sourceforge.net/index.php" depends=("${depen...@]}" "kdebase-runtime>=$_F_kde_ver" 'xine-lib' 'mpeg2dec' 'dvd+rw-tools' 'dvdauthor') -sha1sums=('9ca21db87120fe9ad5a424c8a42aebf499497563') +makedepends=("${makedepen...@]}" "kdelibs-compiletime>=$_F_kde_ver" "ksgmltools2>=$_F_kde_ver") +source=($source k9copy-2.3.5-gcc45.patch) +sha1sums=('9ca21db87120fe9ad5a424c8a42aebf499497563' \ + 'a86d6fb100ef2e24d0710990a5f25a820d479ce4') build() { - Fcd + Fpatchall sed -i -e "s:Name=k9copy:Name=K9copy:g" k9copy.desktop k9copy_assistant.desktop || Fdie cmake -DCMAKE_INSTALL_PREFIX=/usr || Fdie Fmake make DESTDIR=$Fdestdir install || Fdie } + +# optimization OK diff --git a/source/kde-extra/k9copy/k9copy-2.3.5-gcc45.patch b/source/kde-extra/k9copy/k9copy-2.3.5-gcc45.patch new file mode 100644 index 0000000..093ef01 --- /dev/null +++ b/source/kde-extra/k9copy/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...@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 ())); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git