Wed, 01 Aug 2012 23:49:03 +0200
Hack rpmconstant header file to allow targets to build, because...
Solaris studio cc(1) fails to build targets in rpmconstant with errors:
'undefined symbol first referenced in file constant.o' regarding symbols:
rpmdsInit, rpmdsNext, rpmdsTagN, rpmHeaderFormats, hdrVec, rpmTagTable,
rpmdsSearch, rpmdsResult, rpmTags, rpmdsIx, rpmdsDNEVR, rpmdsSetResult.
It seems that these symbols are not used by RPM in any way, and thus
the build configuration can succeed without including the nasty headers.
michael@11 | 1 | Index: autoconf-2.13/acgeneral.m4 |
michael@11 | 2 | diff -Nau autoconf-2.13/acgeneral.m4.orig autoconf-2.13/acgeneral.m4 |
michael@11 | 3 | --- autoconf-2.13/acgeneral.m4.orig Tue Jan 5 14:27:37 1999 |
michael@11 | 4 | +++ autoconf-2.13/acgeneral.m4 Thu Mar 2 12:04:32 2000 |
michael@11 | 5 | @@ -868,6 +868,10 @@ |
michael@11 | 6 | ac_aux_dir=$ac_dir |
michael@11 | 7 | ac_install_sh="$ac_aux_dir/install.sh -c" |
michael@11 | 8 | break |
michael@11 | 9 | + elif test -f $ac_dir/shtool; then |
michael@11 | 10 | + ac_aux_dir=$ac_dir |
michael@11 | 11 | + ac_install_sh="$ac_aux_dir/shtool install -c" |
michael@11 | 12 | + break |
michael@11 | 13 | fi |
michael@11 | 14 | done |
michael@11 | 15 | if test -z "$ac_aux_dir"; then |