summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2013-03-09 18:19:26 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2013-03-09 18:19:26 +0000
commitdcf1f4baff00979b2398501c1459c6d7fe0924cc (patch)
tree662018f63977e0e7fa358d79f1768fef9729b166 /app-text/liblangtag
parentDisable epunt_cxx warning since epunt_cxx is broken nowadays. (diff)
downloadgentoo-2-dcf1f4baff00979b2398501c1459c6d7fe0924cc.tar.gz
gentoo-2-dcf1f4baff00979b2398501c1459c6d7fe0924cc.tar.bz2
gentoo-2-dcf1f4baff00979b2398501c1459c6d7fe0924cc.zip
Add patch for the arm issue with build. Wrt bug#451520.
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'app-text/liblangtag')
-rw-r--r--app-text/liblangtag/ChangeLog6
-rw-r--r--app-text/liblangtag/files/liblangtag-0.4.0-arm.patch13
-rw-r--r--app-text/liblangtag/liblangtag-0.4.0-r1.ebuild9
3 files changed, 24 insertions, 4 deletions
diff --git a/app-text/liblangtag/ChangeLog b/app-text/liblangtag/ChangeLog
index 0c1b53933233..6e2aba9b5dcf 100644
--- a/app-text/liblangtag/ChangeLog
+++ b/app-text/liblangtag/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/liblangtag
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/liblangtag/ChangeLog,v 1.9 2013/03/07 11:42:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/liblangtag/ChangeLog,v 1.10 2013/03/09 18:19:26 scarabeus Exp $
+
+ 09 Mar 2013; Tomáš Chvátal <scarabeus@gentoo.org>
+ +files/liblangtag-0.4.0-arm.patch, liblangtag-0.4.0-r1.ebuild:
+ Add patch for the arm issue with build. Wrt bug#451520.
07 Mar 2013; Justin Lecher <jlec@gentoo.org> liblangtag-0.4.0-r1.ebuild:
Add missing buildtime dep, #459336
diff --git a/app-text/liblangtag/files/liblangtag-0.4.0-arm.patch b/app-text/liblangtag/files/liblangtag-0.4.0-arm.patch
new file mode 100644
index 000000000000..0d0c6df478b2
--- /dev/null
+++ b/app-text/liblangtag/files/liblangtag-0.4.0-arm.patch
@@ -0,0 +1,13 @@
+diff --git a/liblangtag/lt-macros.h b/liblangtag/lt-macros.h
+index a7dfcc2..6ff22c9 100644
+--- a/liblangtag/lt-macros.h
++++ b/liblangtag/lt-macros.h
+@@ -200,6 +202,7 @@
+ # define LT_BREAKPOINT() \
+ LT_STMT_START {__asm__ __volatile__ ("bpt");} LT_STMT_END
+ #else
++#include <signal.h>
+ # define LT_BREAKPOINT() \
+ LT_STMT_START {raise(SIGTRAP);} LT_STMT_END
+ #endif
+
diff --git a/app-text/liblangtag/liblangtag-0.4.0-r1.ebuild b/app-text/liblangtag/liblangtag-0.4.0-r1.ebuild
index c69a5b0707e0..e1f52c3f374e 100644
--- a/app-text/liblangtag/liblangtag-0.4.0-r1.ebuild
+++ b/app-text/liblangtag/liblangtag-0.4.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/liblangtag/liblangtag-0.4.0-r1.ebuild,v 1.2 2013/03/07 11:42:38 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/liblangtag/liblangtag-0.4.0-r1.ebuild,v 1.3 2013/03/09 18:19:26 scarabeus Exp $
EAPI=5
@@ -29,12 +29,15 @@ DEPEND="${RDEPEND}
# Upstream expect liblangtag to be installed when one runs tests...
RESTRICT="test"
-PATCHES=( "${FILESDIR}"/${P}-module.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-module.patch
+ "${FILESDIR}"/${P}-arm.patch
+)
src_configure() {
local myeconfargs=(
$(use_enable introspection)
$(use_enable test)
- )
+ )
autotools-utils_src_configure
}