aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxu Li <dongxuli2011@gmail.com>2011-05-06 22:13:02 -0400
committerDongxu Li <dongxuli2011@gmail.com>2011-05-06 22:13:02 -0400
commit29aa5257a9a3febb2edcd9dc330fc7edd49240ba (patch)
treef476841a0512bfe9e40e360b41cc029c8743dd0a /media-gfx
parentsci-biology/Gambit: BAM file viewer (diff)
downloadsci-29aa5257a9a3febb2edcd9dc330fc7edd49240ba.tar.gz
sci-29aa5257a9a3febb2edcd9dc330fc7edd49240ba.tar.bz2
sci-29aa5257a9a3febb2edcd9dc330fc7edd49240ba.zip
media-gfx/librecad: fix for gcc-4.6
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/librecad/Manifest2
-rw-r--r--media-gfx/librecad/librecad-9999.ebuild4
2 files changed, 5 insertions, 1 deletions
diff --git a/media-gfx/librecad/Manifest b/media-gfx/librecad/Manifest
index 9697cc6bb..ea8519357 100644
--- a/media-gfx/librecad/Manifest
+++ b/media-gfx/librecad/Manifest
@@ -1,3 +1,3 @@
-EBUILD librecad-9999.ebuild 904 RMD160 be8b993ed0ad6d412717b32ee47784ae57489ac2 SHA1 84fbe09800c181077b0acd143dd7aaa9f09540f1 SHA256 f2c13ded4d7b3732ddedd7d73959db255717f02fec0bd76042832533b7f419d6
+EBUILD librecad-9999.ebuild 1205 RMD160 387e24ebfe5ab2a130a2933c2ea6a10cab34c034 SHA1 e5cc616f5d6af1893d4b2107a88c50746aa21775 SHA256 2910dff4482767681b32cddb82b0927065617366ff8da06c19e6a6ee3826187a
MISC ChangeLog 240 RMD160 03aa4bb1d07bc59bbf185a84d46343ac456fd2e7 SHA1 29edadf7f46134566ac9bc7c119b5cba7d63525d SHA256 beca7895639d160d99177e1d0fc2e433035a4a672969608bb299b0917d0ec1d9
MISC metadata.xml 450 RMD160 62a6501cecfe47078279b48be9b1c658d40e59f9 SHA1 c4ea83204f0d636b89b362f43aa2f5f487b9d9c7 SHA256 891d496161866e9f329036a1a953bd667d7be70de7cb1da41eadbb4be21c7df8
diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
index bd6a50913..53b1cb4ce 100644
--- a/media-gfx/librecad/librecad-9999.ebuild
+++ b/media-gfx/librecad/librecad-9999.ebuild
@@ -24,6 +24,10 @@ src_unpack()
subversion_src_unpack || die
cd "$(subversion__get_wc_path "${ESVN_REPO_URI}")"
rsync -rlpgo . "${S}" || die "${ESVN}: can't export to ${S}."
+ # patch to solve an issue caused by gcc-4.6, by mickele, archlinux
+ sed -e "s|LiteralMask<Value_t, n>::mask;|LiteralMask<Value_t, static_cast<unsigned int>(n)>::mask;|" \
+ -e "s|SimpleSpaceMask<n>::mask;|SimpleSpaceMask<static_cast<unsigned int>(n)>::mask;|" \
+ -i "${S}"/fparser/fparser.cc
}
src_install()