[Xquartz-changes] xserver: Branch 'master'

Jeremy Huddleston jeremyhu at freedesktop.org
Sun Oct 9 04:03:12 PDT 2011

 hw/xfree86/sdksyms.sh |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit de10613b5135b80225f35b764b968babf7358048
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Sun Oct 9 04:00:41 2011 -0700

    loader: when creating sdksyms.c only include shmint.h if MITSHM is enabled #29109
    When configured with --disable-mitshm the symbols declared in shmint.h
    do not exist. By guarding the include with '#ifdef MITSHM' these
    symbols are skipped when generating sdksyms.c with --disable-mitshm.
    Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>
    Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh
index 19795d5..b8e7023 100755
--- a/hw/xfree86/sdksyms.sh
+++ b/hw/xfree86/sdksyms.sh
@@ -52,7 +52,9 @@ cat > sdksyms.c << EOF
 #include "geext.h"
 #include "geint.h"
+#ifdef MITSHM
 #include "shmint.h"
 #include "syncsdk.h"
 # include "panoramiXsrv.h"

More information about the Xquartz-changes mailing list