summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-07-09 21:05:13 +0200
committerJohannes Huber <johu@gentoo.org>2016-07-09 21:05:26 +0200
commit577852946efdb0d29df022f045aeff6448ce3bd8 (patch)
tree3945caa8472adad096de23944cb5172f1ade733c /kde-misc/krename/files
parentsci-visualization/paraview: add a required use constraint, bug #586934 (diff)
downloadgentoo-577852946efdb0d29df022f045aeff6448ce3bd8.tar.gz
gentoo-577852946efdb0d29df022f045aeff6448ce3bd8.tar.bz2
gentoo-577852946efdb0d29df022f045aeff6448ce3bd8.zip
kde-misc/krename: Fix build with gcc-6
Revision bump adds patch from Arch Linux. Spotted by George Diamantopoulos <georgediam@gmail.com>. Gentoo-bug: 587994 Package-Manager: portage-2.3.0
Diffstat (limited to 'kde-misc/krename/files')
-rw-r--r--kde-misc/krename/files/krename-4.0.9-gcc6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/kde-misc/krename/files/krename-4.0.9-gcc6.patch b/kde-misc/krename/files/krename-4.0.9-gcc6.patch
new file mode 100644
index 00000000000..b1687926d0b
--- /dev/null
+++ b/kde-misc/krename/files/krename-4.0.9-gcc6.patch
@@ -0,0 +1,11 @@
+--- krename-4.0.9/src/batchrenamer.cpp.orig 2016-05-07 12:50:29.243165528 +0000
++++ krename-4.0.9/src/batchrenamer.cpp 2016-05-07 12:50:52.543081000 +0000
+@@ -402,7 +402,7 @@
+ break;
+ case eRenameMode_Link:
+ // In case of link delete created file
+- job = KIO::file_delete( dstUrl, false );
++ job = KIO::file_delete( dstUrl, NULL );
+ break;
+ case eRenameMode_Copy: // no undo possible
+ // TODO: Maybe we should delete the created files