libpipeline: apply gnulib.passthru.longdouble-redirect-patch

+16 -2
+16 -2
pkgs/development/libraries/libpipeline/default.nix
··· 1 - { lib, stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl 2 + , gnulib 3 + , runCommand 4 + , patchutils }: 2 5 3 6 stdenv.mkDerivation rec { 4 7 pname = "libpipeline"; ··· 9 12 sha256 = "sha256-uLRRlJiQIqeewTF/ZKKnWxVRsqVb6gb2dwTLKi5GkLA="; 10 13 }; 11 14 12 - patches = lib.optionals stdenv.isDarwin [ ./fix-on-osx.patch ]; 15 + patches = lib.optionals stdenv.isDarwin [ 16 + ./fix-on-osx.patch 17 + ] ++ [ 18 + (runCommand "longdouble-redirect-patch-extraPrefix" {} '' 19 + ${patchutils}/bin/filterdiff \ 20 + --strip=1 \ 21 + --addoldprefix=a/gl/ \ 22 + --addnewprefix=b/gl/ \ 23 + ${gnulib.passthru.longdouble-redirect-patch} \ 24 + > $out 25 + '') 26 + ]; 13 27 14 28 meta = with lib; { 15 29 homepage = "http://libpipeline.nongnu.org";