summaryrefslogtreecommitdiff
path: root/source/x/x11/patch/xf86-video-geode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/patch/xf86-video-geode.patch')
-rw-r--r--source/x/x11/patch/xf86-video-geode.patch7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/x/x11/patch/xf86-video-geode.patch b/source/x/x11/patch/xf86-video-geode.patch
new file mode 100644
index 00000000..6bbc3b34
--- /dev/null
+++ b/source/x/x11/patch/xf86-video-geode.patch
@@ -0,0 +1,7 @@
+# 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(pScrn);' | while read file ; do
+ sed -i "s/miInitializeBackingStore(pScrn);//g" $file
+done