aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/fix-miregion-private
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/fix-miregion-private')
-rw-r--r--xorg-server/fix-miregion-private14
1 files changed, 14 insertions, 0 deletions
diff --git a/xorg-server/fix-miregion-private b/xorg-server/fix-miregion-private
new file mode 100644
index 000000000..a294c4f96
--- /dev/null
+++ b/xorg-server/fix-miregion-private
@@ -0,0 +1,14 @@
+#!/bin/sh
+sed -i \
+-e 's/miEmptyBox\b/RegionEmptyBox/g' \
+-e 's/miEmptyData\b/RegionEmptyData/g' \
+-e 's/miBrokenData\b/RegionBrokenData/g' \
+-e 's/miBrokenRegion\b/RegionBrokenRegion/g' \
+-e 's/miCoalesce\b/RegionCoalesce/g' \
+-e 's/miAppendNonO\b/RegionAppendNonO/g' \
+-e 's/miRegionOp\b/RegionOp/g' \
+-e 's/miSetExtents\b/RegionSetExtents/g' \
+-e 's/miIntersectO\b/RegionIntersectO/g' \
+-e 's/miUnionO\b/RegionUnionO/g' \
+-e 's/miSubtractO\b/RegionSubtractO/g' \
+"$@"