re: MesaLib

matthew green <[email protected]> Wed, 12 Jul 2023 07:49:15 +1000
Newsgroups gmane.os.netbsd.devel.x11
Message-ID <[email protected]>
thanks for working on this.

> <https://ftp.NetBSD.org/pub/NetBSD/misc/rjs/mesa/xorg.diff.gz>

this looks fine, thanks for fixing/finding the missing .old things.

> <https://ftp.NetBSD.org/pub/NetBSD/misc/rjs/mesa/MesaLib.diff>

Index: src/util/macros.h
...
+#include <sys/param.h>

what's this part about?  i suspect is why the earlier patch:

+#ifndef __NetBSD__
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
 #define MAX(a, b) ((a) > (b) ? (a) : (b))
+#endif

was needed?  oh, i guess for CACHE_LINE_SIZE.  hmm.  i wonder if
we have a better way of doing this...


.mrg.