Re: [Mesa-dev] [PATCH 1/1] Use getprogname from stdlib.h on all BSDs and APPLE

2018-01-04 Thread Eric Engestrom
On Thursday, 2017-12-21 04:05:59 +, co...@sdf.org wrote: > On Wed, Dec 20, 2017 at 09:54:09AM -0600, Rob Herring wrote: > > Android could be added here. Android has had getprogname since > > Lollipop and we don't support versions older than that. It could be a > > follow-on patch too. > > Atta

Re: [Mesa-dev] [PATCH 1/1] Use getprogname from stdlib.h on all BSDs and APPLE

2017-12-20 Thread coypu
On Wed, Dec 20, 2017 at 09:54:09AM -0600, Rob Herring wrote: > Android could be added here. Android has had getprogname since > Lollipop and we don't support versions older than that. It could be a > follow-on patch too. Attached is a modified patch for this. I've switched the macro to use __ANDR

Re: [Mesa-dev] [PATCH 1/1] Use getprogname from stdlib.h on all BSDs and APPLE

2017-12-20 Thread Rob Herring
On Sun, Dec 17, 2017 at 4:02 PM, Maya Rashish wrote: > Remove EOL NetBSD < 1.x (this didn't work, since we don't > include sys/param.h). > Remove EOL FreeBSD < 4.4 > > Functionally changes OpenBSD which now uses getprogname instead of > fallback. > --- > src/util/xmlconfig.c | 17 +++-

[Mesa-dev] [PATCH 1/1] Use getprogname from stdlib.h on all BSDs and APPLE

2017-12-18 Thread Maya Rashish
Remove EOL NetBSD < 1.x (this didn't work, since we don't include sys/param.h). Remove EOL FreeBSD < 4.4 Functionally changes OpenBSD which now uses getprogname instead of fallback. --- src/util/xmlconfig.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src