packages/net/nmap/patches/001-cross_compile.patch

12 lines
367 B
Diff
Raw Normal View History

--- a/output.cc
+++ b/output.cc
@@ -2240,7 +2240,7 @@ struct data_file_record {
/* Compares this record to another. First compare the directory names, then
compare the file names. */
- bool operator<(const struct data_file_record &other) {
+ bool operator<(const struct data_file_record &other) const {
int cmp;
cmp = dir.compare(other.dir);