Bug#634052: transition: glew
On 2011-07-16 15:15, Joost Yervante Damad wrote:
> On Sat, 16 Jul 2011 14:48:57 +0200
> Niels Thykier <email@example.com> wrote:
>> I have checked the 1.5.8-3 -> 1.6.0-2 diff plus the news from
>> upstream and I get the feeling the SONAME bump is unneeded.
>> in config/version:
>> SO_MAJOR = $(GLEW_MAJOR).$(GLEW_MINOR)
>> LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) [...]
>> in config/Makefile.linux:
>> LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
>> I suspect that upstream got the SONAME part wrong here and
>> $(GLEW_MINOR) is not supposed to be in the SONAME. Could you please
>> ask your upstream if they really intended to do a SONAME bump for
>> "minor bug fixes and some new extensions"?
> There indeed are two symbols removed besides the usual additions:
> That could be a valid reason I guess.
Thanks for checking up on that. Usually symbols like that are intended
as private symbols; perhaps upstream or you could work upstream on
hiding these symbols so they can rename/remove them without having to
bump the SONAME.
I believe gcc's -fvisability or a linker script ought to do the trick.