summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/vmware-player/files/helpers/module_patcher.sh')
-rwxr-xr-xapp-emulation/vmware-player/files/helpers/module_patcher.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-emulation/vmware-player/files/helpers/module_patcher.sh b/app-emulation/vmware-player/files/helpers/module_patcher.sh
new file mode 100755
index 000000000000..03c490a73959
--- /dev/null
+++ b/app-emulation/vmware-player/files/helpers/module_patcher.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+MY_BASE=$(basename $1)
+if [ -f ${FILESDIR}/${PV}/${MY_BASE}.patch ];
+then
+ echo -n "Module Patcher: "
+ patch -f -p1 ${1} < ${FILESDIR}/${PV}/${MY_BASE}.patch
+fi