ports/151348: [patch] make lang/gforth build on powerpc

Andreas Tobler andreast at FreeBSD.org
Sat Oct 9 19:00:26 UTC 2010


>Number:         151348
>Category:       ports
>Synopsis:       [patch] make lang/gforth build on powerpc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 09 19:00:18 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Tobler
>Release:        -CURRENT
>Organization:
none
>Environment:
FreeBSD wolfram.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #6 r213409M: Mon Oct  4 20:11:20 CEST 2010     andreast at wolfram.andreas.nets:/usr/obj/export/devel/fbsd/src/sys/ANDREAST_ppc_pb  powerpc

>Description:
The attached patch fixes the build for powerpc. We do not have gcc-2.95 in work at all ;)

BTW, is there a plan to update to gforth-0.7.0? Well, I saw that they bumped to GPLv3.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- configure.orig	2003-08-25 10:03:42.000000000 +0200
+++ configure	2010-10-09 20:40:43.000000000 +0200
@@ -3584,9 +3584,6 @@
 else
   LIBOBJS="$LIBOBJS ../arch/power/_sync_cache_range.$ac_objext"
 fi
-
-		#long long is broken on (at least) gcc-2.95.* for PPC
-		test x$ac_cv_sizeof_long_long = x && ac_cv_sizeof_long_long=0
 		;;
 	*)
 		{ echo "$as_me:$LINENO: WARNING: Using a generic machine description" >&5
@@ -8079,8 +8076,8 @@
   if (x) {
   label1:
     asm("$i");
-  label2:
   }
+  label2:
   return (&&label2)-(&&label1);
 }
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list