]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-context.patch
- Allow to disable '__debug_install_post'
[packages/rpm.git] / rpm-context.patch
index 650150268be6e1db47ec59a169d29facc2d6561c..52e8859673bcb1511d15b70f8362d06565cbee3d 100644 (file)
@@ -42,3 +42,36 @@ diff -u -u -r2.52 -r2.54
        if (fcnb[ac] > 0) {
            av[ac] = t;
            t += fcnb[ac];
+Index: rpmsx.c
+===================================================================
+RCS file: /cvs/devel/rpm/lib/rpmsx.c,v
+retrieving revision 2.6
+diff -u -u -r2.6 rpmsx.c
+--- rpm/lib/rpmsx.c    25 Dec 2003 23:00:45 -0000      2.6
++++ rpm/lib/rpmsx.c    17 Jan 2004 17:52:19 -0000
+@@ -316,7 +316,10 @@
+ /*@=branchstate@*/
+     if ((fp = fopen(fn, "r")) == NULL) {
+-      perror(fn);
++      if (ENOENT == errno)
++          fprintf(stderr, _("Parsing SELinux file contexts skipped: %s: %s\n"), fn, strerror(errno));
++      else
++          perror(fn);
+       return -1;
+     }
+--- rpm-4.3/po/pl.po.orig      2004-02-01 20:33:57.000000000 +0100
++++ rpm-4.3/po/pl.po   2004-02-01 20:51:30.760959200 +0100
+@@ -2887,6 +2887,11 @@
+ msgid "Unable to open %s for reading: %s.\n"
+ msgstr "Nie mo¿na otworzyæ %s do odczytu: %s.\n"
++#: lib/rpmsx.c:320
++#, c-format
++msgid "Parsing SELinux file contexts skipped: %s: %s\n"
++msgstr "Pominiêto analizê kontekstów plików SELinuksa: %s: %s\n"
++
+ #: lib/rpmsx.c:343
+ #, c-format
+ msgid "%s:  no newline on line number %d (only read %s)\n"
This page took 0.258294 seconds and 4 git commands to generate.