···203 configureFlags = attrs.configureFlags or []
204 ++ malloc0ReturnsNullCrossFlag;
205206- patches = [
207- # The following three patches add color emoji rendering support.
208- # https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1
209- (fetchpatch {
210- url = "https://gitlab.freedesktop.org/xorg/lib/libxft/commit/723092ece088559f1af299236305911f4ee4d450.patch";
211- sha256 = "1y5s6x5b7n2rqxapdx65zlcz35s7i7075qxkfnj859hx7k5ybx53";
212- })
213- (fetchpatch {
214- url = "https://gitlab.freedesktop.org/xorg/lib/libxft/commit/e0fc4ce7e87ab9c4b47e5c8e693f070dfd0d2f7b.patch";
215- sha256 = "1x7cbhdrprrmngyy3l3b45bz6717dzp881687h5hxa4g2bg5c764";
216- })
217- (fetchpatch {
218- url = "https://gitlab.freedesktop.org/xorg/lib/libxft/commit/d385aa3e5320d18918413df0e8aef3a713a47e0b.patch";
219- sha256 = "1acnks2g88hari2708x93ywa9m2f4lm60yhn9va45151ma2qb5n0";
220- })
221- ];
222-223 # the include files need ft2build.h, and Requires.private isn't enough for us
224 postInstall = ''
225 sed "/^Requires:/s/$/, freetype2/" -i "$dev/lib/pkgconfig/xft.pc"
···203 configureFlags = attrs.configureFlags or []
204 ++ malloc0ReturnsNullCrossFlag;
20500000000000000000206 # the include files need ft2build.h, and Requires.private isn't enough for us
207 postInstall = ''
208 sed "/^Requires:/s/$/, freetype2/" -i "$dev/lib/pkgconfig/xft.pc"