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.
1 Index: autoconf-2.13/acgeneral.m4
2 diff -Nau autoconf-2.13/acgeneral.m4.orig autoconf-2.13/acgeneral.m4
3 --- autoconf-2.13/acgeneral.m4.orig Tue Jan 5 14:27:37 1999
4 +++ autoconf-2.13/acgeneral.m4 Thu Mar 2 12:04:32 2000
5 @@ -868,6 +868,10 @@
6 ac_aux_dir=$ac_dir
7 ac_install_sh="$ac_aux_dir/install.sh -c"
8 break
9 + elif test -f $ac_dir/shtool; then
10 + ac_aux_dir=$ac_dir
11 + ac_install_sh="$ac_aux_dir/shtool install -c"
12 + break
13 fi
14 done
15 if test -z "$ac_aux_dir"; then