Gentoo Archives: gentoo-commits

From: Dongxu Li <dongxuli2011@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: media-gfx/librecad/
Date: Sat, 07 May 2011 02:15:59
Message-Id: 29aa5257a9a3febb2edcd9dc330fc7edd49240ba.dongxuli@gentoo
1 commit: 29aa5257a9a3febb2edcd9dc330fc7edd49240ba
2 Author: Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
3 AuthorDate: Sat May 7 02:13:02 2011 +0000
4 Commit: Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
5 CommitDate: Sat May 7 02:13:02 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=29aa5257
7
8 media-gfx/librecad: fix for gcc-4.6
9
10 ---
11 media-gfx/librecad/librecad-9999.ebuild | 4 ++++
12 1 files changed, 4 insertions(+), 0 deletions(-)
13
14 diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
15 index bd6a509..53b1cb4 100644
16 --- a/media-gfx/librecad/librecad-9999.ebuild
17 +++ b/media-gfx/librecad/librecad-9999.ebuild
18 @@ -24,6 +24,10 @@ src_unpack()
19 subversion_src_unpack || die
20 cd "$(subversion__get_wc_path "${ESVN_REPO_URI}")"
21 rsync -rlpgo . "${S}" || die "${ESVN}: can't export to ${S}."
22 + # patch to solve an issue caused by gcc-4.6, by mickele, archlinux
23 + sed -e "s|LiteralMask<Value_t, n>::mask;|LiteralMask<Value_t, static_cast<unsigned int>(n)>::mask;|" \
24 + -e "s|SimpleSpaceMask<n>::mask;|SimpleSpaceMask<static_cast<unsigned int>(n)>::mask;|" \
25 + -i "${S}"/fparser/fparser.cc
26 }
27
28 src_install()