summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-11-16 11:36:48 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-11-16 11:36:48 +0000
commitfcc294997919a290f978e0ae30e46f291de000d0 (patch)
tree5dbbf8059886cd92c3c63b26f9216fc6313fa3ea /dev-libs/libgpg-error
parentVersion bump; tidy old ebuilds. (Manifest recommit) (diff)
downloadgentoo-2-fcc294997919a290f978e0ae30e46f291de000d0.tar.gz
gentoo-2-fcc294997919a290f978e0ae30e46f291de000d0.tar.bz2
gentoo-2-fcc294997919a290f978e0ae30e46f291de000d0.zip
Fixed occasional breakage with nls support. bug #63919 refers.
Diffstat (limited to 'dev-libs/libgpg-error')
-rw-r--r--dev-libs/libgpg-error/ChangeLog6
-rw-r--r--dev-libs/libgpg-error/files/libgpg-error-1.0-locale.h.patch10
-rw-r--r--dev-libs/libgpg-error/libgpg-error-1.0-r1.ebuild15
3 files changed, 27 insertions, 4 deletions
diff --git a/dev-libs/libgpg-error/ChangeLog b/dev-libs/libgpg-error/ChangeLog
index b5a40d0b1375..a235332996f8 100644
--- a/dev-libs/libgpg-error/ChangeLog
+++ b/dev-libs/libgpg-error/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libgpg-error
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgpg-error/ChangeLog,v 1.26 2004/10/19 08:29:08 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgpg-error/ChangeLog,v 1.27 2004/11/16 11:36:48 dragonheart Exp $
+
+ 16 Nov 2004; Daniel Black <dragonheart@gentoo.org>
+ +files/libgpg-error-1.0-locale.h.patch, libgpg-error-1.0-r1.ebuild:
+ Fixed occasional breakage with nls support. bug #63919 refers.
19 Oct 2004; Dylan Carlson <absinthe@gentoo.org>
libgpg-error-1.0-r1.ebuild:
diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.0-locale.h.patch b/dev-libs/libgpg-error/files/libgpg-error-1.0-locale.h.patch
new file mode 100644
index 000000000000..a9af118cb33e
--- /dev/null
+++ b/dev-libs/libgpg-error/files/libgpg-error-1.0-locale.h.patch
@@ -0,0 +1,10 @@
+--- configure.ac.orig 2004-11-16 20:34:14.350506736 +0930
++++ configure.ac 2004-11-16 20:34:38.026907376 +0930
+@@ -70,6 +70,7 @@
+ # Checks for header files.
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS([stdlib.h])
++AC_CHECK_HEADERS([locale.h])
+ AC_FUNC_STRERROR_R
+ AC_CHECK_FUNC([strerror_r], [],
+ AC_MSG_WARN([[Without strerror_r, gpg_strerror_r might not be thread-safe]]))
diff --git a/dev-libs/libgpg-error/libgpg-error-1.0-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.0-r1.ebuild
index 338c5fced3f0..55686980bf0f 100644
--- a/dev-libs/libgpg-error/libgpg-error-1.0-r1.ebuild
+++ b/dev-libs/libgpg-error/libgpg-error-1.0-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgpg-error/libgpg-error-1.0-r1.ebuild,v 1.5 2004/11/10 03:08:57 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgpg-error/libgpg-error-1.0-r1.ebuild,v 1.6 2004/11/16 11:36:48 dragonheart Exp $
-inherit gnuconfig
+inherit gnuconfig eutils
DESCRIPTION="Contains error handling functions used by GnuPG software"
HOMEPAGE="http://www.gnupg.org/(en)/download/index.html#libgpg-error"
@@ -13,11 +13,20 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ppc-macos s390 sparc ~x86"
IUSE="nls"
-DEPEND="virtual/libc"
+DEPEND="virtual/libc
+ !ppc-macos? ( >=sys-devel/autoconf-2.59 )"
+
RDEPEND="nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/libgpg-error-1.0-locale.h.patch
+ if ! useq ppc-macos
+ then
+ env WANT_AUTOCONF=2.59 autoconf || die "autoconf failed"
+ autoheader || die "autoheader failed"
+ fi
gnuconfig_update
}