Neutralize buggy code causing OpenPKG to have 'fatal problems' in

Fri, 03 Aug 2012 20:11:53 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 03 Aug 2012 20:11:53 +0200
changeset 470
f8813e60f168
parent 469
65414bdd541c
child 471
8fac5290decb

Neutralize buggy code causing OpenPKG to have 'fatal problems' in
spite of correct installation, configuration, and operation. An
administrator suffering from this failure is even unable to
uninstall the flawed software.

openpkg/openpkg.spec file | annotate | diff | comparison | revisions
     1.1 --- a/openpkg/openpkg.spec	Fri Aug 03 17:45:51 2012 +0200
     1.2 +++ b/openpkg/openpkg.spec	Fri Aug 03 20:11:53 2012 +0200
     1.3 @@ -1200,6 +1200,12 @@
     1.4            -e 's;^\(#include  *<[^>][^>]*>\);/*\1*/;g' \
     1.5            rpmconstant/rpmconstant.h
     1.6  
     1.7 +      #   Avoid bugs causing 'fatal problems'
     1.8 +      sh $shtool subst \
     1.9 +          -e 's;\(rc = INTEGRITY\)_ERROR;\1_OK;g' \
    1.10 +          -e 's;integrity_check_message("%s\\n", result);((void)0);g' \
    1.11 +          rpmqv.c
    1.12 +
    1.13        #   provide nonstandard constructs
    1.14        cat > nonstandard.h <<EOF
    1.15  /* MSvB: define missing nonstandard GCC builtin extensions */

mercurial