The patches gdm-06-xfree-xinerama.diff and gtk+-15-xfree-xinerama.diff have been reworked. The new versions are attached. These patches no longer just strip out the Solaris Xinerama extension code. Instead they fix the GDM and GTK+ configure scripts to first check for the Xfree Xinerama interfaces, and then fallback to the Solaris interfaces if the Xfree ones are not available.
I have tested both patches with Xfree and Solaris Xinerama extensions and they work fine. If /usr/lib/pkgconfig/xinerama.pc and /usr/X11/include/X11/extensions/Xinerama.h are on the system, then the Xfree interfaces will be used. If not, then the Solaris interfaces are used. This is a better approach, and we should be able to get these patches upstream with this change. The gtk+-18-medialib.diff patch modifies how mediaLib checks to see if libumem.so is being used so that we only use RLTD_PROBE. I have tested and verified that with this change the mediaLib functions are not used when LD_PRELOAD=libumem.so is set. Note that the need to disable mediaLib when libumem.so is being used is to workaround mediaLib bug #6192081. So, this helps to fix CR #6831308 and should improve performance because the other tests were triggering lazy loading of dependencies. Just using RLTD_PROBE avoids this. Brian -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gdm-06-xfree-xinerama.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20090424/8c88f102/attachment.ksh> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gtk+-15-xfree-xinerama.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20090424/8c88f102/attachment-0001.ksh> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: gtk+-18-medialib.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20090424/8c88f102/attachment-0002.ksh>
