On Fri, Aug 02, 2019 at 12:05:53AM -0700, Jim Meyering wrote:
> On Thu, Aug 1, 2019 at 7:48 PM Assaf Gordon <assafgor...@gmail.com> wrote:
> > The attached patches enable building old tarballs on modern systems
> > (tested on Debian 10 with GLIBC 2.28-10, gcc 8.3.0-6).
> >
> Nice work. I've had to go through this process a few times over the
> years, and having these handy patch files checked in and maintained
> would make it easier to automate the process. I'm on the fence as to
> whether it's worth checking them in, given how few of us end up
> building all old versions like that. Selfishly, I want it. Now that I
> write this, I conclude it's worth the small cost. No need to
> distribute those files, of course, and anything that makes a
> maintainer's job easier (for such a small cost) is worthwhile.


Attached a patch to add these (+ README + build script)
to a new 'contrib' directory.

I had to disable the 'commit-msg' hook (for the 'contrib' prefix)
and the 'precommit' hook (because the patch files contains spaces at
end of lines, and lines longer than 80 characters).

Not sure if this is valid, or will cause troubles later on.
An alternative might be to gzip the patches before commiting?
Ideas welcomed.


Attachment: 0001-contrib-document-how-to-build-older-versions-on-newe.patch.gz
Description: application/gunzip

Reply via email to