Fri, 03 Aug 2012 20:11:53 +0200
Neutralize buggy code causing OpenPKG to have 'fatal problems' in
spite of correct installation, configuration, and operation. An
administrator suffering from this failure is even unable to
uninstall the flawed software.
michael@34 | 1 | Index: configs/default |
michael@34 | 2 | --- src/glut/glx/glut_event.c.orig 2008-11-26 19:10:59.000000000 +0100 |
michael@34 | 3 | +++ src/glut/glx/glut_event.c 2008-11-26 19:11:40.000000000 +0100 |
michael@34 | 4 | @@ -24,7 +24,7 @@ |
michael@34 | 5 | # ifdef __sgi |
michael@34 | 6 | # include <bstring.h> /* prototype for bzero used by FD_ZERO */ |
michael@34 | 7 | # endif |
michael@34 | 8 | -# if (defined(__FreeBSD__) || defined(SVR4) || defined(CRAY) || defined(AIXV3)) && !defined(FD_SETSIZE) |
michael@34 | 9 | +# if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(SVR4) || defined(CRAY) || defined(AIXV3)) && !defined(FD_SETSIZE) |
michael@34 | 10 | # include <sys/select.h> /* select system call interface */ |
michael@34 | 11 | # ifdef luna |
michael@34 | 12 | # include <sysent.h> |
michael@34 | 13 | Index: src/glut/glx/glut_event.c |
michael@34 | 14 | --- configs/default.orig 2008-11-26 19:08:51.000000000 +0100 |
michael@34 | 15 | +++ configs/default 2008-11-26 19:09:33.000000000 +0100 |
michael@34 | 16 | @@ -27,8 +27,8 @@ |
michael@34 | 17 | # Misc tools and flags |
michael@34 | 18 | SHELL = /bin/sh |
michael@34 | 19 | MKLIB = $(SHELL) $(TOP)/bin/mklib |
michael@34 | 20 | -MKLIB_OPTIONS = |
michael@34 | 21 | -MKDEP = makedepend |
michael@34 | 22 | +MKLIB_OPTIONS = -static |
michael@34 | 23 | +MKDEP = @l_x11bindir@/makedepend |
michael@34 | 24 | MKDEP_OPTIONS = -fdepend |
michael@34 | 25 | MAKE = make |
michael@34 | 26 | INSTALL = $(SHELL) $(TOP)/bin/minstall |