mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Fix build
This commit is contained in:
parent
dd828aaece
commit
dc1da2948a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319268
17
misc/kcd/files/patch-dirtree.cc
Normal file
17
misc/kcd/files/patch-dirtree.cc
Normal file
@ -0,0 +1,17 @@
|
||||
--- dirtree.cc.orig 2009-02-18 13:01:05.000000000 +0100
|
||||
+++ dirtree.cc 2013-05-27 18:11:32.183060000 +0200
|
||||
@@ -170,12 +170,12 @@
|
||||
ReadSaveFile(dirTree, filegz);
|
||||
}
|
||||
catch(ErrorBadFileFormat &) {
|
||||
- gzclose(file);
|
||||
+ gzclose(filegz);
|
||||
throw ErrorGenericFile(_("invalid file format in %$"), saveFile);
|
||||
|
||||
}
|
||||
catch(ErrorGZIO &) {
|
||||
- gzclose(file);
|
||||
+ gzclose(filegz);
|
||||
throw ErrorGenericFile(_("error reading file %$"), saveFile);
|
||||
}
|
||||
gzclose(filegz);
|
Loading…
Reference in New Issue
Block a user