diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile index 388daf1740aa..ce65219ed975 100644 --- a/x11-toolkits/fox17/Makefile +++ b/x11-toolkits/fox17/Makefile @@ -46,10 +46,6 @@ MAN1= reswrap.1 shutterbug.1 adie.1 PathFinder.1 calculator.1 \ .include -.if ${ARCH} == i386 -BROKEN= does not build -.endif - .if defined(WITHOUT_JPEG) CONFIGURE_ARGS+=--disable-jpeg .else diff --git a/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp b/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp index 9fd0773b7ec3..93b7dda399bf 100644 --- a/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp +++ b/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp @@ -1,5 +1,5 @@ --- lib/FXAtomic.cpp.orig 2012-04-27 18:46:09.000000000 +0200 -+++ lib/FXAtomic.cpp 2012-06-20 10:39:15.000000000 +0200 ++++ lib/FXAtomic.cpp 2012-06-21 15:22:43.000000000 +0200 @@ -298,7 +298,7 @@ LONGLONG duet[2]={(LONGLONG)a,(LONGLONG)b}; return (_InterlockedCompareExchange128((LONGLONG volatile*)ptr,(LONGLONG)cmpb,(LONGLONG)cmpa,duet)); @@ -9,3 +9,12 @@ register FXbool ret; __asm__ __volatile__ ("xchgl %%esi, %%ebx\n\t" "lock\n\t" +@@ -308,7 +308,7 @@ + "xchgl %%esi, %%ebx\n\t" : "=a"(ret) : "D"(ptr), "a"(cmpa), "d"(cmpb), "S"(a), "c"(b) : "memory", "cc"); + return ret; + #else +- register TBool ret; ++ register FXbool ret; + __asm__ __volatile__ ("lock\n\t" + "cmpxchg8b (%1)\n\t" + "setz %%al\n\t"