summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2008-09-15 01:40:47 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2008-09-15 01:40:47 +0000
commite47abd8963c054abed4be82a908bf44c3e22edd9 (patch)
tree648e73a5b83823cf5336e6775a8b7c0adc46c025 /dev-libs/confuse
parentVersion bumped, bug #237609. (diff)
downloadhistorical-e47abd8963c054abed4be82a908bf44c3e22edd9.tar.gz
historical-e47abd8963c054abed4be82a908bf44c3e22edd9.tar.bz2
historical-e47abd8963c054abed4be82a908bf44c3e22edd9.zip
Fixed optimization issue, bug #236347.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64
Diffstat (limited to 'dev-libs/confuse')
-rw-r--r--dev-libs/confuse/ChangeLog8
-rw-r--r--dev-libs/confuse/Manifest4
-rw-r--r--dev-libs/confuse/confuse-2.6-r2.ebuild42
-rw-r--r--dev-libs/confuse/files/confuse-2.6-O0.patch15
4 files changed, 67 insertions, 2 deletions
diff --git a/dev-libs/confuse/ChangeLog b/dev-libs/confuse/ChangeLog
index bdbdf2b00b05..c0fcb461ea1b 100644
--- a/dev-libs/confuse/ChangeLog
+++ b/dev-libs/confuse/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/confuse
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/ChangeLog,v 1.32 2008/05/17 03:07:07 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/ChangeLog,v 1.33 2008/09/15 01:40:47 matsuu Exp $
+
+*confuse-2.6-r2 (15 Sep 2008)
+
+ 15 Sep 2008; MATSUU Takuto <matsuu@gentoo.org>
+ +files/confuse-2.6-O0.patch, +confuse-2.6-r2.ebuild:
+ Fixed optimization issue, bug #236347.
17 May 2008; MATSUU Takuto <matsuu@gentoo.org>
-files/confuse-2.5-libintl.patch, -files/confuse-2.5-maketest.patch,
diff --git a/dev-libs/confuse/Manifest b/dev-libs/confuse/Manifest
index 402a7cd7105c..87843a18d3e9 100644
--- a/dev-libs/confuse/Manifest
+++ b/dev-libs/confuse/Manifest
@@ -1,5 +1,7 @@
+AUX confuse-2.6-O0.patch 492 RMD160 29fd2ba5a9c2fec7d23f1586b25de4fdda30e720 SHA1 1a6c59611dd013e429e44ebf886a60e0a30ecec1 SHA256 64a6d0df44f72d3f514a4678a16f1f887e417250f7990b64631fe0a3999215ff
DIST confuse-2.6.tar.gz 504017 RMD160 11f987089c533573482a427c7ad2ae8e155389b7 SHA1 e9e5510abf1eb3159a6439fd52aa5cec94811aff SHA256 e8d653159b152f3850a7224b3eb604955795dbd3fd6603816ee46411ea53e84a
EBUILD confuse-2.6-r1.ebuild 920 RMD160 1a0a0614224961e1330ba42598c29f2d43dbf976 SHA1 089b7dc625bcdec328d908ece9536af6bc61ab19 SHA256 ef30bed8430d723dcddbdeb575f3950a23a0acea765ce843f0546c3b6f5c958d
+EBUILD confuse-2.6-r2.ebuild 987 RMD160 2d3d6b6d2a304579dd74ff780865342b7f297fe0 SHA1 3ffb982ba4563906d7276a5ad32a95d127cb0515 SHA256 012e6071397c448e059fdac7ee77857e4801d5ebf2553a9548a53629e42ee686
EBUILD confuse-2.6.ebuild 819 RMD160 bbf93fd148a905484c1536a5948fe081cb31b537 SHA1 d7436dd05ac2852d4299b022fe70a835beba13f9 SHA256 883cf1aa30b568eb87b7eabb390b29e2f161e8586dd6641638794ff555d1f046
-MISC ChangeLog 3972 RMD160 023bc443b9333664d4a847c1a6230e5f7513cf1d SHA1 7ca3badc7b8be52c024f629ad381898404d48325 SHA256 b7f725051efd6c8381b4338070210f290503668757bad1b2725c42328c187f56
+MISC ChangeLog 4149 RMD160 27e125c2dcf5acf5ecdb1c72bfa6fc960d563e01 SHA1 0600c88438e5c4e93c54c106e48eebe42fea873f SHA256 7275ccbc14b169b527c62a4fc3dcecb378cc0ac758d4aa7755b34ccf36cd8583
MISC metadata.xml 222 RMD160 23efe87c16ebc9fbeb91e894ab372cc3bb66bc49 SHA1 a5d1e2317ae207bbd664aebe986687948fdd984a SHA256 38ef3457fd14e6872985f0e100fde79d0b8a9dbc4fc39ceef780c8c5abc5f337
diff --git a/dev-libs/confuse/confuse-2.6-r2.ebuild b/dev-libs/confuse/confuse-2.6-r2.ebuild
new file mode 100644
index 000000000000..ec066aaf2a04
--- /dev/null
+++ b/dev-libs/confuse/confuse-2.6-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/confuse/confuse-2.6-r2.ebuild,v 1.1 2008/09/15 01:40:47 matsuu Exp $
+
+inherit eutils
+
+DESCRIPTION="a configuration file parser library"
+HOMEPAGE="http://www.nongnu.org/confuse/"
+SRC_URI="http://bzero.se/confuse/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="nls"
+
+DEPEND="sys-devel/flex
+ sys-devel/libtool
+ dev-util/pkgconfig
+ nls? ( sys-devel/gettext )"
+RDEPEND="nls? ( virtual/libintl )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # bug #236347
+ epatch "${FILESDIR}"/${P}-O0.patch
+ # drop -Werror, bug #208095
+ sed -i -e 's/-Werror//' */Makefile.* || die
+}
+
+src_compile() {
+ econf --enable-shared || die
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ doman doc/man/man3/*.3
+ dodoc AUTHORS NEWS README
+ dohtml doc/html/* || die
+}
diff --git a/dev-libs/confuse/files/confuse-2.6-O0.patch b/dev-libs/confuse/files/confuse-2.6-O0.patch
new file mode 100644
index 000000000000..31b95fb2d53d
--- /dev/null
+++ b/dev-libs/confuse/files/confuse-2.6-O0.patch
@@ -0,0 +1,15 @@
+Index: src/confuse.c
+===================================================================
+RCS file: /sources/confuse/confuse/src/confuse.c,v
+retrieving revision 1.36
+diff -u -B -r1.36 confuse.c
+--- src/confuse.c 13 Oct 2007 20:01:45 -0000 1.36
++++ src/confuse.c 1 Sep 2008 11:57:30 -0000
+@@ -41,6 +41,7 @@
+ #define is_set(f, x) (((f) & (x)) == (f))
+
+ #if defined(ENABLE_NLS) && defined(HAVE_GETTEXT)
++# include <locale.h>
+ # include <libintl.h>
+ # define _(str) dgettext(PACKAGE, str)
+ #else