]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-lzma2.patch
- find_lang.patch dropped (source is modified instead)
[packages/rpm.git] / rpm-lzma2.patch
index 7b40b244f278464627fc6eeb9a1e84abf5df3f71..437e08bd04a1aec5799eb41ace30e20e5e86965c 100644 (file)
@@ -66,7 +66,7 @@ diff -Nru rpm-4.4.5.old/rpmio/Makefile.am rpm-4.4.5/rpmio/Makefile.am
 --- rpm-4.4.5.old/rpmio/Makefile.am    2006-04-22 15:02:56.000000000 +0200
 +++ rpm-4.4.5/rpmio/Makefile.am        2006-04-23 13:31:09.000000000 +0200
 @@ -22,14 +22,14 @@
-       argv.h fts.h rpmdav.h \
+       argv.h fts.h rmd128.h rmd160.h rpmdav.h \
        rpmio.h rpmurl.h rpmmacro.h rpmlog.h rpmmessages.h rpmerr.h rpmpgp.h \
        rpmsq.h rpmsw.h ugid.h
 -noinst_HEADERS = rpmio_internal.h rpmlua.h rpmhook.h
@@ -77,8 +77,8 @@ diff -Nru rpm-4.4.5.old/rpmio/Makefile.am rpm-4.4.5/rpmio/Makefile.am
  usrlibdir = $(libdir)@MARK64@
  usrlib_LTLIBRARIES = librpmio.la
  librpmio_la_SOURCES = \
--      argv.c digest.c fts.c macro.c rpmdav.c \
-+      LzmaDecode.c argv.c digest.c fts.c macro.c rpmdav.c \
+-      argv.c digest.c fts.c macro.c rmd128.c rmd160.c rpmdav.c \
++      LzmaDecode.c argv.c digest.c fts.c macro.c rmd128.c rmd160.c rpmdav.c \
        rpmhook.c rpmio.c rpmlog.c rpmlua.c rpmmalloc.c \
        rpmpgp.c rpmrpc.c rpmsq.c rpmsw.c strcasecmp.c strtolocale.c \
        stubs.c url.c ugid.c
@@ -205,7 +205,7 @@ diff -Nru rpm-4.4.5.old/rpmio/rpmio.c rpm-4.4.5/rpmio/rpmio.c
 +        dup2(p[0], 0);
 +        dup2(fdno, 1);
 +        for (i = 3; i < 1024; i++) close(i);
-+        if (execlp("lzma", "lzma", "e", "-si", "-so", NULL)) {
++        if (execl("/usr/bin/lzma", "lzma", "e", "-si", "-so", NULL)) {
 +            _exit(1);
 +          }
 +    }
This page took 0.061056 seconds and 4 git commands to generate.