Patch for VMS

Talk about commercial or opensource products that already exist for OpenVMS or may be available in the future.
Post Reply
User avatar

Topic author
martinv
Master
Posts: 158
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Patch for VMS

Post by martinv » Tue Jan 07, 2025 5:24 am

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
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)


goathunter
Active Contributor
Posts: 29
Joined: Mon Jun 24, 2019 7:21 am
Reputation: 0
Status: Offline

Re: Patch for VMS

Post by goathunter » Tue Jan 07, 2025 11:14 am

Thanks, Martin!


sms
Master
Posts: 488
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: Patch for VMS

Post by sms » Tue Jan 07, 2025 5:28 pm

> 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.


craigberry
Active Contributor
Posts: 49
Joined: Fri Nov 17, 2023 11:27 am
Reputation: 1
Status: Offline

Re: Patch for VMS

Post by craigberry » Tue Jan 07, 2025 10:27 pm

martinv wrote:
Tue Jan 07, 2025 5:24 am
Supplied some OpenBSD code for missing system services, and voila - 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.

User avatar

Topic author
martinv
Master
Posts: 158
Joined: Fri Jun 14, 2019 11:05 pm
Reputation: 0
Location: Goslar, Germany
Status: Offline
Contact:

Re: Patch for VMS

Post by martinv » Wed Jan 08, 2025 1:39 am

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:
Argh! I had completely forgotten about that. Okay, it's been more than 20 years... Thanks for the pointer.
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)

Post Reply