svn commit: r363156 - in head/lang/squeak: . files
John Marino
marino at FreeBSD.org
Mon Jul 28 14:10:11 UTC 2014
Author: marino
Date: Mon Jul 28 14:10:10 2014
New Revision: 363156
URL: http://svnweb.freebsd.org/changeset/ports/363156
QAT: https://qat.redports.org/buildarchive/r363156/
Log:
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)
Added:
head/lang/squeak/files/patch-unix_vm_sqUnixMain.c (contents, props changed)
Modified:
head/lang/squeak/Makefile
Modified: head/lang/squeak/Makefile
==============================================================================
--- head/lang/squeak/Makefile Mon Jul 28 14:03:36 2014 (r363155)
+++ head/lang/squeak/Makefile Mon Jul 28 14:10:10 2014 (r363156)
@@ -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
Added: head/lang/squeak/files/patch-unix_vm_sqUnixMain.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/squeak/files/patch-unix_vm_sqUnixMain.c Mon Jul 28 14:10:10 2014 (r363156)
@@ -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)
More information about the svn-ports-all
mailing list