Gentoo Archives: gentoo-ppc-dev

From: Mark Guertin <mguertin@×××××××××××××.com>
To: gentooppc-dev@g.o
Subject: [gentooppc-dev] X scrollwheel (the real fix)
Date: Sun, 19 May 2002 11:57:56
Message-Id: 8FE0A00D-6B49-11D6-9235-00039381DD9A@macdiscussion.com
In Reply to: Re: [gentooppc-dev] xfree scroll-up: fixed by Mark Guertin
For anyone who can't wait, here's the patch that fixed the r9 build.  
Hopefully it will get committed very very soon as we have been without 
working scroll wheels for a long time now.  Patch follows.

Mark



--- xfree-4.2.0-r9.ebuild.orig Fri May 17 09:00:30 2002
+++ xfree-4.2.0-r9.ebuild    Fri May 17 09:05:46 2002
@@-54,7 +54,11 @@
      cp ${FILESDIR}/${PVR}/site.def config/cf/host.def
      echo "#define DefaultGcc2i386Opt ${CFLAGS}" >> config/cf/host.def
      echo "#define GccWarningOptions -Wno" >> config/cf/host.def
-    echo "#define DefaultCCOptions -ansi" >> config/cf/host.def
+
+    # ppc requires the xfree default for ppc ( -fsigned-char )
+    if [ ${ARCH} != ppc ] ; then
+        echo "#define DefaultCCOptions -ansi" >> config/cf/host.def
+    fi

      # optimize Mesa for architecture
      if [ -n "`use sse`" ] ; then

Replies

Subject Author
Re: [gentooppc-dev] X scrollwheel (the real fix) Kain <kain@××××.org>