snappy: add patch to re-enable RTTI

main
Artturin 3 years ago
parent 1304435f48
commit a810f7676c
  1. 8
      pkgs/development/libraries/snappy/default.nix

@ -20,6 +20,14 @@ stdenv.mkDerivation rec {
url = "https://github.com/google/snappy/pull/142/commits/658cb2fcf67b626fff2122a3dbf7a3560c58f7ee.patch";
sha256 = "1kg3lxjwmhc7gjx36nylilnf444ddbnr3px1wpvyc6l1nh6zh4al";
})
# Re-enable RTTI, without which other applications can't subclass
# snappy::Source (this breaks Ceph, as one example)
# https://tracker.ceph.com/issues/53060
# https://build.opensuse.org/package/show/openSUSE:Factory/snappy
(fetchpatch {
url = "https://build.opensuse.org/public/source/openSUSE:Factory/snappy/reenable-rtti.patch?rev=a759aa6fba405cd40025e3f0ab89941d";
sha256 = "sha256-RMuM5yd6zP1eekN/+vfS54EyY4cFbGDVor1E1vj3134=";
})
];
outputs = [ "out" "dev" ];

Loading…
Cancel
Save