mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 08:49:15 -04:00
I've no way to test this, but it supposedly fixes the PowerPC build. Submitter has been notified the port will be removed due to lack of staging soon. PR: 184580 Submitted by: jrh29 (alumni.cwru.edu) Approved by: maintainer timeout (8 months) Approved by: portmgr (implicit, NO_STAGE)
13 lines
407 B
C
13 lines
407 B
C
--- unix/vm/sqUnixMain.c.bak 2013-12-05 13:49:51 -0800
|
|
+++ unix/vm/sqUnixMain.c
|
|
@@ -1334,8 +1334,8 @@
|
|
|| defined(POWERPC) || defined(__POWERPC) || defined (__POWERPC__) )
|
|
void mtfsfi(unsigned long long fpscr)
|
|
{
|
|
- __asm__("lfd f0, %0" :: "m"(fpscr));
|
|
- __asm__("mtfsf 0xff, f0");
|
|
+ __asm__("lfd 0, %0" :: "m"(fpscr));
|
|
+ __asm__("mtfsf 0xff, 0");
|
|
}
|
|
#else
|
|
# define mtfsfi(fpscr)
|