Date: Fri, 03 Feb 2012 14:30:23 +0900 From: Takefu <takefu@airport.fm> To: freebsd-gnats-submit@FreeBSD.org Cc: bkoenig@alpha-tierchen.de Subject: ports/164727: [UPDATE] devel/libffi: update to 3.0.10 Message-ID: <4F2B70EF.4040606@airport.fm> Resent-Message-ID: <201202030540.q135eDQu026402@freefall.freebsd.org> In-Reply-To: <201202030520.q135Ktbi004350@unbound.local.ae-osaka.co.jp> References: <201202030520.q135Ktbi004350@unbound.local.ae-osaka.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
>Number: 164727 >Category: ports >Synopsis: [UPDATE] devel/libffi: update to 3.0.10 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 03 05:40:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Takefu >Release: FreeBSD 8.2-RELEASE-p5 amd64 >Organization: FOX Amateur Radio Club >Environment: >Description: - Update to 3.0.10 - add LICENSE_FILE Port maintainer (bkoenig@alpha-tierchen.de) is cc'd. >How-To-Repeat: >Fix: --- libffi.patch begins here --- diff -ruN /usr/ports/devel/libffi/Makefile devel/libffi/Makefile --- /usr/ports/devel/libffi/Makefile 2011-11-14 19:26:34.000000000 +0900 +++ devel/libffi/Makefile 2012-02-03 14:09:54.000000000 +0900 @@ -6,13 +6,16 @@ # PORTNAME= libffi -PORTVERSION= 3.0.9 +PORTVERSION= 3.0.10 CATEGORIES= devel MASTER_SITES= ftp://sourceware.org/pub/libffi/ MAINTAINER= bkoenig@alpha-tierchen.de COMMENT= Foreign Function Interface +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GNOME= gnomehack pkgconfig diff -ruN /usr/ports/devel/libffi/distinfo devel/libffi/distinfo --- /usr/ports/devel/libffi/distinfo 2011-07-04 09:06:10.000000000 +0900 +++ devel/libffi/distinfo 2012-02-03 12:59:26.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (libffi-3.0.9.tar.gz) = 589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452 -SIZE (libffi-3.0.9.tar.gz) = 731719 +SHA256 (libffi-3.0.10.tar.gz) = f01eb9027e9eb56aeaeef636649877756d475d714ef8b47f627f65bc5f3b492f +SIZE (libffi-3.0.10.tar.gz) = 753346 diff -ruN /usr/ports/devel/libffi/files/patch-configure devel/libffi/files/patch-configure --- /usr/ports/devel/libffi/files/patch-configure 2010-12-16 17:17:31.000000000 +0900 +++ devel/libffi/files/patch-configure 1970-01-01 09:00:00.000000000 +0900 @@ -1,21 +0,0 @@ ---- configure.orig 2010-11-22 12:53:14.000000000 +0100 -+++ configure 2010-11-22 12:53:26.000000000 +0100 -@@ -12231,6 +12231,9 @@ - powerpc-*-freebsd*) - TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc - ;; -+ powerpc64-*-freebsd*) -+ TARGET=POWERPC; TARGETDIR=powerpc -+ ;; - powerpc*-*-rtems*) - TARGET=POWERPC; TARGETDIR=powerpc - ;; -@@ -14484,7 +14487,7 @@ - - libffi_cv_as_x86_pcrel=yes - echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s -- if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then -+ if $CC -c conftest.s 2>&1 | grep -i warning > /dev/null; then - libffi_cv_as_x86_pcrel=no - fi - diff -ruN /usr/ports/devel/libffi/files/patch-src_arm_sysv.S devel/libffi/files/patch-src_arm_sysv.S --- /usr/ports/devel/libffi/files/patch-src_arm_sysv.S 2010-07-21 16:54:08.000000000 +0900 +++ devel/libffi/files/patch-src_arm_sysv.S 1970-01-01 09:00:00.000000000 +0900 @@ -1,73 +0,0 @@ ---- src/arm/sysv.S.orig 2008-02-15 02:15:41.000000000 +0100 -+++ src/arm/sysv.S 2008-04-01 13:25:02.000000000 +0200 -@@ -83,14 +83,6 @@ - # define call_reg(x) mov lr, pc ; mov pc, x - #endif - --/* Conditionally compile unwinder directives. */ --#ifdef __ARM_EABI__ --#define UNWIND --#else --#define UNWIND @ --#endif -- -- - #if defined(__thumb__) && !defined(__THUMB_INTERWORK__) - .macro ARM_FUNC_START name - .text -@@ -101,7 +93,6 @@ - bx pc - nop - .arm -- UNWIND .fnstart - /* A hook to tell gdb that we've switched to ARM mode. Also used to call - directly from other local arm routines. */ - _L__\name: -@@ -112,7 +103,6 @@ - .align 0 - .arm - ENTRY(\name) -- UNWIND .fnstart - .endm - #endif - -@@ -145,11 +135,8 @@ - ARM_FUNC_START ffi_call_SYSV - @ Save registers - stmfd sp!, {r0-r3, fp, lr} -- UNWIND .save {r0-r3, fp, lr} - mov fp, sp - -- UNWIND .setfp fp, sp -- - @ Make room for all of the new args. - sub sp, fp, r2 - -@@ -219,7 +206,6 @@ - RETLDM "r0-r3,fp" - - .ffi_call_SYSV_end: -- UNWIND .fnend - .size CNAME(ffi_call_SYSV),.ffi_call_SYSV_end-CNAME(ffi_call_SYSV) - - /* -@@ -231,12 +217,9 @@ - */ - - ARM_FUNC_START ffi_closure_SYSV -- UNWIND .pad #16 - add ip, sp, #16 - stmfd sp!, {ip, lr} -- UNWIND .save {r0, lr} - add r2, sp, #8 -- .pad #16 - sub sp, sp, #16 - str sp, [sp, #8] - add r1, sp, #8 -@@ -291,6 +274,5 @@ - #endif - - .ffi_closure_SYSV_end: -- UNWIND .fnend - .size CNAME(ffi_closure_SYSV),.ffi_closure_SYSV_end-CNAME(ffi_closure_SYSV) - --- libffi.patch ends here --- --------------040507010505090207080602 Content-Type: text/plain; name="=?ISO-2022-JP?B?GyRCRTpJVSVhJUMlOyE8JThJdBsoQg==?=" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0*=ISO-2022-JP''%1B%24%42%45%3A%49%55%25%61%25%43%25%3B%21%3C%25; filename*1*=%38%49%74%1B%28%42 --------------040507010505090207080602-- >Release-Note: >Audit-Trail: >Unformatted: This is a multi-part message in MIME format. --------------040507010505090207080602 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2B70EF.4040606>