Added compatibility patch for X ABI 1.13

This commit is contained in:
Erik Andersson 2013-02-20 14:35:34 -06:00
parent 9252e5f077
commit b34a2b25e8

View file

@ -15,23 +15,29 @@ license=('GPL2')
makedepends=('git' 'pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool')
replaces=('xf86-video-armsoc')
source=('compat_post_X_1.13.patch')
md5sums=('402a7285d410c58a746152bb0012a746')
_gitroot="http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git"
_gitname="xf86-video-armsoc"
build() {
cd "$srcdir"
msg "Connecting to git server...."
msg "Connecting to git server..."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
cd "$_gitname"
cd "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Patching source..."
# X 1.13 compatibility from the Linaro upstream
patch -p1 -i ${srcdir}/compat_post_X_1.13.patch
msg "Starting build..."
./autogen.sh
./configure --prefix=/usr