SHA256
3
0
forked from pool/texinfo
texinfo/install-info_exitcode.patch
Dominique Leuenberger c7f35f0a50 - Move texindex.awk to package texinfo as texindex(1) is part of
and use this awk script

- Port the texinfo-zlib.patch to new version 6.6 to solve build problems 

- Update to version 6.6:
  * Language:
    . new commands @&, @ampchar{}
    . @cropmarks command removed
    . @ctrl is no longer recognised (it was a way to insert literal
      control characters in Info files, but deprecated since the
      time of Texinfo version 2)
    . \usebracesinindexestrue is no longer recommended for using braces in
      index entries, and has been a no-op for some time
  * texi2any
    . extension modules fixed to work with the "thread-safe locales" of
      Perl 5.28 and newer
    . some code changed to stop warnings being given by newer versions of Perl
    . for HTML output, use `id' to define link targets instead of the `name'
      attribute on <a>
    . A native-code implementation of the Texinfo parser has been included
      on an experimental basis, which makes texi2any a lot faster.  Set the
      `TEXINFO_XS_PARSER' environment variable to 1 to use.
    . changes to HTML output:
      . omit colon after node name in menus by default (use
        `MENU_ENTRY_COLON' to add it back)
      . no special CSS for commands like @smallexample
      . new customization variable `SECTION_NAME_IN_TITLE' to use the
        section name as the document <title>
      . use section names instead of node names in generated menus

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texinfo?expand=0&rev=55
2019-09-11 08:15:31 +00:00

42 lines
1.2 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Author: Adam Majer <amajer@suse.de>
Date: Fri Apr 6 10:59:49 CEST 2018
Bug: bsc#1084997
Summary: revert behaviour change since SLE11/SLE12
For package that tries to remove non-existent info page.
/sbin/install-info --quiet --delete --info-dir=/usr/share/info
/usr/share/info/blubber.info.gz ; echo $?
0
in SLE15,
/sbin/install-info --quiet --delete --info-dir=/usr/share/info
/usr/share/info/blubber.info.gz ; echo $?
install-info: No such file or directory for
/usr/share/info/blubber.info.gz
1
So, we need to keep return code on failure to be 0 since suse_macros are missing
||: which results in broken packages that worked before to stop working now. This
is affecting upgrade process.
https://bugzilla.suse.com/show_bug.cgi?id=1084997
Index: texinfo-6.6/install-info/install-info.c
===================================================================
--- texinfo-6.6.orig/install-info/install-info.c
+++ texinfo-6.6/install-info/install-info.c
@@ -246,7 +246,7 @@ fatal (const char *fmt, ...)
va_start (ap, fmt);
vdiag (fmt, NULL, ap);
va_end (ap);
- exit (EXIT_FAILURE);
+ exit (EXIT_SUCCESS);
}
/* Return a newly-allocated string