summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2006-06-22 10:31:55 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2006-06-22 10:31:55 +0000
commitb7f65071aac259af40a8e2359ed962df7d469cb2 (patch)
tree7a67335eb15ef21f7132eec484131f81decae8de /app-pda
parentStable on x86. (diff)
downloadgentoo-2-b7f65071aac259af40a8e2359ed962df7d469cb2.tar.gz
gentoo-2-b7f65071aac259af40a8e2359ed962df7d469cb2.tar.bz2
gentoo-2-b7f65071aac259af40a8e2359ed962df7d469cb2.zip
Added patch to support amd64 architecture
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'app-pda')
-rw-r--r--app-pda/synce-libsynce/ChangeLog6
-rw-r--r--app-pda/synce-libsynce/files/digest-synce-libsynce-0.9.12
-rw-r--r--app-pda/synce-libsynce/files/synce-libsynce-0.9.1-amd64.patch20
-rw-r--r--app-pda/synce-libsynce/synce-libsynce-0.9.1.ebuild9
4 files changed, 35 insertions, 2 deletions
diff --git a/app-pda/synce-libsynce/ChangeLog b/app-pda/synce-libsynce/ChangeLog
index 957ce3ea8625..61d50bfeac60 100644
--- a/app-pda/synce-libsynce/ChangeLog
+++ b/app-pda/synce-libsynce/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-pda/synce-libsynce
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-libsynce/ChangeLog,v 1.17 2006/03/30 22:06:46 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-libsynce/ChangeLog,v 1.18 2006/06/22 10:31:55 sekretarz Exp $
+
+ 22 Jun 2006; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/synce-libsynce-0.9.1-amd64.patch, synce-libsynce-0.9.1.ebuild:
+ Added patch to support amd64 architecture
30 Mar 2006; Aron Griffis <agriffis@gentoo.org>
synce-libsynce-0.9.1.ebuild:
diff --git a/app-pda/synce-libsynce/files/digest-synce-libsynce-0.9.1 b/app-pda/synce-libsynce/files/digest-synce-libsynce-0.9.1
index b4d47300a9f4..3155ced5dc80 100644
--- a/app-pda/synce-libsynce/files/digest-synce-libsynce-0.9.1
+++ b/app-pda/synce-libsynce/files/digest-synce-libsynce-0.9.1
@@ -1 +1,3 @@
MD5 3fcffb776a5bedc23458152e5a650348 synce-libsynce-0.9.1.tar.gz 356343
+RMD160 a8c9d68196dec1b7555f56e8aab622a2817e1cf3 synce-libsynce-0.9.1.tar.gz 356343
+SHA256 78f342a77bd3b58b70377beb3eea8dd3319ead72300c66fc7ceda3139207ede5 synce-libsynce-0.9.1.tar.gz 356343
diff --git a/app-pda/synce-libsynce/files/synce-libsynce-0.9.1-amd64.patch b/app-pda/synce-libsynce/files/synce-libsynce-0.9.1-amd64.patch
new file mode 100644
index 000000000000..6d7cf96b0529
--- /dev/null
+++ b/app-pda/synce-libsynce/files/synce-libsynce-0.9.1-amd64.patch
@@ -0,0 +1,20 @@
+--- lib/synce_types.h.old 2005-05-12 14:51:47.000000000 +0200
++++ lib/synce_types.h 2006-06-22 12:16:10.000000000 +0200
+@@ -27,7 +27,7 @@
+ typedef int32_t HKEY;
+ typedef int32_t REGSAM;
+
+-typedef uint32_t DWORD;
++typedef size_t DWORD;
+ typedef uint32_t UINT;
+ typedef uint32_t ULONG;
+ typedef uint32_t HWND;
+@@ -92,7 +92,7 @@
+ } FILETIME, *PFILETIME, *LPFILETIME;
+
+ /* A handle is usually a void*, but we must guarantee 32-bit! */
+-typedef uint32_t HANDLE;
++typedef size_t HANDLE;
+
+ #define INVALID_HANDLE_VALUE ((HANDLE)-1)
+
diff --git a/app-pda/synce-libsynce/synce-libsynce-0.9.1.ebuild b/app-pda/synce-libsynce/synce-libsynce-0.9.1.ebuild
index 53b237caca17..5d0b87b3ec7e 100644
--- a/app-pda/synce-libsynce/synce-libsynce-0.9.1.ebuild
+++ b/app-pda/synce-libsynce/synce-libsynce-0.9.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-libsynce/synce-libsynce-0.9.1.ebuild,v 1.2 2006/03/30 22:06:46 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-libsynce/synce-libsynce-0.9.1.ebuild,v 1.3 2006/06/22 10:31:55 sekretarz Exp $
inherit eutils
@@ -15,6 +15,13 @@ IUSE=""
DEPEND=">=dev-libs/check-0.8.3.1"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-amd64.patch
+}
+
src_install() {
make DESTDIR=${D} install || die
dodoc README