mesa/mesa.patch

Fri, 16 Jan 2009 10:58:21 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2009 10:58:21 +0100
changeset 92
645923d1e875
permissions
-rw-r--r--

Correct and improve code logic, buildconf, and packaging. In particular:
1. Use descriptive variable names <var>libs instead of just <var>.
2. Although Nokia states in all Qt builds that 'NOTE: When linking
against OpenSSL, you can override the default library names
through OPENSSL_LIBS.' and even gives an example, their own
configuration logic rejects such an attempt. Correct this by
hard coding the OpenSSL library string in the configure script.
3. Consistently use the whitespace substitution [\t ] throughout.
4. Patch the buggy INCPATH of SQL plugin Qmake project files.
5. Add the 'x11' configuration variable to the qtconfig Qmake
project using the src/gui/gui.pro file as a model. This is
needed for qtconfig although not in other tools, because
the qtconfig buildconf indirectly includes qt_x11_p.h which
is dependent on X11 headers.
6. Avoid 'ld.so: fatal: hardware capability unsupported: SSE2 AMD_3DNow'
on platforms for which the config.tests/unix/[3dnow|sse2] succeed
although unsopported at run time by testing for the x86-64
instruction set at build time and regulating hardware capabilities.
7. Correctly install the desinger plugin by explicitly building it.
8. Remove custom plugin installation logic which is unnecessary.
9. Correct removal of temporary paths from shared object files.

     1 Index: configs/default
     2 --- src/glut/glx/glut_event.c.orig	2008-11-26 19:10:59.000000000 +0100
     3 +++ src/glut/glx/glut_event.c	2008-11-26 19:11:40.000000000 +0100
     4 @@ -24,7 +24,7 @@
     5  # ifdef __sgi
     6  #  include <bstring.h>    /* prototype for bzero used by FD_ZERO */
     7  # endif
     8 -# if (defined(__FreeBSD__) || defined(SVR4) || defined(CRAY) || defined(AIXV3)) && !defined(FD_SETSIZE)
     9 +# if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(SVR4) || defined(CRAY) || defined(AIXV3)) && !defined(FD_SETSIZE)
    10  #  include <sys/select.h> /* select system call interface */
    11  #  ifdef luna
    12  #   include <sysent.h>
    13 Index: src/glut/glx/glut_event.c
    14 --- configs/default.orig	2008-11-26 19:08:51.000000000 +0100
    15 +++ configs/default	2008-11-26 19:09:33.000000000 +0100
    16 @@ -27,8 +27,8 @@
    17  # Misc tools and flags
    18  SHELL = /bin/sh
    19  MKLIB = $(SHELL) $(TOP)/bin/mklib
    20 -MKLIB_OPTIONS = 
    21 -MKDEP = makedepend
    22 +MKLIB_OPTIONS = -static
    23 +MKDEP = @l_x11bindir@/makedepend
    24  MKDEP_OPTIONS = -fdepend
    25  MAKE = make
    26  INSTALL = $(SHELL) $(TOP)/bin/minstall

mercurial