summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2005-01-26 14:03:19 +0000
committerAlastair Tse <liquidx@gentoo.org>2005-01-26 14:03:19 +0000
commit2823f67b48285c05f7292cd84714a7af6b35a18d (patch)
tree41b19bb48f16b2d16cfdea6cebd9f3ca6e33d798 /app-pda/synce-rra
parentadd synce-librapi2 dep on 0.2. bug #76856. (diff)
downloadgentoo-2-2823f67b48285c05f7292cd84714a7af6b35a18d.tar.gz
gentoo-2-2823f67b48285c05f7292cd84714a7af6b35a18d.tar.bz2
gentoo-2-2823f67b48285c05f7292cd84714a7af6b35a18d.zip
added gcc3.4 compat patch. bug #67920.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'app-pda/synce-rra')
-rw-r--r--app-pda/synce-rra/ChangeLog6
-rw-r--r--app-pda/synce-rra/files/0.9.0-gcc34.patch19
-rw-r--r--app-pda/synce-rra/synce-rra-0.9.0.ebuild8
3 files changed, 31 insertions, 2 deletions
diff --git a/app-pda/synce-rra/ChangeLog b/app-pda/synce-rra/ChangeLog
index 56636b51e2da..3f6ae3bf1009 100644
--- a/app-pda/synce-rra/ChangeLog
+++ b/app-pda/synce-rra/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-pda/synce-rra
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-rra/ChangeLog,v 1.13 2005/01/01 15:49:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-rra/ChangeLog,v 1.14 2005/01/26 14:03:19 liquidx Exp $
+
+ 26 Jan 2005; Alastair Tse <liquidx@gentoo.org> +files/0.9.0-gcc34.patch,
+ synce-rra-0.9.0.ebuild:
+ added gcc3.4 compat patch. bug #67920.
30 Nov 2004; Sven Wegener <swegener@gentoo.org> synce-rra-0.8.4.ebuild:
Fixed invalid atoms in *DEPEND.
diff --git a/app-pda/synce-rra/files/0.9.0-gcc34.patch b/app-pda/synce-rra/files/0.9.0-gcc34.patch
new file mode 100644
index 000000000000..5320b6ccc535
--- /dev/null
+++ b/app-pda/synce-rra/files/0.9.0-gcc34.patch
@@ -0,0 +1,19 @@
+--- lib/appointment.c 2004-08-17 17:10:21.000000000 +0100
++++ lib/appointment.c.new 2005-01-26 13:54:20.359615081 +0000
+@@ -665,7 +665,7 @@
+ event_parser_data.exdates))
+ synce_warning("Failed to parse recurrence rule");
+
+- if (event_parser_data.uid)
++ if (event_parser_data.uid) {
+ if (0 == strncmp(event_parser_data.uid->values[0], BLOB0067_STR, strlen(BLOB0067_STR)))
+ {
+ /* A binary UID from SynCE */
+@@ -685,6 +685,7 @@
+ parser_add_blob(parser, ID_UNIQUE, buffer, size);
+ free(buffer);
+ }
++ }
+ else
+ {
+ /* A text UID */
diff --git a/app-pda/synce-rra/synce-rra-0.9.0.ebuild b/app-pda/synce-rra/synce-rra-0.9.0.ebuild
index ceb019568a33..72c727ca221c 100644
--- a/app-pda/synce-rra/synce-rra-0.9.0.ebuild
+++ b/app-pda/synce-rra/synce-rra-0.9.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-rra/synce-rra-0.9.0.ebuild,v 1.4 2005/01/01 15:49:41 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-rra/synce-rra-0.9.0.ebuild,v 1.5 2005/01/26 14:03:19 liquidx Exp $
inherit eutils
@@ -18,6 +18,12 @@ DEPEND=">=dev-libs/check-0.8.2
>=app-pda/synce-libsynce-0.9.0
>=app-pda/synce-librapi2-0.9.0"
+src_unpack() {
+ unpack ${A}
+ cd ${S}/lib
+ epatch ${FILESDIR}/${PV}-gcc34.patch
+}
+
src_install() {
make DESTDIR="${D%/}" install || die
}