# 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 ; }