2017-06-07 21:54 GMT+08:00 Jonathan Gray <j...@jsg.id.au>: > On Wed, Jun 07, 2017 at 02:45:15PM +0100, Emil Velikov wrote: >> On 6 June 2017 at 07:30, Chih-Wei Huang <cwhu...@android-x86.org> wrote: >> >>> These are are due to program_invocation_short_name/getprogname. How >> >>> about updating the file alike xmlconfig.c? >> >> >> >> Oh... I didn't notice that. >> >> Let me check. >> > >> > Well, I saw several BSD OSes define >> > the same context: >> > >> > #elif defined(__NetBSD__) && defined(__NetBSD_Version__) && >> > (__NetBSD_Version__ >= 106000100) >> > # include <stdlib.h> >> > # define GET_PROGRAM_NAME() getprogname() >> > #elif defined(__DragonFly__) >> > # include <stdlib.h> >> > # define GET_PROGRAM_NAME() getprogname() >> > #elif defined(__APPLE__) >> > # include <stdlib.h> >> > # define GET_PROGRAM_NAME() getprogname() >> > #elif ... >> > >> > Not sure why has no OpenBSD? >> Your guess is as good as mine. Jonathan, any ideas if/who this is >> supposed to work for you guys? > > I have no idea where that block comes from as the latest > src/gallium/auxiliary/os/os_process.c
Sorry. A little off-topic. Yes, the original patch is about os_process.c. But now we are talking about xmlconfig.c (in src/mesa/drivers/dri/common/ ) > is still > #elif defined(__GLIBC__) || defined(__CYGWIN__) > name = program_invocation_short_name; > #elif defined(PIPE_OS_BSD) || defined(PIPE_OS_APPLE) > /* *BSD and OS X */ > name = getprogname(); > #elif defined(PIPE_OS_HAIKU) > image_info info; > get_image_info(B_CURRENT_TEAM, &info); > name = info.name; > #else > #warning unexpected platform in os_process.c > return FALSE; > #endif -- Chih-Wei Android-x86 project http://www.android-x86.org _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev