1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

lang/squeak: Claimed fix for PowerPC

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)
This commit is contained in:
John Marino 2014-07-28 14:10:10 +00:00
parent 56bb0d9226
commit 8a7de1aa78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363156
2 changed files with 14 additions and 1 deletions

View File

@ -45,7 +45,7 @@ NO_STAGE= yes
##################################################
DIST_SUBDIR= squeak
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS= i386 amd64 powerpc
MAN1= squeak.1
USE_GCC= any
USE_GL= gl

View File

@ -0,0 +1,13 @@
--- 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)