diff options
author | arved <arved@FreeBSD.org> | 2008-08-27 23:59:25 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2008-08-27 23:59:25 +0800 |
commit | 2c5f26bc7c765989757b0d2aa3d8de1c7fb35e2c (patch) | |
tree | 8c6499e998d11f51b3bdc181cfd7badb891a8137 /devel/ixlib | |
parent | 85c0b06613c75d42e19ed1aa9851bd8d66672ba2 (diff) | |
download | freebsd-ports-gnome-2c5f26bc7c765989757b0d2aa3d8de1c7fb35e2c.tar.gz freebsd-ports-gnome-2c5f26bc7c765989757b0d2aa3d8de1c7fb35e2c.tar.zst freebsd-ports-gnome-2c5f26bc7c765989757b0d2aa3d8de1c7fb35e2c.zip |
Fix compile on 64bit platforms
Diffstat (limited to 'devel/ixlib')
-rw-r--r-- | devel/ixlib/Makefile | 4 | ||||
-rw-r--r-- | devel/ixlib/files/patch-src::ixlib_garbage.hh | 13 |
2 files changed, 11 insertions, 6 deletions
diff --git a/devel/ixlib/Makefile b/devel/ixlib/Makefile index 0204e1cd9aa5..de79f00cb4ef 100644 --- a/devel/ixlib/Makefile +++ b/devel/ixlib/Makefile @@ -27,10 +27,6 @@ USE_LDCONFIG= yes .include <bsd.port.pre.mk> -.if ${ARCH} != "i386" -BROKEN= Does not compile on !i386 -.endif - pre-configure: ${CP} ${LTMAIN} ${WRKSRC} diff --git a/devel/ixlib/files/patch-src::ixlib_garbage.hh b/devel/ixlib/files/patch-src::ixlib_garbage.hh index 5e2a03071b51..1c913a76f2a3 100644 --- a/devel/ixlib/files/patch-src::ixlib_garbage.hh +++ b/devel/ixlib/files/patch-src::ixlib_garbage.hh @@ -1,5 +1,5 @@ ---- src/ixlib_garbage.hh.orig Tue Jun 19 16:16:29 2001 -+++ src/ixlib_garbage.hh Fri Dec 1 19:56:04 2006 +--- src/ixlib_garbage.hh.orig 2001-06-20 01:16:29.000000000 +0200 ++++ src/ixlib_garbage.hh 2008-08-27 17:54:47.000000000 +0200 @@ -126,24 +126,24 @@ // compiler generates one, which is *ahem* - fatal ref(ref const &src) @@ -216,6 +216,15 @@ return oldinst; } }; +@@ -440,7 +440,7 @@ + + private: + hash_value hash(T const *ptr) const { +- unsigned u = reinterpret_cast<unsigned>(ptr); ++ uintptr_t u = reinterpret_cast<uintptr_t>(ptr); + return (u ^ (u >> 8) ^ (u >> 16) ^ (u >> 24)) & HASH_MAX; + } + instance_data *getHashEntry(T const *instance) { @@ -482,7 +482,7 @@ |