summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-07-12 15:56:41 +0000
committerAlin Năstac <mrness@gentoo.org>2008-07-12 15:56:41 +0000
commit6b11f1d5d2b1e29906bbe3a6920de0c30b328f7a (patch)
tree7817836fcfbf43b9fcfd38adb1436c20ec6e3c52 /app-mobilephone/gnokii
parentsun jdk 1.5 regression, reverting to ~amd64 (diff)
downloadgentoo-2-6b11f1d5d2b1e29906bbe3a6920de0c30b328f7a.tar.gz
gentoo-2-6b11f1d5d2b1e29906bbe3a6920de0c30b328f7a.tar.bz2
gentoo-2-6b11f1d5d2b1e29906bbe3a6920de0c30b328f7a.zip
Fix implicit declaration QA notice.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-mobilephone/gnokii')
-rw-r--r--app-mobilephone/gnokii/ChangeLog6
-rw-r--r--app-mobilephone/gnokii/files/gnokii-0.6.26-qa-fixes.patch11
-rw-r--r--app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild8
3 files changed, 23 insertions, 2 deletions
diff --git a/app-mobilephone/gnokii/ChangeLog b/app-mobilephone/gnokii/ChangeLog
index 1a2a2db04457..d48aa5726637 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.77 2008/06/14 12:10:32 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.78 2008/07/12 15:56:40 mrness Exp $
+
+ 12 Jul 2008; Alin Năstac <mrness@gentoo.org>
+ +files/gnokii-0.6.26-qa-fixes.patch, gnokii-0.6.26-r1.ebuild:
+ Fix implicit declaration QA notice.
14 Jun 2008; Alin Năstac <mrness@gentoo.org>
-files/gnokii-0.6.14-configure.in.patch,
diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.26-qa-fixes.patch b/app-mobilephone/gnokii/files/gnokii-0.6.26-qa-fixes.patch
new file mode 100644
index 000000000000..c29378023365
--- /dev/null
+++ b/app-mobilephone/gnokii/files/gnokii-0.6.26-qa-fixes.patch
@@ -0,0 +1,11 @@
+diff -Nru gnokii-0.6.26.orig/include/phones/atsag.h gnokii-0.6.26/include/phones/atsag.h
+--- gnokii-0.6.26.orig/include/phones/atsag.h 2008-05-30 19:06:03.000000000 +0000
++++ gnokii-0.6.26/include/phones/atsag.h 2008-07-12 15:43:54.000000000 +0000
+@@ -34,6 +34,6 @@
+
+ #include "gnokii.h"
+
+-void at_sag_init(char* foundmodel, char* setupmodel, struct gn_statemachine *state);
++void at_sagem_init(char* foundmodel, char* setupmodel, struct gn_statemachine *state);
+
+ #endif
diff --git a/app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild b/app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild
index 32b0b5df85c9..ee756f6c64f0 100644
--- a/app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild
+++ b/app-mobilephone/gnokii/gnokii-0.6.26-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.26-r1.ebuild,v 1.1 2008/06/01 21:44:29 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild,v 1.2 2008/07/12 15:56:40 mrness Exp $
WANT_AUTOMAKE="none"
@@ -36,6 +36,12 @@ CONFIG_CHECK="UNIX98_PTYS"
MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN"
IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
+src_unpack() {
+ unpack ${A}
+
+ epatch "${FILESDIR}"/${P}-qa-fixes.patch
+}
+
src_compile() {
strip-linguas ${MY_AVAILABLE_LINGUAS}