summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2008-04-20 23:18:17 +0000
committerRyan Hill <dirtyepic@gentoo.org>2008-04-20 23:18:17 +0000
commit9f8b4c4195fb5c23956657502138ca14f542e240 (patch)
treef48ebdd6ff6b61ccaf1e60d293f5c4dec8e38112 /app-mobilephone/gsmlib
parentUpstream version bump to 0.7.1; the gconf backend now functions correctly. Re... (diff)
downloadgentoo-2-9f8b4c4195fb5c23956657502138ca14f542e240.tar.gz
gentoo-2-9f8b4c4195fb5c23956657502138ca14f542e240.tar.bz2
gentoo-2-9f8b4c4195fb5c23956657502138ca14f542e240.zip
Add GCC 4.3 patch for bug #211314.
(Portage version: 2.2_pre5)
Diffstat (limited to 'app-mobilephone/gsmlib')
-rw-r--r--app-mobilephone/gsmlib/ChangeLog8
-rw-r--r--app-mobilephone/gsmlib/files/gsmlib-1.11-gcc43.patch67
-rw-r--r--app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild7
3 files changed, 77 insertions, 5 deletions
diff --git a/app-mobilephone/gsmlib/ChangeLog b/app-mobilephone/gsmlib/ChangeLog
index cab56af8bbea..54070af33b38 100644
--- a/app-mobilephone/gsmlib/ChangeLog
+++ b/app-mobilephone/gsmlib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-mobilephone/gsmlib
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gsmlib/ChangeLog,v 1.10 2006/12/01 20:26:18 wolf31o2 Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gsmlib/ChangeLog,v 1.11 2008/04/20 23:18:17 dirtyepic Exp $
+
+ 20 Apr 2008; Ryan Hill <dirtyepic@gentoo.org>
+ +files/gsmlib-1.11-gcc43.patch, gsmlib-1.11_pre041028.ebuild:
+ Add GCC 4.3 patch for bug #211314.
01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
gsmlib-1.11_pre041028.ebuild:
diff --git a/app-mobilephone/gsmlib/files/gsmlib-1.11-gcc43.patch b/app-mobilephone/gsmlib/files/gsmlib-1.11-gcc43.patch
new file mode 100644
index 000000000000..ddd78c6db20b
--- /dev/null
+++ b/app-mobilephone/gsmlib/files/gsmlib-1.11-gcc43.patch
@@ -0,0 +1,67 @@
+diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_me_ta.cc gsmlib-1.11/gsmlib/gsm_me_ta.cc
+--- gsmlib-1.11-orig/gsmlib/gsm_me_ta.cc 2003-08-26 02:01:36.000000000 -0600
++++ gsmlib-1.11/gsmlib/gsm_me_ta.cc 2008-02-24 15:09:58.000000000 -0600
+@@ -19,6 +19,8 @@
+ #include <gsmlib/gsm_parser.h>
+ #include <gsmlib/gsm_sysdep.h>
+
++#include <cstdlib>
++
+ using namespace std;
+ using namespace gsmlib;
+
+diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_sms_codec.cc gsmlib-1.11/gsmlib/gsm_sms_codec.cc
+--- gsmlib-1.11-orig/gsmlib/gsm_sms_codec.cc 2004-10-27 17:06:06.000000000 -0600
++++ gsmlib-1.11/gsmlib/gsm_sms_codec.cc 2008-02-24 15:10:44.000000000 -0600
+@@ -23,6 +23,7 @@
+ #ifdef HAVE_STRING_H
+ #include <string.h>
+ #endif
++#include <climits>
+ #include <string>
+ using namespace std;
+ using namespace gsmlib;
+diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_util.cc gsmlib-1.11/gsmlib/gsm_util.cc
+--- gsmlib-1.11-orig/gsmlib/gsm_util.cc 2004-10-27 17:05:53.000000000 -0600
++++ gsmlib-1.11/gsmlib/gsm_util.cc 2008-02-24 15:09:36.000000000 -0600
+@@ -35,6 +35,7 @@
+ #define __USE_GNU
+ #define _GNU_SOURCE
+ #endif
++#include <cstdlib>
+ #include <stdio.h>
+ #include <sys/stat.h>
+
+diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_unix_serial.cc gsmlib-1.11/gsmlib/gsm_unix_serial.cc
+--- gsmlib-1.11-orig/gsmlib/gsm_unix_serial.cc 2004-10-27 16:57:35.000000000 -0600
++++ gsmlib-1.11/gsmlib/gsm_unix_serial.cc 2008-02-24 15:19:03.000000000 -0600
+@@ -28,6 +28,7 @@
+ #include <pthread.h>
+ #include <cassert>
+ #include <assert.h>
++#include <cstring>
+
+ using namespace std;
+ using namespace gsmlib;
+diff -Naurp gsmlib-1.11-orig/gsmlib/gsm_sorted_phonebook.cc gsmlib-1.11/gsmlib/gsm_sorted_phonebook.cc
+--- gsmlib-1.11-orig/gsmlib/gsm_sorted_phonebook.cc 2002-05-14 13:38:12.000000000 -0600
++++ gsmlib-1.11/gsmlib/gsm_sorted_phonebook.cc 2008-02-24 15:22:52.000000000 -0600
+@@ -20,6 +20,7 @@
+ #include <iostream>
+ #include <fstream>
+ #include <limits.h>
++#include <cstring>
+
+ const int MAX_LINE_SIZE = 1000;
+
+diff -Naurp gsmlib-1.11-orig/apps/gsmsmsd.cc gsmlib-1.11/apps/gsmsmsd.cc
+--- gsmlib-1.11-orig/apps/gsmsmsd.cc 2003-08-26 00:47:47.000000000 -0600
++++ gsmlib-1.11/apps/gsmsmsd.cc 2008-02-24 15:25:54.000000000 -0600
+@@ -40,6 +40,7 @@
+ #include <iostream>
+ #include <gsmlib/gsm_me_ta.h>
+ #include <gsmlib/gsm_event.h>
++#include <cstring>
+
+ using namespace std;
+ using namespace gsmlib;
diff --git a/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild b/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild
index b8fcb5b4d0cf..7f42c3be2b28 100644
--- a/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild
+++ b/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild,v 1.11 2007/07/15 02:57:21 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gsmlib/gsmlib-1.11_pre041028.ebuild,v 1.12 2008/04/20 23:18:17 dirtyepic Exp $
inherit eutils
@@ -22,9 +22,10 @@ src_unpack() {
epatch "${FILESDIR}/${P%_pre*}-include-gcc34-fix.patch"
epatch "${FILESDIR}/${P%_pre*}-gcc41.patch"
+ epatch "${FILESDIR}"/${P%_pre*}-gcc43.patch
}
src_install () {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
dodoc Changelog README
}