diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2007-12-28 11:09:08 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2007-12-28 11:09:08 +0000 |
commit | 675f5691649037d6c8a9f48103171b03c3b2cf5e (patch) | |
tree | 6109f9508d89ca447e31d4e112874ad2a4bb8c36 /sys-apps/baselayout/files | |
parent | Temp. mask until I get all of CM+plugins in the tree. (diff) | |
download | gentoo-2-675f5691649037d6c8a9f48103171b03c3b2cf5e.tar.gz gentoo-2-675f5691649037d6c8a9f48103171b03c3b2cf5e.tar.bz2 gentoo-2-675f5691649037d6c8a9f48103171b03c3b2cf5e.zip |
fix #199749
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'sys-apps/baselayout/files')
-rw-r--r-- | sys-apps/baselayout/files/baselayout-2.0.0_rc6-ssd-path.patch | 33 | ||||
-rw-r--r-- | sys-apps/baselayout/files/digest-baselayout-2.0.0_rc6-r1 | 3 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-apps/baselayout/files/baselayout-2.0.0_rc6-ssd-path.patch b/sys-apps/baselayout/files/baselayout-2.0.0_rc6-ssd-path.patch new file mode 100644 index 000000000000..0f77c509c784 --- /dev/null +++ b/sys-apps/baselayout/files/baselayout-2.0.0_rc6-ssd-path.patch @@ -0,0 +1,33 @@ +diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c +index 551bad5..31752fb 100644 +--- a/src/start-stop-daemon.c ++++ b/src/start-stop-daemon.c +@@ -916,6 +916,7 @@ int start_stop_daemon (int argc, char **argv) + char *token; + char *np; + int l; ++ int t; + + p += 5; + while ((token = strsep (&p, ":"))) { +@@ -923,15 +924,17 @@ int start_stop_daemon (int argc, char **argv) + strcmp (token, RC_LIBDIR "/sbin") == 0) + continue; + ++ t = strlen (token); + if (newpath) { + l = strlen (newpath); +- newpath = xrealloc (newpath, sizeof (char) * +- (l + strlen (token) + 2)); ++ newpath = xrealloc (newpath, sizeof (char) * (l + t + 2)); + np = newpath + l; + *np++ = ':'; + memcpy (np, token, sizeof (char) * strlen (token)); ++ np += t; ++ *np = '\0'; + } else { +- l = strlen ("PATH=") + strlen (token) + 1; ++ l = strlen ("PATH=") + t + 1; + newpath = xmalloc (sizeof (char) * l); + snprintf (newpath, l, "PATH=%s", token); + } diff --git a/sys-apps/baselayout/files/digest-baselayout-2.0.0_rc6-r1 b/sys-apps/baselayout/files/digest-baselayout-2.0.0_rc6-r1 new file mode 100644 index 000000000000..397ac0a8c460 --- /dev/null +++ b/sys-apps/baselayout/files/digest-baselayout-2.0.0_rc6-r1 @@ -0,0 +1,3 @@ +MD5 705a0da7b80d169e257c914338f83ade baselayout-2.0.0_rc6.tar.bz2 148193 +RMD160 8adde70811f685aa5e294adf4037c12686f14d34 baselayout-2.0.0_rc6.tar.bz2 148193 +SHA256 0d4c06176ad8e435c88983417349e081824b6b2c387bc7a2624ce7ccb0165767 baselayout-2.0.0_rc6.tar.bz2 148193 |