diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-arch/dpkg/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-arch/dpkg/files')
-rw-r--r-- | app-arch/dpkg/files/dpkg-1.18.12-dpkg_buildpackage-test.patch | 10 | ||||
-rw-r--r-- | app-arch/dpkg/files/dpkg-1.18.12-flags.patch | 11 | ||||
-rw-r--r-- | app-arch/dpkg/files/dpkg-1.18.12-rsyncable.patch | 28 |
3 files changed, 49 insertions, 0 deletions
diff --git a/app-arch/dpkg/files/dpkg-1.18.12-dpkg_buildpackage-test.patch b/app-arch/dpkg/files/dpkg-1.18.12-dpkg_buildpackage-test.patch new file mode 100644 index 000000000000..e9716758d41b --- /dev/null +++ b/app-arch/dpkg/files/dpkg-1.18.12-dpkg_buildpackage-test.patch @@ -0,0 +1,10 @@ +--- a/scripts/Makefile.am ++++ b/scripts/Makefile.am +@@ -238,7 +238,6 @@ + t/Dpkg_Source_Package.t \ + t/Dpkg_Dist_Files.t \ + t/dpkg_source.t \ +- t/dpkg_buildpackage.t \ + t/merge_changelogs.t \ + t/mk.t \ + $(nil) diff --git a/app-arch/dpkg/files/dpkg-1.18.12-flags.patch b/app-arch/dpkg/files/dpkg-1.18.12-flags.patch new file mode 100644 index 000000000000..bee7dd729941 --- /dev/null +++ b/app-arch/dpkg/files/dpkg-1.18.12-flags.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -182,8 +182,6 @@ + # Checks for the build machinery. + AC_DEFINE([LIBDPKG_VOLATILE_API], [1], [Acknowledge the volatility of the API.]) + DPKG_COMPILER_WARNINGS +-DPKG_COMPILER_OPTIMIZATIONS +-DPKG_LINKER_OPTIMIZATIONS + DPKG_ARCHITECTURE + AC_DEFINE([PACKAGE_RELEASE], [PACKAGE_VERSION " (" ARCHITECTURE ")"], + [Define the project release information, version and architecture]) diff --git a/app-arch/dpkg/files/dpkg-1.18.12-rsyncable.patch b/app-arch/dpkg/files/dpkg-1.18.12-rsyncable.patch new file mode 100644 index 000000000000..69802da67092 --- /dev/null +++ b/app-arch/dpkg/files/dpkg-1.18.12-rsyncable.patch @@ -0,0 +1,28 @@ +--- a/scripts/Dpkg/Compression.pm ++++ b/scripts/Dpkg/Compression.pm +@@ -81,20 +81,12 @@ + }; + + # +-# XXX: The gzip package in Debian at some point acquired a Debian-specific +-# --rsyncable option via a vendor patch. Which is not present in most of the +-# major distributions, dpkg downstream systems, nor gzip upstream, who have +-# stated they will most probably not accept it because people should be using +-# pigz instead. ++# If gzip supports --rsyncable (version >=1.7 or the Debian patched variant), ++# we use it. Sadly a non-compliant gzip will not complain about the argument ++# when it does not understand it, so we can only print out the usage and infer ++# --rsyncable support from that. + # +-# This option should have never been accepted in dpkg, ever. But removing it +-# now would probably cause demands for tarring and feathering. In addition +-# we cannot use the Dpkg::Vendor logic because that would cause circular +-# module dependencies. The whole affair is pretty disgusting really. +-# +-# Check the perl Config to discern Debian and hopefully derivatives too. +-# +-if ($Config{cf_by} eq 'Debian Project') { ++if (system("gzip --help 2>&1 | grep -q -- --rsyncable") == 0) { + push @{$COMP->{gzip}->{comp_prog}}, '--rsyncable'; + } + |