git.iko.soy/typeable/nixpkgs
on master help sign in
termite: pick upstream fix for off-by-one w/newer vte
commit4757f0e7cf8484927b65ffa9fe751efffa9c8959 authorWill Dietz <w@wdtz.org> dateWed 15 May 2019, 18:45 (8 years ago) parent11a7e02
1 file changed+8−2
pkgs/applications/misc/termite/default.nix+8−2
pkgs/applications/misc/termite/default.nix+8−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, pkgconfig, vte-ng, gtk3, ncurses, wrapGAppsHook }:
1+{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, vte-ng, gtk3, ncurses, wrapGAppsHook }:
22
33stdenv.mkDerivation rec {
44 name = "termite-${version}";
@@ -14,7 +14,13 @@ stdenv.mkDerivation rec {
1414
1515 # https://github.com/thestinger/termite/pull/516
1616 patches = [ ./url_regexp_trailing.patch ./add_errno_header.patch
17− ] ++ stdenv.lib.optional stdenv.isDarwin ./remove_ldflags_macos.patch;
17+ # Fix off-by-one in select_text() on libvte >= 0.55.0
18+ # Expected to be included in next release (16).
19+ (fetchpatch {
20+ url = "https://github.com/thestinger/termite/commit/7e9a93b421b9596f8980645a46ac2ad5468dac06.patch";
21+ sha256 = "0vph2m5919f7w1xnc8i6z0j44clsm1chxkfg7l71nahxyfw5yh4j";
22+ })
23+ ] ++ stdenv.lib.optional stdenv.isDarwin ./remove_ldflags_macos.patch;
1824
1925 makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ];
2026