openpkg/openpkg.spec

changeset 470
f8813e60f168
parent 461
09d8a3107646
child 472
0746a003fc03
equal deleted inserted replaced
25:ab09b03f2d22 26:848f460f23dc
1197 1197
1198 # remove unused and undefined methods 1198 # remove unused and undefined methods
1199 sh $shtool subst \ 1199 sh $shtool subst \
1200 -e 's;^\(#include *<[^>][^>]*>\);/*\1*/;g' \ 1200 -e 's;^\(#include *<[^>][^>]*>\);/*\1*/;g' \
1201 rpmconstant/rpmconstant.h 1201 rpmconstant/rpmconstant.h
1202
1203 # Avoid bugs causing 'fatal problems'
1204 sh $shtool subst \
1205 -e 's;\(rc = INTEGRITY\)_ERROR;\1_OK;g' \
1206 -e 's;integrity_check_message("%s\\n", result);((void)0);g' \
1207 rpmqv.c
1202 1208
1203 # provide nonstandard constructs 1209 # provide nonstandard constructs
1204 cat > nonstandard.h <<EOF 1210 cat > nonstandard.h <<EOF
1205 /* MSvB: define missing nonstandard GCC builtin extensions */ 1211 /* MSvB: define missing nonstandard GCC builtin extensions */
1206 #ifndef __GNUC__ 1212 #ifndef __GNUC__

mercurial