summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Bevin <gbevin@gentoo.org>2002-04-06 16:23:27 +0000
committerGeert Bevin <gbevin@gentoo.org>2002-04-06 16:23:27 +0000
commit96c9b88100f4539727a274fe4d507085030c8c0e (patch)
treec4699818acfb5fe8aab39b6db541b6c5d57f1cc3 /dev-libs/pilot-link
parentadd imagemagick 5.4.4-4 (diff)
downloadhistorical-96c9b88100f4539727a274fe4d507085030c8c0e.tar.gz
historical-96c9b88100f4539727a274fe4d507085030c8c0e.tar.bz2
historical-96c9b88100f4539727a274fe4d507085030c8c0e.zip
gcc3 fixes
Diffstat (limited to 'dev-libs/pilot-link')
-rw-r--r--dev-libs/pilot-link/ChangeLog6
-rw-r--r--dev-libs/pilot-link/files/pilot-link-0.9.6-gcc3.diff55
-rw-r--r--dev-libs/pilot-link/pilot-link-0.9.6-r3.ebuild10
3 files changed, 69 insertions, 2 deletions
diff --git a/dev-libs/pilot-link/ChangeLog b/dev-libs/pilot-link/ChangeLog
index 0c066b89d8a0..a4dc99886d28 100644
--- a/dev-libs/pilot-link/ChangeLog
+++ b/dev-libs/pilot-link/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/pilot-link
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pilot-link/ChangeLog,v 1.1 2002/02/01 21:53:11 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pilot-link/ChangeLog,v 1.2 2002/04/06 16:23:27 gbevin Exp $
+
+ 06 Apr 2002; G.Bevin <gbevin@gentoo.org> files/pilot-link-0.9.6-gcc3.diff :
+
+ C++ compliancy fixes for correct compilation with gcc3
*pilot-link-0.9.6-r3 (1 Feb 2002)
diff --git a/dev-libs/pilot-link/files/pilot-link-0.9.6-gcc3.diff b/dev-libs/pilot-link/files/pilot-link-0.9.6-gcc3.diff
new file mode 100644
index 000000000000..de0b5e307e64
--- /dev/null
+++ b/dev-libs/pilot-link/files/pilot-link-0.9.6-gcc3.diff
@@ -0,0 +1,55 @@
+--- pilot-link-0.9.6/include/pi-datebook.hxx_orig Sat Apr 6 18:15:44 2002
++++ pilot-link-0.9.6/include/pi-datebook.hxx Sat Apr 6 18:16:01 2002
+@@ -34,7 +34,7 @@
+ };
+
+ private:
+- friend appointmentList_t;
++ friend class appointmentList_t;
+
+ tm _begin; // When the appointment begins
+ tm _end; // When the appointment ends
+--- pilot-link-0.9.6/include/pi-address.hxx_orig Sat Apr 6 18:16:52 2002
++++ pilot-link-0.9.6/include/pi-address.hxx Sat Apr 6 18:17:03 2002
+@@ -33,7 +33,7 @@
+
+ char *_entry[19];
+
+- friend addressList_t;
++ friend class addressList_t;
+
+ address_t *_next;
+
+--- pilot-link-0.9.6/include/pi-todo.hxx_orig Sat Apr 6 18:17:13 2002
++++ pilot-link-0.9.6/include/pi-todo.hxx Sat Apr 6 18:17:30 2002
+@@ -23,7 +23,7 @@
+
+ class todo_t : public baseApp_t
+ {
+- friend todoList_t;
++ friend class todoList_t;
+
+ struct tm *_due; // Non-NULL if there is a due date
+ int _priority; // A priority in the range 1-5
+--- pilot-link-0.9.6/include/pi-memo.hxx_orig Sat Apr 6 18:17:39 2002
++++ pilot-link-0.9.6/include/pi-memo.hxx Sat Apr 6 18:17:48 2002
+@@ -19,7 +19,7 @@
+
+ class memo_t : public baseApp_t
+ {
+- friend memoList_t;
++ friend class memoList_t;
+
+ char *_text;
+ int _size;
+--- pilot-link-0.9.6/include/pi-iambicExpense.hxx_orig Sat Apr 6 18:17:56 2002
++++ pilot-link-0.9.6/include/pi-iambicExpense.hxx Sat Apr 6 18:18:07 2002
+@@ -27,7 +27,7 @@
+
+ class iambicExpense_t : public baseApp_t
+ {
+- friend iambicExpenseList_t;
++ friend class iambicExpenseList_t;
+
+ short _flags;
+ char *_type;
diff --git a/dev-libs/pilot-link/pilot-link-0.9.6-r3.ebuild b/dev-libs/pilot-link/pilot-link-0.9.6-r3.ebuild
index 0e6d73f6c615..640e02ea8e21 100644
--- a/dev-libs/pilot-link/pilot-link-0.9.6-r3.ebuild
+++ b/dev-libs/pilot-link/pilot-link-0.9.6-r3.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# AJ Lewis <aj@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pilot-link/pilot-link-0.9.6-r3.ebuild,v 1.1 2001/12/07 12:34:51 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pilot-link/pilot-link-0.9.6-r3.ebuild,v 1.2 2002/04/06 16:23:27 gbevin Exp $
S=${WORKDIR}/${P}
DESCRIPTION="A suite of tools contains a series of conduits for moving
@@ -13,6 +13,14 @@ SRC_URI="http://www.gnu-designs.com/pilot-link/source/${P}.tar.gz
HOMEPAGE="http://www.gnu-designs.com/pilot-link/"
DEPEND="virtual/glibc"
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p1 ${FILESDIR}/pilot-link-0.9.6-gcc3.diff || die
+
+}
+
src_compile() {
./configure --host=${CHOST} \
--prefix=/usr/ \