Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
upstream_Fix-sort_r-selection-on-GNU-Hurd.patch | [PATCH] Fix sort_r selection on GNU/Hurd The Hurd is based on the Mach microkernel, and thus __MACH__ is defined; since also macOS is (loosely) based on Mach, it defines __MACH__ as well. Because of this, the wrong variant of sort_r (i.e. the BSD one) is used for the Hurd, which does not work. Since on macOS __APPLE__ is defined, and __DARWIN__ helps for older Mac OS X, then simply drop the __MACH__ selection: the preprocessor check for the Linux sort_r is properly used for the Hurd (using __GNU__), and that variant works fine. |
Pino Toscano <toscano.pino@tiscali.it> | no | 2023-07-03 |