diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-10-30 23:22:11 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-10-30 23:24:29 +0100 |
commit | 78ca36b4f62b9bbe20b48dd1bfaee7a2f984e085 (patch) | |
tree | 682ddacec40f41180a95055f293756e71c3fbd61 /app-text/rarian | |
parent | sys-apps/fakeroot: stable 1.22 for sparc, bug #635850 (thanks to Rolf Eike Beer) (diff) | |
download | gentoo-78ca36b4f62b9bbe20b48dd1bfaee7a2f984e085.tar.gz gentoo-78ca36b4f62b9bbe20b48dd1bfaee7a2f984e085.tar.bz2 gentoo-78ca36b4f62b9bbe20b48dd1bfaee7a2f984e085.zip |
*/*: revert https://github.com/gentoo/gentoo/pull/5828.
This commit adds back the string of commits from PR 5828.
Diffstat (limited to 'app-text/rarian')
-rw-r--r-- | app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch b/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch new file mode 100644 index 000000000000..f84f987d8f10 --- /dev/null +++ b/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch @@ -0,0 +1,13 @@ +--- util/rarian-sk-preinstall.cpp.old 2008-09-01 20:40:21.000000000 +0200 ++++ util/rarian-sk-preinstall.cpp 2010-01-30 11:29:39.000000000 +0100 +@@ -96,8 +96,8 @@ + } + if (i == 1) { + /* Normal path. Add file:/ to the start */ +- new_url = (char *) malloc (sizeof(char) * (strlen (input) + 7)); +- sprintf (new_url, "file:/%s", input); ++ new_url = (char *) malloc (sizeof(char) * (strlen (input) + 8)); ++ sprintf (new_url, "file://%s", input); + } else { + /* Don't know what to do. Just copy and append file: to it */ + new_url = (char *) malloc (sizeof(char) * (strlen(input) + 6)); |