Index: Makefile =================================================================== --- Makefile (revision 501154) +++ Makefile (working copy) @@ -34,4 +34,8 @@ CONFIGURE_ARGS+=--without-sse .endif +.if ${CHOSEN_COMPILER_TYPE} == gcc +CXXFLAGS+= -faligned-new +.endif + .include Index: files/patch-include_jellyfish_hash__counter.hpp =================================================================== --- files/patch-include_jellyfish_hash__counter.hpp (nonexistent) +++ files/patch-include_jellyfish_hash__counter.hpp (working copy) @@ -0,0 +1,11 @@ +--- include/jellyfish/hash_counter.hpp.orig 2019-05-13 07:43:45 UTC ++++ include/jellyfish/hash_counter.hpp +@@ -206,7 +206,7 @@ class hash_counter { (protected) + try { + new_ary_ = new array(ary_->size() * 2, ary_->key_len(), ary_->val_len(), + ary_->max_reprobe(), ary_->reprobes()); +- } catch(typename array::ErrorAllocation e) { ++ } catch(typename array::ErrorAllocation &e) { + new_ary_ = 0; + } + } Property changes on: files/patch-include_jellyfish_hash__counter.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-sub__commands_count__main.cc =================================================================== --- files/patch-sub__commands_count__main.cc (nonexistent) +++ files/patch-sub__commands_count__main.cc (working copy) @@ -0,0 +1,11 @@ +--- sub_commands/count_main.cc.orig 2019-05-13 07:42:50 UTC ++++ sub_commands/count_main.cc +@@ -330,7 +330,7 @@ int count_main(int argc, char *argv[]) + uint64_t max = args.upper_count_given ? args.upper_count_arg : std::numeric_limits::max(); + try { + merge_files(files, args.output_arg, header, min, max); +- } catch(MergeError e) { ++ } catch(MergeError &e) { + err::die(err::msg() << e.what()); + } + if(!args.no_unlink_flag) { Property changes on: files/patch-sub__commands_count__main.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-sub__commands_merge__main.cc =================================================================== --- files/patch-sub__commands_merge__main.cc (nonexistent) +++ files/patch-sub__commands_merge__main.cc (working copy) @@ -0,0 +1,11 @@ +--- sub_commands/merge_main.cc.orig 2019-05-13 07:46:43 UTC ++++ sub_commands/merge_main.cc +@@ -33,7 +33,7 @@ int merge_main(int argc, char *argv[]) + + try { + merge_files(args.input_arg, args.output_arg, out_header, min, max); +- } catch(MergeError e) { ++ } catch(MergeError &e) { + err::die(err::msg() << e.what()); + } + Property changes on: files/patch-sub__commands_merge__main.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-sub__commands_query__main.cc =================================================================== --- files/patch-sub__commands_query__main.cc (nonexistent) +++ files/patch-sub__commands_query__main.cc (working copy) @@ -0,0 +1,20 @@ +--- sub_commands/query_main.cc.orig 2019-05-13 07:47:53 UTC ++++ sub_commands/query_main.cc +@@ -60,7 +60,7 @@ void query_from_cmdline(std::vector mers, + if(canonical) + m.canonicalize(); + out << m << " " << db.check(m) << "\n"; +- } catch(std::length_error e) { ++ } catch(std::length_error &e) { + std::cerr << "Invalid mer '" << *it << "'\n"; + } + } +@@ -77,7 +77,7 @@ void query_from_stdin(const Database& db, std::ostream + if(canonical) + m.canonicalize(); + out << db.check(m) << std::endl; // a flush is need for interactive use +- } catch(std::length_error e) { ++ } catch(std::length_error &e) { + std::cerr << "Invalid mer '" << buffer << "'" << std::endl; + } + } Property changes on: files/patch-sub__commands_query__main.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property