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
commit61058b83da4dd8d92c285d4d9fd03703cfe194c3 (patch)
tree269269d5caa6ea4cb3a14d01763f6688dc85665b /app-pda/synce-rra
parentadd synce-librapi2 dep on 0.2. bug #76856. (diff)
downloadhistorical-61058b83da4dd8d92c285d4d9fd03703cfe194c3.tar.gz
historical-61058b83da4dd8d92c285d4d9fd03703cfe194c3.tar.bz2
historical-61058b83da4dd8d92c285d4d9fd03703cfe194c3.zip
added gcc3.4 compat patch. bug #67920.
Package-Manager: portage-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
}