# Provide API compat between xorg-server post 1.13 and pre it. zcat $CWD/patch/xf86-video-armsoc/x11.driver.xf86-video-armsoc.patch.gz | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; } # 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