diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-27 13:17:33 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-27 13:17:33 +0000 |
commit | 77e6c0843821e903a0391d476d922ce831b542aa (patch) | |
tree | 08c1236c6eab17245550baabb98ee663fef33a90 /dev-libs | |
parent | Sparc stable, Bug #219421. (diff) | |
download | gentoo-2-77e6c0843821e903a0391d476d922ce831b542aa.tar.gz gentoo-2-77e6c0843821e903a0391d476d922ce831b542aa.tar.bz2 gentoo-2-77e6c0843821e903a0391d476d922ce831b542aa.zip |
Add patch allowing building with GCC 4.3. Patch by ape in bug #213136.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/xalan-c/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/xalan-c/files/xalan-c-1.10.0+gcc-4.3.patch | 50 | ||||
-rw-r--r-- | dev-libs/xalan-c/xalan-c-1.10.0.ebuild | 6 |
3 files changed, 60 insertions, 4 deletions
diff --git a/dev-libs/xalan-c/ChangeLog b/dev-libs/xalan-c/ChangeLog index 6e0536bed04a..37591932207a 100644 --- a/dev-libs/xalan-c/ChangeLog +++ b/dev-libs/xalan-c/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/xalan-c -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/ChangeLog,v 1.15 2007/12/24 07:13:42 dev-zero Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/ChangeLog,v 1.16 2008/04/27 13:17:32 flameeyes Exp $ + + 27 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> + +files/xalan-c-1.10.0+gcc-4.3.patch, xalan-c-1.10.0.ebuild: + Add patch allowing building with GCC 4.3. Patch by ape in bug #213136. 22 Dec 2007; Tiziano Müller <dev-zero@gentoo.org> xalan-c-1.10.0.ebuild: Changed xerces-c version to match only 2.7.0 (bug #202922) since upstream diff --git a/dev-libs/xalan-c/files/xalan-c-1.10.0+gcc-4.3.patch b/dev-libs/xalan-c/files/xalan-c-1.10.0+gcc-4.3.patch new file mode 100644 index 000000000000..e08ef961ea39 --- /dev/null +++ b/dev-libs/xalan-c/files/xalan-c-1.10.0+gcc-4.3.patch @@ -0,0 +1,50 @@ +--- XalanDOMString.cpp 2008-03-21 09:50:39.000000000 +0100 ++++ xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp 2008-03-21 09:51:06.000000000 +0100 +@@ -26,6 +26,7 @@ + + + #include <cstdlib> ++#include <cstring> + + + +--- FormatterToHTML.cpp 2008-03-21 09:56:31.000000000 +0100 ++++ xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.cpp 2008-03-21 09:56:54.000000000 +0100 +@@ -26,6 +26,7 @@ + + + #include <cassert> ++#include <cstring> + + + +--- ElemNumber.cpp 2008-03-21 10:09:56.000000000 +0100 ++++ xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/XSLT/ElemNumber.cpp 2008-03-21 10:10:15.000000000 +0100 +@@ -14,6 +14,7 @@ + * limitations under the License. + */ + #include "ElemNumber.hpp" ++#include <cstring> + + + +--- DirectoryEnumerator.hpp 2008-03-21 10:19:13.000000000 +0100 ++++ xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/PlatformSupport/DirectoryEnumerator.hpp 2008-03-21 10:19:41.000000000 +0100 +@@ -36,6 +36,7 @@ + + #include <functional> + #include <iterator> ++#include <cstring> + + + #include "xercesc/framework/MemoryManager.hpp" +--- XalanExe.cpp 2008-03-21 12:11:08.000000000 +0100 ++++ xalan-c-1.10.0/work/xml-xalan/c/src/xalanc/XalanExe/XalanExe.cpp 2008-03-21 12:11:44.000000000 +0100 +@@ -19,6 +19,7 @@ + + + #include <cstdlib> ++#include <cstring> + #if defined(XALAN_CLASSIC_IOSTREAMS) + #include <iostream.h> + #else diff --git a/dev-libs/xalan-c/xalan-c-1.10.0.ebuild b/dev-libs/xalan-c/xalan-c-1.10.0.ebuild index c11f2e3d969d..221daaf513b7 100644 --- a/dev-libs/xalan-c/xalan-c-1.10.0.ebuild +++ b/dev-libs/xalan-c/xalan-c-1.10.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/xalan-c-1.10.0.ebuild,v 1.10 2007/12/24 07:13:42 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xalan-c/xalan-c-1.10.0.ebuild,v 1.11 2008/04/27 13:17:32 flameeyes Exp $ inherit toolchain-funcs eutils flag-o-matic multilib @@ -28,6 +28,8 @@ src_unpack() { cd "${S}" # https://issues.apache.org/jira/browse/XALANC-643 epatch "${FILESDIR}/1.10.0-as-needed.patch" + epatch "${FILESDIR}/${P}+gcc-4.3.patch" + chmod a+r $(find . -type f) chmod a+rx $(find . -type d) |