From takefu@airport.fm  Fri Sep 21 06:14:48 2012
Return-Path: <takefu@airport.fm>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 20EF5106564A
	for <freebsd-gnats-submit@freebsd.org>; Fri, 21 Sep 2012 06:14:48 +0000 (UTC)
	(envelope-from takefu@airport.fm)
Received: from ae-osaka.co.jp (unknown [IPv6:2001:3e0:4ec:a000::1])
	by mx1.freebsd.org (Postfix) with ESMTP id 71D2D8FC08
	for <freebsd-gnats-submit@freebsd.org>; Fri, 21 Sep 2012 06:14:47 +0000 (UTC)
Received: from ae-osaka.co.jp (localhost.ae-osaka.co.jp [127.0.0.1])
	by ae-osaka.co.jp (Postfix) with ESMTP id 96A99D3AC02
	for <freebsd-gnats-submit@freebsd.org>; Fri, 21 Sep 2012 15:14:38 +0900 (JST)
Received: from [IPv6:2001:3e0:4ec:a011:1548:b01a:ee74:bc2b] (unknown [IPv6:2001:3e0:4ec:a011:1548:b01a:ee74:bc2b])
	by ae-osaka.co.jp (Postfix) with ESMTPSA id 201CDD3AC01
	for <freebsd-gnats-submit@freebsd.org>; Fri, 21 Sep 2012 15:14:38 +0900 (JST)
Message-Id: <505C05CE.1070302@airport.fm>
Date: Fri, 21 Sep 2012 15:14:38 +0900
From: Takefu <takefu@airport.fm>
Reply-To: takefu@airport.fm
To: freebsd-gnats-submit@freebsd.org
Subject: [UPDATE] devel/libffi: update to 3.0.11

>Number:         171836
>Category:       ports
>Synopsis:       [UPDATE] devel/libffi: update to 3.0.11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 21 06:20:07 UTC 2012
>Closed-Date:    Sat Oct 06 18:52:58 UTC 2012
>Last-Modified:  Sun Mar 17 19:02:38 UTC 2013
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 > Category:	ports
 > Synopsis:	[UPDATE] devel/libffi: update to 3.0.11
 > Severity:	non-critical
 > Priority:	low
 > Responsible:	freebsd-ports-bugs
 > Class:	sw-bug
 > Submitter-Id:	current-users
 > Originator:	Takefu
 > Organization:
 FOX Amateur Radio Club
 > Environment:
 > Description:
 - Update to 3.0.11
 - Modify library
   devel/gobject-introspection
   devel/lua-alien
   devel/py-gobject
   devel/rubygem-ffi
   devel/seed
   lang/gnustep-base
   lang/librep
   lang/python27
   lang/ruby19
   lang/stklos
 
 > Fix:
 --- devel/libffi.patch begins here ---
 diff -ruN /usr/ports/devel/libffi/Makefile devel/libffi/Makefile
 --- /usr/ports/devel/libffi/Makefile	2011-11-10 00:25:30.000000000 +0900
 +++ devel/libffi/Makefile	2012-09-20 10:12:19.000000000 +0900
 @@ -6,7 +6,7 @@
  #
 
  PORTNAME=	libffi
 -PORTVERSION=	3.0.9
 +PORTVERSION=	3.0.11
  CATEGORIES=	devel
  MASTER_SITES=	ftp://sourceware.org/pub/libffi/
 
 @@ -14,6 +14,8 @@
  COMMENT=	Foreign Function Interface
 
  GNU_CONFIGURE=	yes
 +
 +USE_GCC=	4.2+
  USE_LDCONFIG=	yes
  USE_GNOME=	gnomehack pkgconfig
  PLIST_SUB=	PORTVERSION=${PORTVERSION}
 diff -ruN /usr/ports/devel/libffi/distinfo devel/libffi/distinfo
 --- /usr/ports/devel/libffi/distinfo	2011-07-03 23:56:07.000000000 +0900
 +++ devel/libffi/distinfo	2012-09-19 17:30:03.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.11.tar.gz) = 70bfb01356360089aa97d3e71e3edf05d195599fd822e922e50d46a0055a6283
 +SIZE (libffi-3.0.11.tar.gz) = 794220
 diff -ruN /usr/ports/devel/libffi/files/patch-configure devel/libffi/files/patch-configure
 --- /usr/ports/devel/libffi/files/patch-configure	2010-12-15 04:33:15.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	2008-04-04 21:59:12.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)
 -
 diff -ruN /usr/ports/devel/libffi/pkg-plist devel/libffi/pkg-plist
 --- /usr/ports/devel/libffi/pkg-plist	2008-10-22 16:31:06.000000000 +0900
 +++ devel/libffi/pkg-plist	2012-09-19 17:30:03.000000000 +0900
 @@ -5,7 +5,7 @@
  lib/libffi.a
  lib/libffi.la
  lib/libffi.so
 -lib/libffi.so.5
 +lib/libffi.so.6
  libdata/pkgconfig/libffi.pc
  @dirrm lib/libffi-%%PORTVERSION%%/include
  @dirrm lib/libffi-%%PORTVERSION%%
 --- devel/libffi.patch ends here ---
 
 
 --- devel/gobject-introspection.patch begins here ---
 diff -ruN /usr/ports/devel/gobject-introspection/Makefile devel/gobject-introspection/Makefile
 --- /usr/ports/devel/gobject-introspection/Makefile	2012-09-04 12:05:23.000000000 +0900
 +++ devel/gobject-introspection/Makefile	2012-09-21 22:20:53.000000000 +0900
 @@ -8,7 +8,7 @@
 
  PORTNAME=	gobject-introspection
  PORTVERSION=	0.10.8
 -PORTREVISION=	2
 +PORTREVISION=	3
  CATEGORIES=	devel
  MASTER_SITES=	GNOME
  DIST_SUBDIR=	gnome3
 @@ -16,7 +16,7 @@
  MAINTAINER=	gnome@FreeBSD.org
  COMMENT=	Generate interface introspection data for GObject libraries
 
 -LIB_DEPENDS=	ffi.5:${PORTSDIR}/devel/libffi
 +LIB_DEPENDS=	ffi.6:${PORTSDIR}/devel/libffi
 
  USE_BZIP2=	yes
  GNU_CONFIGURE=	yes
 @@ -28,7 +28,7 @@
  USE_AUTOTOOLS=	libtool
  USE_LDCONFIG=	yes
  MAKE_JOBS_UNSAFE=yes
 -CPPFLAGS+=	-I${LOCALBASE}/include
 +CPPFLAGS+=	"-I${LOCALBASE}/include -I${LOCALBASE}/include/pth"
  LDFLAGS+=	-L${LOCALBASE}/lib
  CONFIGURE_ARGS=	--disable-tests
 
 --- devel/gobject-introspection.patch ends here ---
 
 
 --- devel/lua-alien.patch begins here ---
 diff -ruN /usr/ports/devel/lua-alien/Makefile devel/lua-alien/Makefile
 --- /usr/ports/devel/lua-alien/Makefile	2012-05-16 13:51:24.000000000 +0900
 +++ devel/lua-alien/Makefile	2012-09-21 08:30:49.000000000 +0900
 @@ -7,6 +7,7 @@
 
  PORTNAME=	alien
  PORTVERSION=	0.5.1
 +PORTREVISION=	1
  CATEGORIES=	devel
  MASTER_SITES=	http://nodeload.github.com/mascarenhas/alien/tarball/
  PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 @@ -18,7 +19,7 @@
 
  LICENSE=	MIT
 
 -LIB_DEPENDS=	ffi.5:${PORTSDIR}/devel/libffi
 +LIB_DEPENDS=	ffi.6:${PORTSDIR}/devel/libffi
 
  USE_LUA=	5.1
 
 --- devel/lua-alien.patch ends here ---
 
 
 --- devel/py-gobject.patch begins here ---
 diff -ruN /usr/ports/devel/py-gobject/Makefile devel/py-gobject/Makefile
 --- /usr/ports/devel/py-gobject/Makefile	2012-06-01 14:17:46.000000000 +0900
 +++ devel/py-gobject/Makefile	2012-09-21 08:30:56.000000000 +0900
 @@ -8,7 +8,7 @@
 
  PORTNAME=	gobject
  PORTVERSION=	2.28.6
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	devel python
  MASTER_SITES=	GNOME
  MASTER_SITE_SUBDIR=	sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
 @@ -40,7 +40,7 @@
  .include <bsd.port.pre.mk>
 
  .if exists(${LOCALBASE}/lib/libffi.so)
 -LIB_DEPENDS+=	ffi.5:${PORTSDIR}/devel/libffi
 +LIB_DEPENDS+=	ffi.6:${PORTSDIR}/devel/libffi
  CONFIGURE_ARGS+=--with-ffi
  .else
  CONFIGURE_ARGS+=--without-ffi
 --- devel/py-gobject.patch ends here ---
 
 
 --- devel/rubygem-ffi.patch begins here ---
 diff -ruN /usr/ports/devel/rubygem-ffi/Makefile devel/rubygem-ffi/Makefile
 --- /usr/ports/devel/rubygem-ffi/Makefile	2011-11-15 12:25:12.000000000 +0900
 +++ devel/rubygem-ffi/Makefile	2012-09-21 08:31:07.000000000 +0900
 @@ -7,13 +7,14 @@
 
  PORTNAME=	ffi
  PORTVERSION=	1.0.11
 +PORTREVISION=	1
  CATEGORIES=	devel rubygems
  MASTER_SITES=	RG
 
  MAINTAINER=	ruby@FreeBSD.org
  COMMENT=	Extension for dynamic libraries & binding functions
 
 -LIB_DEPENDS=	ffi.5:${PORTSDIR}/devel/libffi
 +LIB_DEPENDS=	ffi.6:${PORTSDIR}/devel/libffi
 
  USE_RUBY=	yes
  USE_RAKE=	yes
 --- devel/rubygem-ffi.patch ends here ---
 
 
 --- devel/seed.patch begins here ---
 diff -ruN /usr/ports/devel/seed/Makefile devel/seed/Makefile
 --- /usr/ports/devel/seed/Makefile	2012-06-01 14:17:55.000000000 +0900
 +++ devel/seed/Makefile	2012-09-21 08:31:18.000000000 +0900
 @@ -11,7 +11,7 @@
 
  PORTNAME=	seed
  PORTVERSION=	2.31.91
 -PORTREVISION=	2
 +PORTREVISION=	3
  CATEGORIES=	devel gnome
  MASTER_SITES=	GNOME
  DIST_SUBDIR=	gnome2
 @@ -20,7 +20,7 @@
  COMMENT=	GObject JavaScriptCore bridge
 
  BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/gnome-js-common.pc:${PORTSDIR}/devel/gnome-js-common
 -LIB_DEPENDS=	ffi.5:${PORTSDIR}/devel/libffi \
 +LIB_DEPENDS=	ffi.6:${PORTSDIR}/devel/libffi \
  		webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2 \
  		girepository-1.0.1:${PORTSDIR}/devel/gobject-introspection \
  		dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
 --- devel/seed.patch ends here ---
 
 
 --- lang/ruby19.patch begins here ---
 diff -ruN /usr/ports/lang/ruby19/Makefile lang/ruby19/Makefile
 --- /usr/ports/lang/ruby19/Makefile	2012-02-26 00:25:49.000000000 +0900
 +++ lang/ruby19/Makefile	2012-09-20 18:26:16.000000000 +0900
 @@ -18,7 +18,7 @@
  MAINTAINER=	ruby@FreeBSD.org
  COMMENT?=	An object-oriented interpreted scripting language
 
 -LIB_DEPENDS=	ffi.5:${PORTSDIR}/devel/libffi \
 +LIB_DEPENDS=	ffi.6:${PORTSDIR}/devel/libffi \
  		yaml-0.2:${PORTSDIR}/textproc/libyaml \
  		execinfo.1:${PORTSDIR}/devel/libexecinfo
 
 --- lang/ruby19.patch ends here ---
 
 
 --- lang/gnustep-base.patch begins here ---
 diff -ruN /usr/ports/lang/gnustep-base/Makefile lang/gnustep-base/Makefile
 --- /usr/ports/lang/gnustep-base/Makefile	2012-07-26 14:40:22.000000000 +0900
 +++ lang/gnustep-base/Makefile	2012-09-21 08:29:27.000000000 +0900
 @@ -7,6 +7,7 @@
 
  PORTNAME=	gnustep-base
  PORTVERSION=	1.24.0
 +PORTREVISION=	1
  CATEGORIES=	lang devel gnustep
  MASTER_SITES=	${MASTER_SITE_GNUSTEP}
  MASTER_SITE_SUBDIR=	core
 @@ -14,7 +15,7 @@
  MAINTAINER=	ports@FreeBSD.org
  COMMENT=	GNUstep Foundation library
 
 -LIB_DEPENDS+=	ffi.5:${PORTSDIR}/devel/libffi
 +LIB_DEPENDS+=	ffi.6:${PORTSDIR}/devel/libffi
  LIB_DEPENDS+=	xml2.5:${PORTSDIR}/textproc/libxml2
  LIB_DEPENDS+=	xslt.2:${PORTSDIR}/textproc/libxslt
  LIB_DEPENDS+=	gmp.10:${PORTSDIR}/math/gmp
 --- lang/gnustep-base.patch ends here ---
 
 
 --- lang/librep.patch begins here ---
 diff -ruN /usr/ports/lang/librep/Makefile lang/librep/Makefile
 --- /usr/ports/lang/librep/Makefile	2011-10-19 04:02:13.000000000 +0900
 +++ lang/librep/Makefile	2012-09-21 08:29:12.000000000 +0900
 @@ -7,6 +7,7 @@
 
  PORTNAME=	librep
  PORTVERSION=	0.92.1b
 +PORTREVISION=	1
  CATEGORIES=	lang elisp gnome
  MASTER_SITES=	http://download.tuxfamily.org/librep/
 
 @@ -16,7 +17,7 @@
  LICENSE=	GPLv2
 
  LIB_DEPENDS=	gdbm.4:${PORTSDIR}/databases/gdbm \
 -		ffi.5:${PORTSDIR}/devel/libffi \
 +		ffi.6:${PORTSDIR}/devel/libffi \
      		gmp.10:${PORTSDIR}/math/gmp
  RUN_DEPENDS=	gtar:${PORTSDIR}/archivers/gtar
 
 --- lang/librep.patch ends here ---
 
 
 --- lang/python27.patch begins here ---
 diff -ruN /usr/ports/lang/python27/Makefile lang/python27/Makefile
 --- /usr/ports/lang/python27/Makefile	2012-09-08 20:48:59.000000000 +0900
 +++ lang/python27/Makefile	2012-09-21 08:28:55.000000000 +0900
 @@ -7,7 +7,7 @@
 
  PORTNAME=	python27
  PORTVERSION=	2.7.3
 -PORTREVISION=	3
 +PORTREVISION=	4
  CATEGORIES=	lang python ipv6
  MASTER_SITES=	${PYTHON_MASTER_SITES}
  MASTER_SITE_SUBDIR=	${PYTHON_MASTER_SITE_SUBDIR}
 @@ -95,7 +95,7 @@
  CONFIGURE_ARGS+=	--with-pth --with-system-ffi
  EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-configure-pth
  LIB_DEPENDS+=		pth:${PORTSDIR}/devel/pth \
 -			ffi.5:${PORTSDIR}/devel/libffi
 +			ffi.6:${PORTSDIR}/devel/libffi
  _PTH_CPPFLAGS=		"-I${LOCALBASE}/include/pth"
  _PTH_LDFLAGS=		"-L${LOCALBASE}/lib/pth"
  CPPFLAGS:=		${_PTH_CPPFLAGS} ${CPPFLAGS}
 --- lang/python27.patch ends here ---
 
 
 --- lang/stklos.patch begins here ---
 diff -ruN /usr/ports/lang/stklos/Makefile lang/stklos/Makefile
 --- /usr/ports/lang/stklos/Makefile	2012-06-09 06:27:42.000000000 +0900
 +++ lang/stklos/Makefile	2012-09-21 23:31:14.000000000 +0900
 @@ -7,7 +7,7 @@
 
  PORTNAME=	stklos
  PORTVERSION=	1.10
 -PORTREVISION=	1
 +PORTREVISION=	2
  CATEGORIES=	lang scheme
  MASTER_SITES=	http://www.stklos.net/download/ \
  		ftp://kaolin.essi.fr/pub/STklos/
 @@ -17,7 +17,7 @@
 
  LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp \
  		pcre.1:${PORTSDIR}/devel/pcre \
 -		ffi.5:${PORTSDIR}/devel/libffi \
 +		ffi.6:${PORTSDIR}/devel/libffi \
  		gc-threaded.1:${PORTSDIR}/devel/boehm-gc-threaded
 
  ONLY_FOR_ARCHS=	i386 amd64
 --- lang/stklos.patch ends here ---
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Oct 6 18:51:56 UTC 2012 
State-Changed-Why:  
Duplicate of ports/171768. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Oct 6 18:51:56 UTC 2012 
Responsible-Changed-Why:  

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