fix reiserfsprogs cross compilation

This commit is contained in:
eburimu 2018-11-28 00:13:19 +03:00 committed by Jörg Thalheim
parent ca11db894f
commit cfb184f2cb
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libuuid }:
{ stdenv, fetchurl, libuuid, autoreconfHook }:
let version = "3.6.24"; in
stdenv.mkDerivation rec {
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "0q07df9wxxih8714a3mdp61h5n347l7j2a0l351acs3xapzgwi3y";
};
patches = [ ./reiserfsprogs-ar-fix.patch ];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libuuid ];
NIX_CFLAGS_COMPILE = "-std=gnu90";

View file

@ -0,0 +1,10 @@
--- reiserfsprogs-3.6.24/configure.ac.orig 2018-11-29 17:16:52.313624894 +0300
+++ reiserfsprogs-3.6.24/configure.ac 2018-11-29 17:16:54.480669132 +0300
@@ -21,6 +21,7 @@
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
+AM_PROG_AR
dnl Checks for libraries.