]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- unused, it didn't work
authorwitekfl <witekfl@pld-linux.org>
Mon, 25 Sep 2006 18:12:32 +0000 (18:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-bzip2_fallback.patch -> 1.2

rpm-bzip2_fallback.patch [deleted file]

diff --git a/rpm-bzip2_fallback.patch b/rpm-bzip2_fallback.patch
deleted file mode 100644 (file)
index d12d2ba..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- rpm-4.4.6/build/pack.c.old 2006-09-08 20:06:51.000000000 +0200
-+++ rpm-4.4.6/build/pack.c     2006-09-08 20:12:46.000000000 +0200
-@@ -557,6 +557,13 @@
-       payload_format = _free(payload_format);
-       payload_format = xstrdup("cpio");
-     }
-+    /* Fallback to bzip2 when lzma is not installed. */
-+    if (rpmio_flags && !strcmp(rpmio_flags, "w9.lzdio")) {
-+      if (access("/usr/bin/lzma", X_OK)) {
-+          rpmio_flags = _free(rpmio_flags);
-+          rpmio_flags = xstrdup("w9.bzdio");
-+      }
-+    }
-     if (!(rpmio_flags && *rpmio_flags)) {
-       rpmio_flags = _free(rpmio_flags);
-       rpmio_flags = xstrdup("w9.gzdio");
This page took 0.030557 seconds and 4 git commands to generate.