libfaketime: make the build reproducible
A rebased version of cb8bd05a01
Note: we no longer apply the spurious lrt patch.
This allows `nix-build --check -A libfaketime` to succeed.
This commit is contained in:
parent
fb2a7cd705
commit
6b4a41a360
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1dw2lqsv2iqwxg51mdn25b4fjj3v357s0mc6ahxawqp210krg29s";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./no-date-in-gzip-man-page.patch
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray+=(PREFIX="$out" LIBDIRNAME=/lib)
|
||||
'';
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -ur libfaketime-0.9.5.orig/man/Makefile libfaketime-0.9.5/man/Makefile
|
||||
--- libfaketime-0.9.5.orig/man/Makefile 2013-10-13 11:19:30.000000000 +0200
|
||||
+++ libfaketime-0.9.5/man/Makefile 2014-04-13 01:22:14.362296519 +0200
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
install:
|
||||
$(INSTALL) -Dm0644 faketime.1 "${DESTDIR}${PREFIX}/share/man/man1/faketime.1"
|
||||
- gzip -f "${DESTDIR}${PREFIX}/share/man/man1/faketime.1"
|
||||
+ gzip -9nf "${DESTDIR}${PREFIX}/share/man/man1/faketime.1"
|
||||
|
||||
uninstall:
|
||||
rm -f "${DESTDIR}${PREFIX}/share/man/man1/faketime.1.gz"
|
Loading…
x
Reference in New Issue
Block a user