Summary: | [ patch ] devel/autoconf-wrapper: fix lost stdin | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Roman Bogorodskiy <novel> | ||||
Component: | Individual Port(s) | Assignee: | autotools | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | eblake | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Roman Bogorodskiy
![]() ![]() Responsible Changed From-To: freebsd-ports-bugs->autotools Over to maintainer (via the GNATS Auto Assign Tool) Author: kwm Date: Mon Dec 9 19:14:22 2013 New Revision: 336016 URL: http://svnweb.freebsd.org/changeset/ports/336016 Log: Don't let the wrapper eat stdin, which breaks autopoint. PR: ports/184479 Submitted by: novel@ Approved by: ade@ (autotools@ hat) Modified: head/devel/autoconf-wrapper/Makefile head/devel/autoconf-wrapper/files/autotools-wrapper.sh Modified: head/devel/autoconf-wrapper/Makefile ============================================================================== --- head/devel/autoconf-wrapper/Makefile Mon Dec 9 19:02:37 2013 (r336015) +++ head/devel/autoconf-wrapper/Makefile Mon Dec 9 19:14:22 2013 (r336016) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME?= autoconf-wrapper -PORTVERSION= 20130530 +PORTVERSION= 20131203 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none Modified: head/devel/autoconf-wrapper/files/autotools-wrapper.sh ============================================================================== --- head/devel/autoconf-wrapper/files/autotools-wrapper.sh Mon Dec 9 19:02:37 2013 (r336015) +++ head/devel/autoconf-wrapper/files/autotools-wrapper.sh Mon Dec 9 19:14:22 2013 (r336016) @@ -31,6 +31,8 @@ bindir=%%PREFIX%%/bin tool=$(basename $0) +exec 4<&0 + error() { echo "$@" 1>&2 exit 1 @@ -85,5 +87,6 @@ if [ -n "${AUTOTOOLS_DEBUG}" ] ; then "(${bindir}/${tool}-${selected_version})" 1>&2 fi +exec 0<&4 4<&- exec ${bindir}/${tool}-${selected_version} "$@" } _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed thanks! |