diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-01-01 16:16:37 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-01-01 16:16:37 +0000 |
commit | c271d8e1a415c2e747d192f038445662cc9cbe0e (patch) | |
tree | 0d3d9740f0ecef0492cb828c78136930ed5a5997 /app-mobilephone | |
parent | x86 stable, bug #203753 (diff) | |
download | gentoo-2-c271d8e1a415c2e747d192f038445662cc9cbe0e.tar.gz gentoo-2-c271d8e1a415c2e747d192f038445662cc9cbe0e.tar.bz2 gentoo-2-c271d8e1a415c2e747d192f038445662cc9cbe0e.zip |
Fix broken compilation on glibc-2.7 (#203787).
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/gnokii/ChangeLog | 6 | ||||
-rw-r--r-- | app-mobilephone/gnokii/files/gnokii-0.6.22-locale.patch | 14 | ||||
-rw-r--r-- | app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild | 3 |
3 files changed, 21 insertions, 2 deletions
diff --git a/app-mobilephone/gnokii/ChangeLog b/app-mobilephone/gnokii/ChangeLog index f170108aab0e..5a81397b8461 100644 --- a/app-mobilephone/gnokii/ChangeLog +++ b/app-mobilephone/gnokii/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-mobilephone/gnokii # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.66 2008/01/01 15:44:57 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.67 2008/01/01 16:16:36 mrness Exp $ + + 01 Jan 2008; Alin Năstac <mrness@gentoo.org> + +files/gnokii-0.6.22-locale.patch, gnokii-0.6.22-r1.ebuild: + Fix broken compilation on glibc-2.7 (#203787). 01 Jan 2008; Markus Meier <maekke@gentoo.org> gnokii-0.6.22-r1.ebuild: x86 stable, bug #203745 diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.22-locale.patch b/app-mobilephone/gnokii/files/gnokii-0.6.22-locale.patch new file mode 100644 index 000000000000..e2cbbc6638a5 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii-0.6.22-locale.patch @@ -0,0 +1,14 @@ +diff -Nru gnokii-0.6.22.orig/common/gsm-sms.c gnokii-0.6.22/common/gsm-sms.c +--- gnokii-0.6.22.orig/common/gsm-sms.c 2007-11-24 13:31:01.000000000 +0200 ++++ gnokii-0.6.22/common/gsm-sms.c 2008-01-01 18:11:40.000000000 +0200 +@@ -39,6 +39,10 @@ + #include "gnokii-internal.h" + #include "gnokii.h" + ++#ifdef ENABLE_NLS ++# include <locale.h> ++#endif ++ + #include "sms-nokia.h" + + #undef ERROR diff --git a/app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild b/app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild index 2c1bcab03797..eceeb663ea09 100644 --- a/app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild +++ b/app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild,v 1.2 2008/01/01 15:44:57 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.22-r1.ebuild,v 1.3 2008/01/01 16:16:36 mrness Exp $ WANT_AUTOMAKE="none" @@ -39,6 +39,7 @@ IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}"/${P}-locale.patch if use sms ; then local MY_SMSD_DB_OBJS="file.lo" |