ports/162633: [ patch ] lang/python31: fix build on powerpc
Roman Bogorodskiy
novel at FreeBSD.org
Thu Nov 17 05:20:07 UTC 2011
>Number: 162633
>Category: ports
>Synopsis: [ patch ] lang/python31: fix build on powerpc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 17 05:20:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 8.2-STABLE FreeBSD 8.2-STABLE #4 r220774: Mon Apr 18 13:56:14 UTC 2011 simon at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
Fix build of ctypes extension on freebsd/ppc by
importing fix for libffi from libffi upstream.
>How-To-Repeat:
>Fix:
--- python31ppc.diff begins here ---
Index: files/patch-Modules-_ctypes-libffi-src-powerpc-ffitarget.h
===================================================================
RCS file: files/patch-Modules-_ctypes-libffi-src-powerpc-ffitarget.h
diff -N files/patch-Modules-_ctypes-libffi-src-powerpc-ffitarget.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-Modules-_ctypes-libffi-src-powerpc-ffitarget.h 17 Nov 2011 05:09:15 -0000
@@ -0,0 +1,11 @@
+--- Modules/_ctypes/libffi/src/powerpc/ffitarget.h.orig 2011-11-16 20:32:42.000000000 -0800
++++ Modules/_ctypes/libffi/src/powerpc/ffitarget.h 2011-11-16 20:33:23.000000000 -0800
+@@ -78,6 +78,8 @@
+ FFI_SYSV,
+ FFI_GCC_SYSV,
+ FFI_LINUX64,
++ FFI_LINUX,
++ FFI_LINUX_SOFT_FLOAT,
+ FFI_DEFAULT_ABI = FFI_SYSV,
+ #endif
+
--- python31ppc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list