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
1 For anyone who can't wait, here's the patch that fixed the r9 build.
2 Hopefully it will get committed very very soon as we have been without
3 working scroll wheels for a long time now. Patch follows.
4
5 Mark
6
7
8
9 --- xfree-4.2.0-r9.ebuild.orig Fri May 17 09:00:30 2002
10 +++ xfree-4.2.0-r9.ebuild Fri May 17 09:05:46 2002
11 @@-54,7 +54,11 @@
12 cp ${FILESDIR}/${PVR}/site.def config/cf/host.def
13 echo "#define DefaultGcc2i386Opt ${CFLAGS}" >> config/cf/host.def
14 echo "#define GccWarningOptions -Wno" >> config/cf/host.def
15 - echo "#define DefaultCCOptions -ansi" >> config/cf/host.def
16 +
17 + # ppc requires the xfree default for ppc ( -fsigned-char )
18 + if [ ${ARCH} != ppc ] ; then
19 + echo "#define DefaultCCOptions -ansi" >> config/cf/host.def
20 + fi
21
22 # optimize Mesa for architecture
23 if [ -n "`use sse`" ] ; then

Replies

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