From c16b976c43eb7b93f827f6bae2072defc38c357f9731737e5ddc9c51bdf1bd4b Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 19 Aug 2007 17:04:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/krusader?expand=0&rev=6 --- build-kde-3.4.diff | 19 +++++++++++++++++++ krusader.changes | 5 +++++ krusader.spec | 8 +++++++- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 build-kde-3.4.diff diff --git a/build-kde-3.4.diff b/build-kde-3.4.diff new file mode 100644 index 0000000..3359c9d --- /dev/null +++ b/build-kde-3.4.diff @@ -0,0 +1,19 @@ +--- ./krusader/VFS/krpermhandler.cpp 2007/08/19 14:45:52 1.1 ++++ ./krusader/VFS/krpermhandler.cpp 2007/08/19 14:48:19 +@@ -279,8 +279,6 @@ + } + + QString KRpermHandler::parseSize( KIO::filesize_t val ) { +- return KGlobal::locale()->formatNumber(QString::number(val), false, 0); +-#if 0 + QString temp; + temp.sprintf( "%llu", val ); + if ( temp.length() <= 3 ) return temp; +@@ -294,7 +292,6 @@ + size = size + temp.right( 3 ); + + return size; +-#endif + } + + QString KRpermHandler::date2qstring( QString date ) { diff --git a/krusader.changes b/krusader.changes index cf65018..45ae8d7 100644 --- a/krusader.changes +++ b/krusader.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 19 18:33:53 CEST 2007 - stbinner@suse.de + +- fix build on 10.0 + ------------------------------------------------------------------- Sun Jul 22 12:12:47 CEST 2007 - stbinner@suse.de diff --git a/krusader.spec b/krusader.spec index 8ebb9d3..323e41c 100644 --- a/krusader.spec +++ b/krusader.spec @@ -21,11 +21,12 @@ License: GPL v2 or later Group: Productivity/File utilities Summary: A File Manager Version: 1.80.0 -Release: 1 +Release: 16 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: krusader-%{version}.tar.gz Patch2: fix-isoservice-desktop.diff Patch4: fix-string-comparison.diff +Patch5: build-kde-3.4.diff %description A file manager. @@ -54,6 +55,9 @@ Authors: %setup %patch2 %patch4 +%if %suse_version < 1010 +%patch5 +%endif . /etc/opt/kde3/common_options update_admin @@ -91,6 +95,8 @@ kde_post_install /opt/kde3/share/apps/konqueror %changelog +* Sun Aug 19 2007 - stbinner@suse.de +- fix build on 10.0 * Sun Jul 22 2007 - stbinner@suse.de - update to version 1.80.0: * Full support for ACL permissions like properties, preserve