From: | "Ryan Hill (dirtyepic)" <dirtyepic@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-office/abiword-plugins/files: abiword-plugins-2.6.8-glibc-2.10.patch |
Date: | Wed, 29 Jul 2009 22:51:05 |
Message-Id: | E1MWHzC-0002s9-Cy@stork.gentoo.org |
1 | dirtyepic 09/07/29 22:51:02 |
2 | |
3 | Added: abiword-plugins-2.6.8-glibc-2.10.patch |
4 | Log: |
5 | Fix building w/ glibc-2.10 for bug #273877. Patch pulled from upstream. |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/abiword-plugins/files/abiword-plugins-2.6.8-glibc-2.10.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: abiword-plugins-2.6.8-glibc-2.10.patch |
15 | =================================================================== |
16 | diff -Naurp abiword-plugins-2.6.8-orig/tools/abicommand/xp/AbiCommand.cpp abiword-plugins-2.6.8/tools/abicommand/xp/AbiCommand.cpp |
17 | --- abiword-plugins-2.6.8-orig/tools/abicommand/xp/AbiCommand.cpp 2007-10-11 14:05:55.000000000 -0600 |
18 | +++ abiword-plugins-2.6.8/tools/abicommand/xp/AbiCommand.cpp 2009-07-29 16:37:31.022705617 -0600 |
19 | @@ -551,7 +551,7 @@ AbiCommand::parseTokens (UT_Vector * pTo |
20 | UT_UTF8String *pCom1 = |
21 | const_cast < UT_UTF8String * >(static_cast < const UT_UTF8String * >(pToks->getNthItem (1))); |
22 | printf(" Filename %s \n",pCom1->utf8_str()); |
23 | - char *suffix = rindex (pCom1->utf8_str (), '.'); |
24 | + const char *suffix = const_cast<const char*>(rindex (pCom1->utf8_str (), '.')); |
25 | |
26 | if (suffix != NULL) |
27 | { |