xserver: Branch 'xorg-server-1.2-apple'

Ben Byer bbyer at kemper.freedesktop.org
Thu Dec 6 20:51:40 PST 2007


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7caf51d1a5a86ae884e0087795636222c082962c
Author: Ben Byer <bbyer at bbyer.apple.com>
Date:   Thu Dec 6 20:51:32 2007 -0800

    ALLOCATE_LOCAL is dangerous on Darwin due to memory layout differences
    from Linux, so let's define NO_ALLOCA.

diff --git a/configure.ac b/configure.ac
index 93f009a..9c134de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1649,7 +1649,7 @@ if test "x$XQUARTZ" = xyes; then
 	       AC_SUBST([DARWIN_LIBS])
                AC_CHECK_LIB([Xplugin],[xp_init],[:])
                AC_SUBST([APPLE_APPLICATIONS_DIR])
-               CFLAGS="${CFLAGS} -D__DARWIN__ -DROOTLESS_WORKAROUND"
+               CFLAGS="${CFLAGS} -D__DARWIN__ -DROOTLESS_WORKAROUND -DNO_ALLOCA"
                PLIST_VERSION_STRING=$PACKAGE_VERSION
                AC_SUBST([PLIST_VERSION_STRING])
                PLIST_VENDOR_WEB=$VENDOR_WEB


More information about the xorg-commit mailing list