1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Fix build

This commit is contained in:
Baptiste Daroussin 2013-05-27 16:15:30 +00:00
parent dd828aaece
commit dc1da2948a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319268

View 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);