Ticket #52112: dpkg.patch
File dpkg.patch, 2.6 KB (added by xeron (Ivan Larionov), 8 years ago) |
---|
-
sysutils/dpkg/Portfile
5 5 PortGroup perl5 1.0 6 6 7 7 name dpkg 8 version 1.18. 38 version 1.18.10 9 9 platforms darwin 10 10 categories sysutils archivers 11 11 license GPL-2+ … … 21 21 use_xz yes 22 22 extract.asroot yes 23 23 24 checksums rmd160 baffcdf3bb72ad535d6aacbcee88202488e4612a\25 sha256 a40ffe38d7f36d858a752189a306433cfc52c7d15d7b98f61d9f9dd49e0e480724 checksums rmd160 807a8d4bc3ec547dff82b9495618220208870196 \ 25 sha256 025524da41ba18b183ff11e388eb8686f7cc58ee835ed7d48bd159c46a8b6dc5 26 26 27 perl5.branches 5.2 227 perl5.branches 5.24 28 28 29 29 depends_build-append \ 30 30 port:pkgconfig \ -
sysutils/dpkg/files/patch-scripts_Dpkg_Source_Archive.pm.diff
1 --- scripts/Dpkg/Source/Archive.pm.orig 201 5-11-19 21:10:57.000000000 -08002 +++ scripts/Dpkg/Source/Archive.pm 201 5-11-19 21:18:41.000000000 -08003 @@ - 48,7 +48,7 @@4 $spawn_opts{from_pipe} = \*$self->{tar_input};1 --- scripts/Dpkg/Source/Archive.pm.orig 2016-07-24 14:05:05.000000000 -0700 2 +++ scripts/Dpkg/Source/Archive.pm 2016-08-11 21:33:28.000000000 -0700 3 @@ -50,7 +50,7 @@ 4 my $mtime = $opts{source_date} // $ENV{SOURCE_DATE_EPOCH} // time; 5 5 # Call tar creation process 6 6 $spawn_opts{delete_env} = [ 'TAR_OPTIONS' ]; 7 - $spawn_opts{exec} = [ 'tar', '-cf', '-', '--format=gnu', '--null', 8 + $spawn_opts{exec} = [ 'gnutar', '-cf', '-', '--format=gnu', '--null', 7 - $spawn_opts{exec} = [ 'tar', '-cf', '-', '--format=gnu', 8 + $spawn_opts{exec} = [ 'gnutar', '-cf', '-', '--format=gnu', 9 '--mtime', "\@$mtime", '--clamp-mtime', '--null', 9 10 '--numeric-owner', '--owner=0', '--group=0', 10 11 @{$opts{options}}, '-T', '-' ]; 11 *$self->{pid} = spawn(%spawn_opts); 12 @@ -90,7 +90,7 @@ 12 @@ -93,7 +93,7 @@ 13 13 my $self = shift; 14 14 15 15 close(*$self->{tar_input}) or syserr(g_('close on tar input')); … … 18 18 delete *$self->{pid}; 19 19 delete *$self->{tar_input}; 20 20 delete *$self->{cwd}; 21 @@ -12 6,7 +126,7 @@21 @@ -129,7 +129,7 @@ 22 22 23 23 # Call tar extraction process 24 24 $spawn_opts{delete_env} = [ 'TAR_OPTIONS' ];