Hi all!
When trying to migrate my changes to ZeroMQ from one version to another I noticed there isn't a port of the GNU patch utiliy.
I had a look at the Linux sources, but they are too entangled in a GNU jungle of dependencies. But I fouund the OpenBSD sources to be quite standalone. Supplied some OpenBSD code for mssing system services, and voila - patch for VMS! Built and cursorily tested on Alpha V8.4, I64 V8.4-2L3, and x86_64 V9.2-3. It really amazed me that in my tests it didn't even need StreamLF input files...
It still is work in progress, but if anyone would like to give it a try: it's available for download from de.OpenVMS.org with binaries or sources only..
cu,
Martin
Patch for VMS
-
Topic author - Master
- Posts: 158
- Joined: Fri Jun 14, 2019 11:05 pm
- Reputation: 0
- Location: Goslar, Germany
- Status: Offline
- Contact:
Patch for VMS
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts.
(Bertrand Russell)
(Bertrand Russell)
-
- Active Contributor
- Posts: 29
- Joined: Mon Jun 24, 2019 7:21 am
- Reputation: 0
- Status: Offline
Re: Patch for VMS
Thanks, Martin!
Re: Patch for VMS
> I had a look at the Linux sources, but they are too entangled in a GNU
> jungle of dependencies. [...]
I know the feeling. "Open-source" and "portable" are spelled
differently for a reason.
Some time in the 1999-2005 time range, I seem to have done a quick
port of GNU
patch 2.5.4
Copyright 1984-1988 Larry Wall
Copyright 1989-1999 Free Software Foundation, Inc.
But I never: tested it much, stripped out my printf() diagnostics,
adapted my usual builder scheme, or published any of it.
I also see a 2.6.1 source kit (c. 2009?), but I seem to have done
approximately nothing with it. (Perhaps discouraged by the first build
failure?)
I doubt that it's worth much, but if anyone cares, I could make my
modified 2.5.4 sources available.
> jungle of dependencies. [...]
I know the feeling. "Open-source" and "portable" are spelled
differently for a reason.
Some time in the 1999-2005 time range, I seem to have done a quick
port of GNU
patch 2.5.4
Copyright 1984-1988 Larry Wall
Copyright 1989-1999 Free Software Foundation, Inc.
But I never: tested it much, stripped out my printf() diagnostics,
adapted my usual builder scheme, or published any of it.
I also see a 2.6.1 source kit (c. 2009?), but I seem to have done
approximately nothing with it. (Perhaps discouraged by the first build
failure?)
I doubt that it's worth much, but if anyone cares, I could make my
modified 2.5.4 sources available.
-
- Active Contributor
- Posts: 49
- Joined: Fri Nov 17, 2023 11:27 am
- Reputation: 1
- Status: Offline
Re: Patch for VMS
Thanks for working on this, Martin. I have some e-mail correspondence from the fall of 2000 in which you, Charles Lane, and I were collaborating to get GNU patch 2.5.4 onto the Freeware CD, which we appear to have done: https://www.digiater.com/openvms/freeware/v50/gnupatch/.
I concur on the general code hygiene of BSD sources versus GNU sources.
-
Topic author - Master
- Posts: 158
- Joined: Fri Jun 14, 2019 11:05 pm
- Reputation: 0
- Location: Goslar, Germany
- Status: Offline
- Contact:
Re: Patch for VMS
Argh! I had completely forgotten about that. Okay, it's been more than 20 years... Thanks for the pointer.craigberry wrote: you, Charles Lane, and I were collaborating to get GNU patch 2.5.4 onto the Freeware CD, which we appear to have done:
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts.
(Bertrand Russell)
(Bertrand Russell)