From nobody@FreeBSD.org  Sun Apr 25 20:17:33 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F0454106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Apr 2010 20:17:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DF53A8FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Apr 2010 20:17:33 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3PKHXSD064363
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Apr 2010 20:17:33 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o3PKHXSm064362;
	Sun, 25 Apr 2010 20:17:33 GMT
	(envelope-from nobody)
Message-Id: <201004252017.o3PKHXSm064362@www.freebsd.org>
Date: Sun, 25 Apr 2010 20:17:33 GMT
From: Andreas Tobler <andreast-list@fgznet.ch>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] make python31 build on powerpc
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146049
>Category:       ports
>Synopsis:       [patch] make lang/python31 build on powerpc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 25 20:20:02 UTC 2010
>Closed-Date:    Sun May 09 08:35:05 UTC 2010
>Last-Modified:  Sun May 09 08:35:05 UTC 2010
>Originator:     Andreas Tobler
>Release:        -CURRENT
>Organization:
none
>Environment:
FreeBSD wolfram.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r207154M: Sun Apr 25 02:19:25 CEST 2010     andreast@wolfram.andreas.nets:/usr/obj/export/devel/fbsd/src/sys/ANDREAST_ppc_pb  powerpc
>Description:
The attached patch lets me build python31 on powerpc. Including installation, and deinstallation.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Modules/_ctypes/libffi/src/powerpc/ffitarget.h.orig	2009-12-28 12:29:03.000000000 +0000
+++ Modules/_ctypes/libffi/src/powerpc/ffitarget.h	2009-12-28 12:30:11.000000000 +0000
@@ -78,6 +78,8 @@
   FFI_SYSV,
   FFI_GCC_SYSV,
   FFI_LINUX64,
+  FFI_LINUX,
+  FFI_LINUX_SOFT_FLOAT,
   FFI_DEFAULT_ABI = FFI_SYSV,
 #endif
 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon Apr 26 16:43:20 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146049 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun May 9 08:35:04 UTC 2010 
State-Changed-Why:  
fixed in upsteam we'll commit the new python version after gnome update. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146049 
>Unformatted:
