fix jfsutils cross compilation

authored by eburimu and committed by Jörg Thalheim 98a2a5b5 5df783f1

+18 -2
+10
pkgs/tools/filesystems/jfsutils/ar-fix.patch
··· 1 + --- jfsutils-1.1.15/configure.in.orig 2018-11-27 20:46:55.830242385 +0300 2 + +++ jfsutils-1.1.15/configure.in 2018-11-27 20:47:00.596307630 +0300 3 + @@ -15,6 +15,7 @@ 4 + AC_PATH_PROG(LN, ln, ln) 5 + AC_PROG_LN_S 6 + AC_PROG_RANLIB 7 + +AM_PROG_AR 8 + 9 + dnl Checks for header files. 10 + AC_HEADER_STDC
+8 -2
pkgs/tools/filesystems/jfsutils/default.nix
··· 1 - { stdenv, fetchurl, libuuid }: 1 + { stdenv, fetchurl, libuuid, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jfsutils-1.1.15"; ··· 8 8 sha256 = "0kbsy2sk1jv4m82rxyl25gwrlkzvl3hzdga9gshkxkhm83v1aji4"; 9 9 }; 10 10 11 - patches = [ ./types.patch ./hardening-format.patch ]; 11 + patches = [ 12 + ./types.patch 13 + ./hardening-format.patch 14 + # required for cross-compilation 15 + ./ar-fix.patch 16 + ]; 12 17 18 + nativeBuildInputs = [ autoreconfHook ]; 13 19 buildInputs = [ libuuid ]; 14 20 15 21 meta = with stdenv.lib; {