summaryrefslogtreecommitdiff
path: root/media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-10-10 17:39:12 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-10-10 17:39:12 +0100
commit0020758a799677be922f25ddd05a8034f21400c7 (patch)
treebb35a39b25fe32b32ed3602e0026703db39c5f14 /media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch
parenta86864872e56fb96708e2052407715dcf92d47a4 (diff)
with this commit, kogaion overlay is finally clean of unused and deprecated ebuilds
Diffstat (limited to 'media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch')
-rw-r--r--media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch74
1 files changed, 0 insertions, 74 deletions
diff --git a/media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch b/media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch
deleted file mode 100644
index bc7b6ee0..00000000
--- a/media-gfx/splashutils/files/splashutils-openrc-0.4-fix.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-commit a58099249acdce1fbdab19f5dfea0704c4c545f2
-Author: MichaƂ Januszewski <spock@gentoo.org>
-Date: Sun Dec 28 13:32:16 2008 +0100
-
- gentoo: make the splash plugin work with OpenRC 0.4.*
-
-diff --git a/gentoo/splash.c b/gentoo/splash.c
-index 26d0fa4..b6fa774 100644
---- a/gentoo/splash.c
-+++ b/gentoo/splash.c
-@@ -593,7 +593,7 @@ static int splash_start(const char *runlevel)
-
- /* Get a list of services that we'll have to handle. */
- /* We're rebooting/shutting down. */
-- if (!strcmp(runlevel, RC_LEVEL_SHUTDOWN) || !strcmp(runlevel, RC_LEVEL_REBOOT)) {
-+ if (!strcmp(runlevel, RC_LEVEL_SHUTDOWN)) {
- if ((err = fbsplash_cache_prep()))
- return err;
- splash_svcs_stop(runlevel);
-@@ -690,10 +690,14 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- int retval = 0;
-
- runlev = rc_runlevel_get();
-- if (!strcmp(runlev, RC_LEVEL_REBOOT))
-- type = fbspl_reboot;
-- else if (!strcmp(runlev, RC_LEVEL_SHUTDOWN))
-- type = fbspl_shutdown;
-+ if (!strcmp(runlev, RC_LEVEL_SHUTDOWN)) {
-+ char *t = getenv("RUNLEVEL");
-+ if (t && !strcmp(t, "6")) {
-+ type = fbspl_reboot;
-+ } else {
-+ type = fbspl_shutdown;
-+ }
-+ }
-
- /* Get boot and default levels from env variables exported by RC.
- * If unavailable, use the default ones. */
-@@ -716,7 +720,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- list = rc_stringlist_new();
- get_list_fp(list, fp);
- TAILQ_FOREACH(s, list, entries)
-- rc_service_mark(s->value, RC_SERVICE_COLDPLUGGED);
-+ rc_service_mark(s->value, RC_SERVICE_HOTPLUGGED);
- pclose(fp);
- rc_stringlist_free(list);
- }
-@@ -739,7 +743,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- goto exit;
-
- if (rc_runlevel_stopping() && strcmp(runlev, bootlevel) &&
-- strcmp(runlev, RC_LEVEL_REBOOT) && strcmp(runlev, RC_LEVEL_SHUTDOWN))
-+ strcmp(runlev, RC_LEVEL_SHUTDOWN))
- goto exit;
- }
-
-@@ -763,7 +767,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- case RC_HOOK_RUNLEVEL_STOP_IN:
- /* Start the splash daemon on reboot. The theme hook is called
- * from splash_start(). */
-- if (strcmp(name, RC_LEVEL_REBOOT) == 0 || strcmp(name, RC_LEVEL_SHUTDOWN) == 0) {
-+ if (strcmp(name, RC_LEVEL_SHUTDOWN) == 0) {
- if ((i = splash_start(name))) {
- fbsplash_set_verbose(0);
- retval= i;
-@@ -788,7 +792,7 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
- case RC_HOOK_RUNLEVEL_STOP_OUT:
- /* Make sure the progress indicator reaches 100%, even if
- * something went wrong along the way. */
-- if (strcmp(name, RC_LEVEL_REBOOT) == 0 || strcmp(name, RC_LEVEL_SHUTDOWN) == 0) {
-+ if (strcmp(name, RC_LEVEL_SHUTDOWN) == 0) {
- config->verbosity = FBSPL_VERB_QUIET;
- i = fbsplash_check_daemon(&pid_daemon);
- config->verbosity = FBSPL_VERB_NORMAL;