mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
- Fix build on sparc64 and possibly ia64 (not tested)
Approved by: portmgr (erwin)
This commit is contained in:
parent
4a30b77282
commit
96d85e2880
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220385
1 changed files with 20 additions and 0 deletions
20
deskutils/fusenshi/files/patch-src-fio_filemanager.cpp
Normal file
20
deskutils/fusenshi/files/patch-src-fio_filemanager.cpp
Normal file
|
@ -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;
|
Loading…
Add table
Reference in a new issue