Skip to content

Commit b0ec8d6

Browse files
raboofnh2
authored andcommittedJan 12, 2020
ms-sys: avoid the build timestamp from leaking into the manpage
Also proposed upstream as https://sourceforge.net/p/ms-sys/patches/8/
1 parent 2e8fc97 commit b0ec8d6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
 

‎pkgs/tools/misc/ms-sys/default.nix

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
88
url = "mirror://sourceforge/ms-sys/${pname}-${version}.tar.gz";
99
sha256 = "06xqpm2s9cg8fj7a1822wmh3p4arii0sifssazg1gr6i7xg7kbjz";
1010
};
11+
# TODO: Remove with next release, see https://sourceforge.net/p/ms-sys/patches/8/
12+
patches = [ ./manpages-without-build-timestamps.patch ];
1113

1214
nativeBuildInputs = [ gettext ];
1315

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff -u ms-sys-2.6.0/Makefile ms-sys-2.6.0-fixed/Makefile
2+
--- ms-sys-2.6.0/Makefile 2015-09-27 20:39:45.000000000 +0200
3+
+++ ms-sys-2.6.0-fixed/Makefile2020-01-06 16:43:55.181477511 +0100
4+
@@ -121,7 +121,7 @@
5+
6+
$(DESTDIR)$(MANDIR)/%: $(MAN)/$(dir $(*D))/$(*F)
7+
install -D -m 644 $(MAN)/$(dir $(*D))$(*F) $@
8+
- gzip -f $@
9+
+ gzip -n -f $@
10+
11+
#$(DESTDIR)$(MANDIR)/%: $(MAN)/$(*F)
12+
# echo t: $<

0 commit comments

Comments
 (0)
Please sign in to comment.