mesa/mesa.patch

Sun, 03 Apr 2011 13:34:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 03 Apr 2011 13:34:55 +0200
changeset 337
f71e028eb3e2
permissions
-rw-r--r--

Correct and improve several packaging aspects including...
Correct datadir path for python modules, correct jar(1) path for
building libgcj classes, strip libexecdir path of version numbers,
improve name of oblbld build path, clean whitespace from as(1) and
ld(1) GNU detection, remove seemingly discarded '--with-local-prefix'
configure argument, and correct hardcoded lto plugin libtool archive
dependency information.

Most importantly, correct IA32 architecture detection logic in
config.gcc to correctly emit SSE2 instructions conditionally, leading
to the removal of all '-march' bootstrap options and replacement with
unconditional (for IA32/AMD64) '-mtune=native' options. Comments and
buildtime warnings are corrected appropriately. In theory these changes
cause a more portable, orthoganal, and optimal bootstrap to be built.

     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