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