xorg-libraries installs libXcursor.so.1, but libXcursor.so.1.0.2 is hardcoded

Rob spamrefuse at yahoo.com
Mon Oct 31 07:23:21 PST 2005


Hi,

The xorg-libraries port installs the file
"/usr/X11R6/lib/libXcursor.so.1".

However, in xc/lib/X11/Imakefile the version
"1.0.2" is hardcoded:

 SOXCURSORREV=1.0.2 
 XCURSOR_DEFINES = -DUSE_DYNAMIC_XCURSOR
-DLIBXCURSOR=\"libXcursor.so.$(SOXCURSORREV)\"

which is then used in xc/lib/X11/CrGlCur.c:

 static char libraryName[] = LIBXCURSOR;


This is rater odd: why installing libXcursor.so.1,
but hardcoded looking for libXcursor.so.1.0.2 ?

Yes, I know that in CrGlCur.c, the open_library()
function will try subsequently libXcursor.so.1.0.2,
libXcursor.so.1.0 and libXcursor.so.1, until it
succeeds with the last one....

So when it's hardcoded, why not doing it right
in the first place, and hardcode libXcursor.so.1
instead ?

Is this a bug/mistake?

Regards,
Rob.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-x11 mailing list