snappy: add patch to re-enable RTTI

This commit is contained in:
Artturin 2021-12-02 14:21:52 +02:00
parent 1304435f48
commit a810f7676c

@ -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" ];