Subject: pkg/18719: lang/gcc-ssp build doesn't need to use GNU Tar
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@planix.com>
List: netbsd-bugs
Date: 10/19/2002 15:43:10
>Number:         18719
>Category:       pkg
>Synopsis:       lang/gcc-ssp build doesn't need to use GNU Tar
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 19 12:44:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        pkgsrc-current 2002/10/18
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD

>Description:

	lang/gcc-ssp build doesn't need to use GNU Tar

>How-To-Repeat:

>Fix:

Index: lang/gcc-ssp/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/lang/gcc-ssp/Makefile,v
retrieving revision 1.15
diff -c -r1.15 Makefile
*** lang/gcc-ssp/Makefile	5 Oct 2002 21:11:03 -0000	1.15
--- lang/gcc-ssp/Makefile	10 Oct 2002 22:35:00 -0000
***************
*** 83,89 ****
  
  post-patch:
  	${ECHO} "bogus" >${WRKSRC}/../${DISTNAME}/gcc/cstamp-h.in
! 	cd ${WRKDIR} && ${GTAR} xzf ${_DISTDIR}/${SSP_PATCH}
  	${CP} ${WRKDIR}/protector.c ${WRKDIR}/protector.h ${WRKDIR}/${DISTNAME}/gcc/
  	${PATCH} -p0 -d ${WRKDIR}/${DISTNAME} --forward --quiet -E < ${WRKDIR}/protector.dif
  	${PATCH} -p0 -d ${WRKDIR}/${DISTNAME} --forward --quiet -E < ${WRKDIR}/protectonly.dif
--- 83,89 ----
  
  post-patch:
  	${ECHO} "bogus" >${WRKSRC}/../${DISTNAME}/gcc/cstamp-h.in
! 	cd ${WRKDIR} && ${PAX} -rzf ${_DISTDIR}/${SSP_PATCH}
  	${CP} ${WRKDIR}/protector.c ${WRKDIR}/protector.h ${WRKDIR}/${DISTNAME}/gcc/
  	${PATCH} -p0 -d ${WRKDIR}/${DISTNAME} --forward --quiet -E < ${WRKDIR}/protector.dif
  	${PATCH} -p0 -d ${WRKDIR}/${DISTNAME} --forward --quiet -E < ${WRKDIR}/protectonly.dif
>Release-Note:
>Audit-Trail:
>Unformatted: