summaryrefslogtreecommitdiffstats
path: root/source/x/x11/patch/xf86-video-tseng.patch
blob: 878d41354aecf80b73810c64167cd36a12ef64ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# Remove obsolete references to mibstore.h and miInitializeBackingStore():
grep -r -l '#include "mibstore.h"' * | while read file ; do
  sed -i "s/#include \"mibstore.h\"//g" $file
done
grep -r -l 'miInitializeBackingStore(pScreen);' | while read file ; do
  sed -i "s/miInitializeBackingStore(pScreen);//g" $file
done

# Patch for xorg-server-1.20.x:
zcat $CWD/patch/xf86-video-tseng/xf86-video-tseng.xorg-server-1.20.x.diff.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }