mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
GNU tar: Remove obsolete patch.
svn path=/nixpkgs/branches/stdenv-updates/; revision=21262
This commit is contained in:
parent
bbb833cf8b
commit
8f995b2e50
@ -2,13 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnutar-1.23";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/tar/tar-1.23.tar.bz2";
|
||||
sha256 = "0dmyxsh0171m6nv8aw74dps1l4b1r7pkqkly9kcv3yv2vdr86cn9";
|
||||
};
|
||||
|
||||
patches = [./implausible.patch];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/tar/;
|
||||
@ -30,5 +28,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
license = "GPLv3+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff -rc tar-1.16.1-orig/src/extract.c tar-1.16.1/src/extract.c
|
||||
*** tar-1.16.1-orig/src/extract.c 2006-12-07 14:26:00.000000000 +0100
|
||||
--- tar-1.16.1/src/extract.c 2007-05-24 11:39:47.000000000 +0200
|
||||
***************
|
||||
*** 194,200 ****
|
||||
static void
|
||||
check_time (char const *file_name, struct timespec t)
|
||||
{
|
||||
! if (t.tv_sec <= 0)
|
||||
WARN ((0, 0, _("%s: implausibly old time stamp %s"),
|
||||
file_name, tartime (t, true)));
|
||||
else if (timespec_cmp (volume_start_time, t) < 0)
|
||||
--- 194,200 ----
|
||||
static void
|
||||
check_time (char const *file_name, struct timespec t)
|
||||
{
|
||||
! if (0 /* t.tv_sec <= 0 */)
|
||||
WARN ((0, 0, _("%s: implausibly old time stamp %s"),
|
||||
file_name, tartime (t, true)));
|
||||
else if (timespec_cmp (volume_start_time, t) < 0)
|
Loading…
Reference in New Issue
Block a user