Re: Compiling amanda with std=C23

gene heskett <[email protected]> Fri, 28 Feb 2025 18:45:14 -0500
Newsgroups gmane.comp.archivers.amanda.devel
Message-ID <[email protected]>
On 2/28/25 13:09, Lou Hafer wrote:
> Folks,
>
>     Jason Tibbitts' comment about amanda not compiling with std=c23 
> got me a bit worried about losing amanda as part of Fedora, so I 
> thought I'd give a try at tweaking the code. The result is pushed to 
> GitHub as
>   https://www.github.com/louhafer/amanda
I have pulled the above as a zip, and will see if it will build on arm64 
as I've collected about 20T of SSD's managed by a bananapi/m5, intending 
to use them as an lvm to backup my own home net. Currently at a total of 
8 machines, half of which are arm64's. However I have other irons in the 
fire so it may take more time than I have guestimated.
> This not a fork, it's an independent repo. Tried a fork, that just 
> seemed messy beyond redemption.
>
>     The code blocking compilation was all in ndmp-src. I went a bit 
> further and tried to update some of the outdated GLib usage and pick 
> off a few more function signature mismatches.
>
>     This is targeted to Fedora --- starting point is the zmanda/amanda 
> community-3.5.4 tag, with a bunch of patches from the Fedora source rpm.
>
>     I have no way of testing whether the changes are correct. My 
> simple use case is backing up a few home systems to disk with ssh. 
> `Works for me', as the saying goes. But the various tweaks may be 
> useful to others.
>
>               Lou
Thank you Lou.
> .

Cheers, Gene Heskett, CET.
-- 
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis