[security] x11 (2.2): applied the patch for CVE-2006-0745

This commit is contained in:
Tilman Sauerbeck 2006-03-20 18:42:41 +00:00
parent 0080472a14
commit 46734edf4c

View File

@ -8,12 +8,13 @@ name=x11
version=6.9.0
release=2
source=(http://ftp.x.org/pub/X11R${version}/src-single/X11R${version}-src.tar.bz2 \
$name-$version-xterm256.patch $name-$version-linux_config.patch xdm host.def)
$name-$version-xterm256.patch $name-$version-linux_config.patch xdm host.def http://xorg.freedesktop.org/releases/X11R${version}/patches/${name}r${version}-geteuid.diff)
build() {
cd xc
patch -p1 < $SRC/$name-$version-xterm256.patch
patch -p1 < $SRC/$name-$version-linux_config.patch
patch -p0 < $SRC/${name}r${version}-geteuid.diff
sed "s/#CFLAGS#/$CFLAGS/" $SRC/host.def > config/cf/host.def
make World