Merge pull request #122154 from jnetod/zhf-xneur

xneur: fix build with gcc10

authored by

Michael Raskin and committed by
GitHub
1dff38ca 33de0204

+9 -1
+9 -1
pkgs/applications/misc/xneur/default.nix
··· 1 - { lib, stdenv, fetchurl, pkg-config, intltool, xorg, pcre, gst_all_1, glib 1 + { lib, stdenv, fetchurl, fetchpatch, pkg-config, intltool, xorg, pcre, gst_all_1, glib 2 2 , xosd, libnotify, enchant, wrapGAppsHook, gdk-pixbuf }: 3 3 4 4 stdenv.mkDerivation { ··· 19 19 xosd xorg.libXext xorg.libXi libnotify 20 20 enchant gdk-pixbuf 21 21 gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good 22 + ]; 23 + 24 + patches = [ 25 + (fetchpatch { 26 + name = "gcc-10.patch"; 27 + url = "https://salsa.debian.org/debian/xneur/-/raw/da38ad9c8e1bf4e349f5ed4ad909f810fdea44c9/debian/patches/gcc-10.patch"; 28 + sha256 = "0pc17a4sdrnrc4z7gz28889b9ywqsm5mzm6m41h67j2f5zh9k3fy"; 29 + }) 22 30 ]; 23 31 24 32 postPatch = ''