--- PKGBUILD-3.1.2-1.orig 2011-11-29 02:49:23.640266170 +1100 +++ PKGBUILD 2011-11-29 02:51:28.360269957 +1100 @@ -8,7 +8,7 @@ _kernelname=${pkgname#linux} _basekernel=3.1 pkgver=${_basekernel}.2 -pkgrel=1 +pkgrel=1alps arch=('i686' 'x86_64') url="http://www.kernel.org/" license=('GPL2') @@ -18,6 +18,8 @@ "http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz" # the main kernel config files 'config' 'config.x86_64' + # ALPS support patch + 'alps.patch::https://bugzilla.redhat.com/attachment.cgi?id=529841&action=diff&context=patch&collapsed=&headers=1&format=raw' # standard config files for mkinitcpio ramdisk "${pkgname}.preset" 'change-default-console-loglevel.patch' @@ -28,6 +30,7 @@ '7ac42443a734c9102143944828ea6715' 'cbaaa923f00c1935055273ccc1630144' '93687a4b7e1e6bcd4e7417d6e5079bc4' + '2472654d900345d5ae8f59bb2aa24786' 'eb14dcfd80c00852ef81ded6e826826a' '9d3c56a4b999c8bfbd4018089a62f662' '263725f20c0b9eb9c353040792d644e5' @@ -66,6 +69,10 @@ # (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227) patch -Np1 -i "${srcdir}/change-default-console-loglevel.patch" + # support ALPS touchpad as seen in + # https://bugzilla.redhat.com/show_bug.cgi?id=590880 + patch -Np1 -i "${srcdir}/alps.patch" + if [ "${CARCH}" = "x86_64" ]; then cat "${srcdir}/config.x86_64" > ./.config else