diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-12-11 15:12:29 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-12-11 15:12:29 +0000 |
commit | 834aaa13c54232765acd2834c16c8600f324df83 (patch) | |
tree | f8938326d74fdd1b7a0003d5b1ab26c3da02b322 /mail/evolution-data-server | |
parent | 11584bd0293a6ec28540c537bbce136b49c88a02 (diff) | |
download | pkgsrc-834aaa13c54232765acd2834c16c8600f324df83.tar.gz |
Make this pkg build on amd64 with a patch from evolution-data-server-1.0.3.
Diffstat (limited to 'mail/evolution-data-server')
-rw-r--r-- | mail/evolution-data-server/distinfo | 3 | ||||
-rw-r--r-- | mail/evolution-data-server/patches/patch-ak | 36 |
2 files changed, 38 insertions, 1 deletions
diff --git a/mail/evolution-data-server/distinfo b/mail/evolution-data-server/distinfo index 8382677e941..a98562a1586 100644 --- a/mail/evolution-data-server/distinfo +++ b/mail/evolution-data-server/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2004/11/18 14:20:26 sketch Exp $ +$NetBSD: distinfo,v 1.11 2004/12/11 15:12:29 kristerw Exp $ SHA1 (evolution-data-server-1.0.2.tar.bz2) = 9b030961f5c55d9cb9a7fd62cf8913cbeabc09cc Size (evolution-data-server-1.0.2.tar.bz2) = 4939846 bytes @@ -12,3 +12,4 @@ SHA1 (patch-ag) = 3b98f839509014856240966a0a5f4d56aaeced5c SHA1 (patch-ah) = fe05e242d12148f2a29356ada254131482774f35 SHA1 (patch-ai) = 4031c5d07e8b133e435520359140748a763671a0 SHA1 (patch-aj) = 3644733e7bf95ce61a1c4c0e7af4a781826a89fb +SHA1 (patch-ak) = 70c3c7fb857c9b4e972a3ae43f873d07fdc904cb diff --git a/mail/evolution-data-server/patches/patch-ak b/mail/evolution-data-server/patches/patch-ak new file mode 100644 index 00000000000..846a75f03e2 --- /dev/null +++ b/mail/evolution-data-server/patches/patch-ak @@ -0,0 +1,36 @@ +$NetBSD: patch-ak,v 1.1 2004/12/11 15:12:29 kristerw Exp $ + +--- libdb/dbinc/mutex.h.orig 2004-12-11 15:29:58.000000000 +0100 ++++ libdb/dbinc/mutex.h 2004-12-11 15:30:37.000000000 +0100 +@@ -729,31 +729,6 @@ + #endif + + /********************************************************************* +- * amd64/gcc assembly. +- *********************************************************************/ +-#ifdef HAVE_MUTEX_X86_64_GCC_ASSEMBLY +-typedef unsigned char tsl_t; +- +-#ifdef LOAD_ACTUAL_MUTEX_CODE +-/* +- * For gcc/amd64, 0 is clear, 1 is set. +- */ +-#define MUTEX_SET(tsl) ({ \ +- register tsl_t *__l = (tsl); \ +- int __r; \ +- asm volatile("mov $1,%%rax; lock; xchgb %1,%%al; xor $1,%%rax"\ +- : "=&a" (__r), "=m" (*__l) \ +- : "1" (*__l) \ +- ); \ +- __r & 1; \ +-}) +- +-#define MUTEX_UNSET(tsl) (*(tsl) = 0) +-#define MUTEX_INIT(tsl) MUTEX_UNSET(tsl) +-#endif +-#endif +- +-/********************************************************************* + * x86_64/gcc assembly. + *********************************************************************/ + #ifdef HAVE_MUTEX_X86_64_GCC_ASSEMBLY |