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: scanner.l
2 --- scanner.l.orig 2007-06-11 21:34:28 +0200
3 +++ scanner.l 2007-12-19 10:56:36 +0100
4 @@ -81,13 +81,6 @@
5 B ([0-9A-Fa-f][0-9A-Fa-f]?)
6 W ([0-9A-Fa-f][0-9A-Fa-f]?[0-9A-Fa-f]?[0-9A-Fa-f]?)
8 -%a 18400
9 -%o 21500
10 -%e 7600
11 -%k 4550
12 -%p 27600
13 -%n 2000
14 -
15 V680 {W}:{W}:{W}:{W}:{W}:{W}:{W}:{W}
17 V670 ::{W}:{W}:{W}:{W}:{W}:{W}:{W}