pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49672: Patch for devel/patch no Mac OS X (with fix)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Already fixed upstream,
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=b650986cb3789b6c8d347c65879c821b5ec537fa

On 17/02/15 22:20, youri.mout%gmail.com@localhost wrote:
>> Number:         49672 Category:       pkg Synopsis:       Patch
>> for devel/patch no Mac OS X (with fix) Confidential:   no 
>> Severity:       serious Priority:       high Responsible:
>> pkg-manager State:          open Class:          sw-bug 
>> Submitter-Id:   net Arrival-Date:   Tue Feb 17 21:20:00 +0000
>> 2015 Originator:     Youri Mouton Release:        current 
>> Organization: Environment:
> Darwin mac.local 14.1.0 Darwin Kernel Version 14.1.0: Mon Dec 22
> 23:10:38 PST 2014; root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
> 
>> Description:
> Fails to build because symlinkat.c requires sys/stat.h. I also
> added string.h to remove a warning about implicitly calling
> strlen.
>> How-To-Repeat:
> 
>> Fix:
> diff --git a/devel/patch/Makefile b/devel/patch/Makefile index
> f643a05..78564d8 100644 --- a/devel/patch/Makefile +++
> b/devel/patch/Makefile @@ -20,6 +20,10 @@ CONFIGURE_ARGS+=
> --program-prefix=g INSTALLATION_DIRS=	${PKGGNUDIR}bin
> ${PKGGNUDIR}${PKGMANDIR}/man1
> 
> do-patch: +	${MV} ${WRKSRC}/lib/symlinkat.c
> ${WRKSRC}/lib/symlinkat.c.orig +	${AWK} '{gsub(/errno\.h\>/,
> "errno\.h>\n#include <string.h>\n#include <sys/stat.h>");print}'	\ 
> +		< ${WRKSRC}/lib/symlinkat.c.orig	\ +		>
> ${WRKSRC}/lib/symlinkat.c ${MV} ${WRKSRC}/src/pch.c
> ${WRKSRC}/src/pch.c.orig ${AWK} '/#include <pch.h>/{print $$0
> "\n#include <sys/param.h>";next;}\ /^#if HAVE_SETMODE_DOS/					\
> 
-----BEGIN PGP SIGNATURE-----

iQIcBAEBAgAGBQJU49MvAAoJEGoJXMYtmcj3lPUP/i5odsNU+gf4YfHM1NHF/+20
1+Mr9E/Xdt5xeHqLGHRKKI6OZQxgvT6ro9bHbku9rpET16Jop2arQiewJ/VwvjhX
ca6vJPxGDrR4IPUkdlJ9PvtwwQes/q3YSoWdpP//qoWWro5S9XjIZfdU6qlHvg+O
SG6NsgysUrh+ln6f7dYVb5/jU+OiOJOBk55OVUIf9nEMBgFTKvVT+oWQGZ4TSvVg
I/Vl5vKIAOKb7jz7VmbEznUrLstI+fGLsF3+WjP0gU/X4kwxsqH3DF4DXP6VnxkW
/S6EMYowkZn2C4ECHD547o04HIPwENLSrq2PBgFFSp+Zq7P79NmiuyME2FBV+I/y
CAEEXfraoAl45YAUcdX3ZIct7sjBphex8TORNdfA/r578+gNJ2uXm0jUE/4WefN+
dhEDmbS87qHBsLX+4cjdxpDK5/oCzPHdF66NhpBvHokrfJko3AQJpLi5JCDhweoD
ojB9T2SmD5m+Sl//Q6KLxh2B26oEdiMQ0rsi94GvYjBqh0imP0GXNZ7BM9HbpUHA
aHWEJ6Fial1sqqPQCI2it6kAWmwd/1NhubHyCozkZl8svo8cDfwSjIRkDqi+Hy3f
oLXnf3UHO+AdDRns5vaSRtD0eK321Il5I3iKDdyX+4pK5No5cfZz7VLxCtCwXkOw
QSF6LpChchKktHlFO5PX
=yNdJ
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index