Compare commits

..

2 Commits

Author SHA1 Message Date
Kamil Chmielewski
bde2351723 vimPlugins: YouCompleteMe FIX gocode crash
https://github.com/Valloric/ycmd/issues/586
2016-09-01 14:42:23 +02:00
Kamil Chmielewski
9e18b81ded python27Packages.cairocffi: FIX test_scaled_font
workaround for https://github.com/Kozea/cairocffi/issues/88
2016-09-01 09:14:10 +02:00
3 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
--- a/cairocffi/test_cairo.py 2016-09-01 07:52:33.303180302 +0200
+++ b/cairocffi/test_cairo.py 2016-09-01 09:06:19.595701944 +0200
@@ -998,7 +998,7 @@
font = ScaledFont(ToyFontFace('monospace'))
_, _, _, _, x_advance_mono, y_advance = font.text_extents('i' * 10)
- assert x_advance_mono > x_advance
+ assert x_advance_mono >= x_advance
assert y_advance == 0
# Not much we can test:
# The toy font face was "materialized" into a specific backend.

View File

@@ -1169,11 +1169,11 @@ rec {
};
youcompleteme = buildVimPluginFrom2Nix { # created by nix#NixDerivation
name = "youcompleteme-2016-07-23";
name = "youcompleteme-2016-09-01";
src = fetchgit {
url = "git://github.com/valloric/youcompleteme";
rev = "9968a43f7ec058298667c2c56ca86cfbbf1dac51";
sha256 = "17fxlflzggzx0mzsbmgvhp7dmkrx760w2pkais2vkafk3xdr1yr7";
rev = "e332cdb2a0c8599dead1d362b87bb9fb79c9a955";
sha256 = "0lqmdbv2z3rhm6a9c62rhfl3i30mvpg2f7k0cjan7jvrln9588k9";
};
dependencies = [];
buildInputs = [

View File

@@ -3121,6 +3121,7 @@ in modules // {
})
../development/python-modules/cairocffi/dlopen-paths.patch
../development/python-modules/cairocffi/fix_test_scaled_font.patch
];
postPatch = ''