Henry: > We are trying to find out the common issue when porting some open source > project to OpenSolaris, which exist in core system, for example, some > issue in compiler, libc, etc. So that these can be fixed in the core > system, we don't need to keep much patches, and make the porting > smoothly/easier later.
The incompatibilities between GNU gettext and Sun gettext requires the many patches which refer to AM_GNU_GETTEXT. Would be nice to fix that one. Most of our patches are branding related. If we worked with the upstream communities to make it easier to brand via configuration options, then this could eliminate the need to maintain so many patches. From my experience, the most common porting issues are caused when programs depend on GNUC extensions which are not supported on Sun Studio. Also, other common problems are caused when Solaris doesn't support some basic kernel function, such as getifaddrs, which Ghee mentioned. Note that our team already works with the Sun Studio and other teams to address such problems in the core. I'd bet dozens of bugs have been fixed in Sun Studio based on bug reports discovered by the Desktop team. There are still some annoying differences which could be fixed, such as fixing Sun Studio so it allows empty structures and removing the need for patches like libsoup-01-empty-struct.diff. > We are getting some ones from our patches repository, and your input is > also big helpful, I believe. This might be interesting to you: http://ittdev.east.sun.com/DiffDoc/SolarisLinux/ Brian
