summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/x/x11/patch/xf86-video-chips.patch
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/x/x11/patch/xf86-video-chips.patch')
-rw-r--r--slackware64-current/source/x/x11/patch/xf86-video-chips.patch17
1 files changed, 10 insertions, 7 deletions
diff --git a/slackware64-current/source/x/x11/patch/xf86-video-chips.patch b/slackware64-current/source/x/x11/patch/xf86-video-chips.patch
index a9ddcaa4d..10ca334da 100644
--- a/slackware64-current/source/x/x11/patch/xf86-video-chips.patch
+++ b/slackware64-current/source/x/x11/patch/xf86-video-chips.patch
@@ -16,10 +16,13 @@
# iopl.h obtained from git repo
cp $CWD/patch/xf86-video-chips/iopl.h util/ \
|| { 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
+
+zcat $CWD/patch/xf86-video-chips/0001-Remove-mibstore.h.patch.gz \
+ | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+zcat $CWD/patch/xf86-video-chips/0002-Require-ANSI-C89-pre-processor-drop-pre-C89-token-pa.patch.gz \
+ | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+zcat $CWD/patch/xf86-video-chips/0003-ddc-Use-own-thunk-function-instead-of-vgaHWddc1SetSp.patch.gz \
+ | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+zcat $CWD/patch/xf86-video-chips/0004-Update-for-xserver-1.17.patch.gz \
+ | patch -p1 --verbose || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+