Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/splashutils/files: splashutils-1.5.4.3-splash-functions.patch splashutils-1.5.4.3-splash_util.patch
Date: Sun, 10 Oct 2010 13:04:20
Message-Id: 20101010125204.CEB5B20051@flycatcher.gentoo.org
1 spock 10/10/10 12:52:04
2
3 Added: splashutils-1.5.4.3-splash-functions.patch
4 splashutils-1.5.4.3-splash_util.patch
5 Log:
6 Add two patches to fix bug #339767.
7
8 (Portage version: 2.1.9.14/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 media-gfx/splashutils/files/splashutils-1.5.4.3-splash-functions.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/splashutils/files/splashutils-1.5.4.3-splash-functions.patch?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/splashutils/files/splashutils-1.5.4.3-splash-functions.patch?rev=1.1&content-type=text/plain
15
16 Index: splashutils-1.5.4.3-splash-functions.patch
17 ===================================================================
18 commit 7077483874a842c607d6e877696891ba4d5f1dd7
19 Author: MichaƂ Januszewski <spock@g.o>
20 Date: Sat Oct 9 21:07:37 2010 +0200
21
22 Fix a bug in splash-functions.sh.
23
24 This problem was reported in Gentoo bug #339767.
25
26 diff --git a/core/scripts/splash-functions.sh.in b/core/scripts/splash-functions.sh.in
27 index 1a89486..2c39c6a 100644
28 --- a/core/scripts/splash-functions.sh.in
29 +++ b/core/scripts/splash-functions.sh.in
30 @@ -341,7 +341,7 @@ splash_comm_send() {
31
32 # Returns the current splash mode.
33 splash_get_mode() {
34 - local ctty="${spl_bindir}/fgconsole"
35 + local ctty="$({spl_bindir}/fgconsole)"
36 local mode="$(${spl_util})"
37
38 if [ "${mode}" = "silent" ]; then
39
40
41
42 1.1 media-gfx/splashutils/files/splashutils-1.5.4.3-splash_util.patch
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/splashutils/files/splashutils-1.5.4.3-splash_util.patch?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/splashutils/files/splashutils-1.5.4.3-splash_util.patch?rev=1.1&content-type=text/plain
46
47 Index: splashutils-1.5.4.3-splash_util.patch
48 ===================================================================
49 diff -Naurp splashutils-1.5.4.3-orig//scripts/splash-functions.sh.in splashutils-1.5.4.3/scripts/splash-functions.sh.in
50 --- splashutils-1.5.4.3-orig//scripts/splash-functions.sh.in 2010-10-09 21:44:39.127691474 +0200
51 +++ splashutils-1.5.4.3/scripts/splash-functions.sh.in 2010-10-09 21:44:54.678690080 +0200
52 @@ -26,7 +26,7 @@ export spl_cachedir="@libdir@/splash/cac
53 export spl_tmpdir="@libdir@/splash/tmp"
54 export spl_fifo="${spl_cachedir}/.splash"
55 export spl_pidfile="${spl_cachedir}/daemon.pid"
56 -export spl_util="@bindir@/splash_util.static"
57 +export spl_util="@sbindir@/splash_util.static"
58 export spl_daemon="@sbindir@/fbsplashd.static"
59 export spl_decor="@sbindir@/fbcondecor_ctl.static"
60 export spl_bindir="@libdir@/splash/bin"
61 diff -Naurp splashutils-1.5.4.3-orig//src/Makefile.am splashutils-1.5.4.3/src/Makefile.am
62 --- splashutils-1.5.4.3-orig//src/Makefile.am 2010-10-09 21:44:39.121691920 +0200
63 +++ splashutils-1.5.4.3/src/Makefile.am 2010-10-09 21:45:10.934689775 +0200
64 @@ -166,7 +166,7 @@ if CONFIG_FBCON_DECOR
65 sbin_PROGRAMS += fbcondecor_ctl
66 endif
67 sbin_PROGRAMS += fbsplashd
68 -bin_PROGRAMS += splash_util
69 +sbin_PROGRAMS += fbsplashd splash_util
70 eexecsbin_PROGRAMS += fbsplashctl
71
72 fbcondecor_ctl_SOURCES = fbcon_decor_ctl.c fbcon_decor.h ../include/console_decor.h ../include/fbcondecor.h common.h fbsplash.h