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
I forgot to say I already reported this upstream on bug-patch%gnu.org@localhost.
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-----
iQIcBAEBAgAGBQJU47D+AAoJEGoJXMYtmcj3k4MP/jWt77kewDPF9u27z8Q5jNg4
DNYhGOu9fpaBzHMNR6rhCxrQs6uTvJ/haddgcCJm7ToqJ1DHm4VVSo3mwpqriZFp
NSFhBA8bC8ldA3jbeVk6IJqBTajPf0/CWxd4wBx//3qdn2mz488v4s/b9kdSrXSe
wsFh+8XZsbZ0ycQ9AoSWSVnuBOAkycyiqVxUAFjkLHgwSj24rUrB8pCDqZAm9HR1
d4w/6YvCq2ftON1gMmAmGe7pCuCCIsRcgUg2Dhu1k6cwvOjW9L5lfqOxYM50nk3k
nNVsLk9TnyJbCI3gSshccZ4AVMLx6zPGZnL474MgVMi402gGt1C6o9j7ruH6Uf7d
r/kgxe4UeSYR5bOQPuh3Wh16Z8d7exam5Clnoi/vSHqlX4cB5u/bh8VfOmm2BpNc
TpSkHKK82A9vLPw0rYTpkpHxXemWOKzsarecG3zdO6R+WzKCY9NvrMZ4JHUukGQh
tLNFVk9+Hx/O2OiAlW6PBJDeSaPGHkyXFxNIb8Rx2qGMC51jYcfh1tvI8FbXWwjI
NdNKrohLeSqQLmvcpjvMktQsiwyFQWWo6gnHlWrPqCGmj9BMZMOwWQVPnjjePKLO
4BXFM8uMglEWnJLqRg8vN04wHZXjKA+K3S92vb1lSZ53qviF4BEiSzxcZ+g8cwwx
QU/dsP/venGgzKkN5ejy
=lq0s
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index