diff options
Diffstat (limited to 'nixpkgs/pkgs/games/deliantra/0003-swap.patch')
-rw-r--r-- | nixpkgs/pkgs/games/deliantra/0003-swap.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/deliantra/0003-swap.patch b/nixpkgs/pkgs/games/deliantra/0003-swap.patch new file mode 100644 index 000000000000..fa4e2bdec425 --- /dev/null +++ b/nixpkgs/pkgs/games/deliantra/0003-swap.patch @@ -0,0 +1,14 @@ +--- a/include/util.h ++++ b/include/util.h +@@ -449,6 +449,11 @@ struct slice_allocator + { + p->~Tp (); + } ++ ++ bool operator ==(const slice_allocator &) const ++ { ++ return true; ++ } + }; + + // basically a memory area, but refcounted |