summaryrefslogtreecommitdiff
path: root/sys-apps/openrc/files/openrc-0.5.3-disable_warns_until_migrated.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/openrc/files/openrc-0.5.3-disable_warns_until_migrated.patch')
-rw-r--r--sys-apps/openrc/files/openrc-0.5.3-disable_warns_until_migrated.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/openrc-0.5.3-disable_warns_until_migrated.patch b/sys-apps/openrc/files/openrc-0.5.3-disable_warns_until_migrated.patch
new file mode 100644
index 00000000..eb4ed168
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-0.5.3-disable_warns_until_migrated.patch
@@ -0,0 +1,16 @@
+diff -Nurp openrc-0.5.3.orig/sh/rc-functions.sh.in openrc-0.5.3/sh/rc-functions.sh.in
+--- openrc-0.5.3.orig/sh/rc-functions.sh.in 2009-12-02 20:08:02.000000000 +0100
++++ openrc-0.5.3/sh/rc-functions.sh.in 2009-12-26 05:42:17.000000000 +0100
+@@ -18,10 +18,10 @@ _addon_warn()
+ import_addon()
+ {
+ if [ -e /@LIB@/rc/addons/"$1".sh ]; then
+- _addon_warn
++ # _addon_warn
+ . /@LIB@/rc/addons/"$1".sh
+ elif [ -e /@LIB@/rcscripts/addons/"$1".sh ]; then
+- _addon_warn
++ # _addon_warn
+ . /@LIB@/rcscripts/addons/"$1".sh
+ else
+ return 1