diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-03-11 21:13:46 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-03-11 21:13:46 +0000 |
commit | ba403b1e221c71e15a29da3b4582bf9138cde84e (patch) | |
tree | 93693cf4ed3de787bf6a5f1932e4623102f7842b /app-office/ledger/files | |
parent | Use Python 2 (bug #315073). (diff) | |
download | gentoo-2-ba403b1e221c71e15a29da3b4582bf9138cde84e.tar.gz gentoo-2-ba403b1e221c71e15a29da3b4582bf9138cde84e.tar.bz2 gentoo-2-ba403b1e221c71e15a29da3b4582bf9138cde84e.zip |
Remove old.
(Portage version: 2.2.0_alpha26/cvs/Linux x86_64)
Diffstat (limited to 'app-office/ledger/files')
-rw-r--r-- | app-office/ledger/files/ledger-2.6.1-glibc-2.10.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/app-office/ledger/files/ledger-2.6.1-glibc-2.10.patch b/app-office/ledger/files/ledger-2.6.1-glibc-2.10.patch deleted file mode 100644 index c7729de0f84f..000000000000 --- a/app-office/ledger/files/ledger-2.6.1-glibc-2.10.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -ur ledger-2.6.1.old/gnucash.cc ledger-2.6.1/gnucash.cc ---- ledger-2.6.1.old/gnucash.cc 2009-07-07 09:10:35.461037758 +0300 -+++ ledger-2.6.1/gnucash.cc 2009-07-07 09:29:17.462613252 +0300 -@@ -201,7 +201,7 @@ - { - const char * num = number.c_str(); - -- if (char * p = std::strchr(num, '/')) { -+ if (const char * p = std::strchr(num, '/')) { - std::string numer_str(num, p - num); - std::string denom_str(p + 1); - -diff -ur ledger-2.6.1.old/option.cc ledger-2.6.1/option.cc ---- ledger-2.6.1.old/option.cc 2009-07-07 09:10:35.459038062 +0300 -+++ ledger-2.6.1/option.cc 2009-07-07 09:15:26.238434229 +0300 -@@ -893,7 +893,7 @@ - namespace { - void parse_price_setting(const char * optarg) - { -- char * equals = std::strchr(optarg, '='); -+ const char * equals = std::strchr(optarg, '='); - if (! equals) - return; - -diff -ur ledger-2.6.1.old/textual.cc ledger-2.6.1/textual.cc ---- ledger-2.6.1.old/textual.cc 2009-07-07 09:10:35.458037934 +0300 -+++ ledger-2.6.1/textual.cc 2009-07-07 09:26:23.627028972 +0300 -@@ -298,8 +298,8 @@ - DEBUG_PRINT("ledger.textual.parse", "line " << linenum << ": " << - "Parsed a note '" << xact->note << "'"); - -- if (char * b = std::strchr(xact->note.c_str(), '[')) -- if (char * e = std::strchr(xact->note.c_str(), ']')) { -+ if (const char * b = std::strchr(xact->note.c_str(), '[')) -+ if (const char * e = std::strchr(xact->note.c_str(), ']')) { - char buf[256]; - std::strncpy(buf, b + 1, e - b - 1); - buf[e - b - 1] = '\0'; |