summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-04-01 21:49:50 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-04-01 21:49:50 +0000
commit7ce812d6581c0fa6cced86e2f711d55fa725e1e4 (patch)
tree3ff897287e3f7d5f82f24a7fcf92269b223187f3 /x11
parent- Fix typo in include file (diff)
Fix double deletion bug in kio_kzip, which causes nasty crashes in
apps like koffice. Reported by, patch obtained from: Raphael Langerhorst <raphael-langerhorst@gmx.at> Approved by: portmgr (marcus)
Notes
Notes: svn path=/head/; revision=132140
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs3/Makefile1
-rw-r--r--x11/kdelibs3/files/patch-kio_kio_kzip.cpp7
-rw-r--r--x11/kdelibs4/Makefile1
-rw-r--r--x11/kdelibs4/files/patch-kio_kio_kzip.cpp7
4 files changed, 16 insertions, 0 deletions
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index 36e2fb9ceb5a..bb24110f77c1 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdelibs
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/x11/kdelibs3/files/patch-kio_kio_kzip.cpp b/x11/kdelibs3/files/patch-kio_kio_kzip.cpp
new file mode 100644
index 000000000000..0163f80b2a20
--- /dev/null
+++ b/x11/kdelibs3/files/patch-kio_kio_kzip.cpp
@@ -0,0 +1,7 @@
+--- kio/kio/kzip.cpp #1.56:1.57
+@@ -382,4 +382,5 @@ bool KZip::openArchive( int mode )
+ kdWarning(7040) << "KSaveFile creation for " << m_filename << " failed, " << strerror( d->m_saveFile->status() ) << endl;
+ delete d->m_saveFile;
++ d->m_saveFile = 0;
+ return false;
+ }
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 36e2fb9ceb5a..bb24110f77c1 100644
--- a/x11/kdelibs4/Makefile
+++ b/x11/kdelibs4/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdelibs
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/x11/kdelibs4/files/patch-kio_kio_kzip.cpp b/x11/kdelibs4/files/patch-kio_kio_kzip.cpp
new file mode 100644
index 000000000000..0163f80b2a20
--- /dev/null
+++ b/x11/kdelibs4/files/patch-kio_kio_kzip.cpp
@@ -0,0 +1,7 @@
+--- kio/kio/kzip.cpp #1.56:1.57
+@@ -382,4 +382,5 @@ bool KZip::openArchive( int mode )
+ kdWarning(7040) << "KSaveFile creation for " << m_filename << " failed, " << strerror( d->m_saveFile->status() ) << endl;
+ delete d->m_saveFile;
++ d->m_saveFile = 0;
+ return false;
+ }