fix jfsutils cross compilation
This commit is contained in:
parent
5df783f106
commit
98a2a5b537
10
pkgs/tools/filesystems/jfsutils/ar-fix.patch
Normal file
10
pkgs/tools/filesystems/jfsutils/ar-fix.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- jfsutils-1.1.15/configure.in.orig 2018-11-27 20:46:55.830242385 +0300
|
||||||
|
+++ jfsutils-1.1.15/configure.in 2018-11-27 20:47:00.596307630 +0300
|
||||||
|
@@ -15,6 +15,7 @@
|
||||||
|
AC_PATH_PROG(LN, ln, ln)
|
||||||
|
AC_PROG_LN_S
|
||||||
|
AC_PROG_RANLIB
|
||||||
|
+AM_PROG_AR
|
||||||
|
|
||||||
|
dnl Checks for header files.
|
||||||
|
AC_HEADER_STDC
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, libuuid }:
|
{ stdenv, fetchurl, libuuid, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "jfsutils-1.1.15";
|
name = "jfsutils-1.1.15";
|
||||||
@ -8,8 +8,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0kbsy2sk1jv4m82rxyl25gwrlkzvl3hzdga9gshkxkhm83v1aji4";
|
sha256 = "0kbsy2sk1jv4m82rxyl25gwrlkzvl3hzdga9gshkxkhm83v1aji4";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./types.patch ./hardening-format.patch ];
|
patches = [
|
||||||
|
./types.patch
|
||||||
|
./hardening-format.patch
|
||||||
|
# required for cross-compilation
|
||||||
|
./ar-fix.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
buildInputs = [ libuuid ];
|
buildInputs = [ libuuid ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user