1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mesa/mesa.patch Thu Jan 08 10:18:50 2009 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +Index: configs/default 1.5 +--- src/glut/glx/glut_event.c.orig 2008-11-26 19:10:59.000000000 +0100 1.6 ++++ src/glut/glx/glut_event.c 2008-11-26 19:11:40.000000000 +0100 1.7 +@@ -24,7 +24,7 @@ 1.8 + # ifdef __sgi 1.9 + # include <bstring.h> /* prototype for bzero used by FD_ZERO */ 1.10 + # endif 1.11 +-# if (defined(__FreeBSD__) || defined(SVR4) || defined(CRAY) || defined(AIXV3)) && !defined(FD_SETSIZE) 1.12 ++# if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(SVR4) || defined(CRAY) || defined(AIXV3)) && !defined(FD_SETSIZE) 1.13 + # include <sys/select.h> /* select system call interface */ 1.14 + # ifdef luna 1.15 + # include <sysent.h> 1.16 +Index: src/glut/glx/glut_event.c 1.17 +--- configs/default.orig 2008-11-26 19:08:51.000000000 +0100 1.18 ++++ configs/default 2008-11-26 19:09:33.000000000 +0100 1.19 +@@ -27,8 +27,8 @@ 1.20 + # Misc tools and flags 1.21 + SHELL = /bin/sh 1.22 + MKLIB = $(SHELL) $(TOP)/bin/mklib 1.23 +-MKLIB_OPTIONS = 1.24 +-MKDEP = makedepend 1.25 ++MKLIB_OPTIONS = -static 1.26 ++MKDEP = @l_x11bindir@/makedepend 1.27 + MKDEP_OPTIONS = -fdepend 1.28 + MAKE = make 1.29 + INSTALL = $(SHELL) $(TOP)/bin/minstall