diff options
author | gahr <gahr@FreeBSD.org> | 2008-09-15 18:12:31 +0000 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-09-15 18:12:31 +0000 |
commit | 9102c086428bbba65bb44f55488e01a547373fd0 (patch) | |
tree | aada459940316a00ab0c79975d112b95d28b7752 /deskutils | |
parent | f85dbba08ee39496fc2dbe295461389c8c229981 (diff) | |
download | FreeBSD-ports-9102c086428bbba65bb44f55488e01a547373fd0.zip FreeBSD-ports-9102c086428bbba65bb44f55488e01a547373fd0.tar.gz |
- Fix build on sparc64 and possibly ia64 (not tested)
Approved by: portmgr (erwin)
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/fusenshi/files/patch-src-fio_filemanager.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/deskutils/fusenshi/files/patch-src-fio_filemanager.cpp b/deskutils/fusenshi/files/patch-src-fio_filemanager.cpp new file mode 100644 index 0000000..2a919e3 --- /dev/null +++ b/deskutils/fusenshi/files/patch-src-fio_filemanager.cpp @@ -0,0 +1,20 @@ +--- src/fio/filemanager.cpp.orig 2008-09-15 16:42:48.000000000 +0000 ++++ src/fio/filemanager.cpp 2008-09-15 16:46:08.000000000 +0000 +@@ -42,7 +42,7 @@ + + static guint HashFunc(gconstpointer pKey) + { +-#ifdef __amd64__ ++#if defined __amd64__ || defined __sparc64__ || defined __ia64__ + u_int64_t nKey = (u_int64_t)pKey; + #else + u_int32_t nKey = (u_int32_t)pKey; +@@ -85,7 +85,7 @@ + LP_SEARCH_DATA lpData = (LP_SEARCH_DATA)data; + + if (strcmp(lpData->pFileName, (const gchar*)value) == 0) { +-#ifdef __amd64__ ++#if defined __amd64__ || defined __sparc64__ || defined __ia64__ + lpData->result = (u_int64_t)key; + #else + lpData->result = (u_int32_t)key; |