I started to package it, with autotools: http://www.topside.org/~ashes/new/bsd-patch/
I added strlcat.c, strlcat.h, strlcpy.c, and strlcpy.h, so everyone can use it (configure needs to check if you have them in libc). I used the strlcat from openbsd because netbsd's has assertions checking, and needs modification to work with Linux. I'm adding gcc4 stuff, like fortify_source and -fpie, to configure. And I fixed the -Dlint thing. I'm planning to call it 'npatch' (netbsd patch). It compiles with '-format=2 -Wshadow -Wall -Werror -Wfatal-errors' btw. robert On Sunday 17 September 2006 04:54, Jan Dvořák wrote: > Hi, > > > gcc patch.c pch.c inp.c version.c util.c backupfile.c -o patch -Dlint > > I've created Makefile.linux, check it out... > > > Using this Patch would of course make Glibc's strlcpy patch non-optional. > > Well, is it *that* big problem? > > # EOF
pgp1wJw8BYpkB.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/hlfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
