@@ -69,6 +69,16 @@ in stdenv.mkDerivation rec {
6969 sha256 = "1qg0dj0zwh5ifhmvv4k771nmyqddz4ifn75s9mr1p0nyix8zks8x";
7070 };
7171
72+ # we only have this problem on i686 ATM
73+ patches = if stdenv.is64bit then null else [
74+ (fetchurl {
75+ name = "disable-flaky-tests.diff";
76+ url = "https://anonscm.debian.org/git/pkg-openoffice/libreoffice.git/plain"
77+ + "/patches/disable-flaky-tests.diff?h=libreoffice_5.1.5_rc2-1";
78+ sha256 = "1v1aiqdi64iijjraj6v4ljzclrd9lqan54hmy2h6m20x3ab005wb";
79+ })
80+ ];
81+
7282 # Openoffice will open libcups dynamically, so we link it directly
7383 # to make its dlopen work.
7484 # It also seems not to mention libdl explicitly in some places.