aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdelibs4/files/patch-1171342
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-10-06 01:44:17 +0800
committermakc <makc@FreeBSD.org>2010-10-06 01:44:17 +0800
commit1beef79480f74ca248344c024b876dfae79885b7 (patch)
treed0169406339d43faad4f7a4fcbbd0cd87c782be7 /x11/kdelibs4/files/patch-1171342
parent77a82c5413204c0ac69fe8d41fcc7a53a2da352c (diff)
downloadfreebsd-ports-gnome-1beef79480f74ca248344c024b876dfae79885b7.tar.gz
freebsd-ports-gnome-1beef79480f74ca248344c024b876dfae79885b7.tar.zst
freebsd-ports-gnome-1beef79480f74ca248344c024b876dfae79885b7.zip
KDE FreeBSD team presents KDE SC 4.5.2.
kdebase4-workspace is now shipped with FreeBSD-branded wallpapers [1] (set by default for new accounts). Thanks to Ivan Cukic from KDE for making the wallpapers! [1] http://ivan.fomentgroup.org/blog/2010/09/05/stripes-kde-be-free-freebsd/
Diffstat (limited to 'x11/kdelibs4/files/patch-1171342')
-rw-r--r--x11/kdelibs4/files/patch-117134239
1 files changed, 0 insertions, 39 deletions
diff --git a/x11/kdelibs4/files/patch-1171342 b/x11/kdelibs4/files/patch-1171342
deleted file mode 100644
index e2b9fa34b38e..000000000000
--- a/x11/kdelibs4/files/patch-1171342
+++ /dev/null
@@ -1,39 +0,0 @@
---- ./kdecore/io/karchive.cpp 2010/08/24 19:50:56 1167508
-+++ ./kdecore/io/karchive.cpp 2010/09/03 13:29:40 1171342
-@@ -634,7 +634,10 @@
-
- QByteArray KArchiveFile::data() const
- {
-- archive()->device()->seek( d->pos );
-+ bool ok = archive()->device()->seek( d->pos );
-+ if (!ok) {
-+ kWarning() << "Failed to sync to" << d->pos << "to read" << name();
-+ }
-
- // Read content
- QByteArray arr;
-@@ -661,7 +664,7 @@
- QFile f( dest + '/' + name() );
- if ( f.open( QIODevice::ReadWrite | QIODevice::Truncate ) )
- {
-- archive()->device()->seek( d->pos );
-+ QIODevice* inputDev = createDevice();
-
- // Read and write data in chunks to minimize memory usage
- const qint64 chunkSize = 1024 * 1024;
-@@ -671,12 +674,14 @@
-
- while ( remainingSize > 0 ) {
- const qint64 currentChunkSize = qMin( chunkSize, remainingSize );
-- const qint64 n = archive()->device()->read( array.data(), currentChunkSize );
-+ const qint64 n = inputDev->read( array.data(), currentChunkSize );
- Q_ASSERT( n == currentChunkSize );
- f.write( array.data(), currentChunkSize );
- remainingSize -= currentChunkSize;
- }
- f.close();
-+
-+ delete inputDev;
- }
- }
-