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:
parent
56bb0d9226
commit
8a7de1aa78
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363156
@ -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
|
||||
|
13
lang/squeak/files/patch-unix_vm_sqUnixMain.c
Normal file
13
lang/squeak/files/patch-unix_vm_sqUnixMain.c
Normal 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)
|
Loading…
Reference in New Issue
Block a user