diff options
author | marcus <marcus@FreeBSD.org> | 2004-11-08 14:04:59 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-11-08 14:04:59 +0800 |
commit | e2a328f0859e3fcaf44ffca8af68354dde5fca30 (patch) | |
tree | fe9075bd9d0827bfcad5007b38ce7ce5b11a8b77 /databases/evolution-data-server/files | |
parent | 85013664381b2cc1c36a6fd62da53eeefbb6d4d9 (diff) | |
download | freebsd-ports-gnome-e2a328f0859e3fcaf44ffca8af68354dde5fca30.tar.gz freebsd-ports-gnome-e2a328f0859e3fcaf44ffca8af68354dde5fca30.tar.zst freebsd-ports-gnome-e2a328f0859e3fcaf44ffca8af68354dde5fca30.zip |
Remove a redundant x86/amd64 section to fix the build on amd64.
PR: 73659
Obtained from: GNOME CVS
Diffstat (limited to 'databases/evolution-data-server/files')
-rw-r--r-- | databases/evolution-data-server/files/patch-libdb_dbinc_mutex.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/databases/evolution-data-server/files/patch-libdb_dbinc_mutex.h b/databases/evolution-data-server/files/patch-libdb_dbinc_mutex.h new file mode 100644 index 000000000000..e64cc8177c6f --- /dev/null +++ b/databases/evolution-data-server/files/patch-libdb_dbinc_mutex.h @@ -0,0 +1,34 @@ +--- libdb/dbinc/mutex.h.orig Mon Nov 8 01:02:41 2004 ++++ libdb/dbinc/mutex.h Mon Nov 8 01:03:04 2004 +@@ -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 |