* The included configure script is too old to work now, so force
an autoreconf
* There are still some issues with Xcode 12's treatment of
-Wimplicit-function-declaration as an error, so tweak CFLAGS too
* It also was failing to download correctly because archive.org
auto-gunzip'ed the response, breaking the sha256 check. The
other provided mirror URL was even more broken, failing to
negotiate an https connection. I found this voidlinux.org
site that has the tarball with the expected sha though.
None of this would be needed except that the original source of
this package at cs.columbia.edu returns 404 if you try to
access the URL over https instead of http.
Closes#66310.
Signed-off-by: FX Coudert <fxcoudert@gmail.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
* gptfdisk: fix compile on Big Sur
* Starting on 11.0, OS/X doesn't have physical files appearing
as /usr/lib/*.dylib for the standard libraries, but the toolchain
can still link against them (using the .tbd files inside the SDK
to guide it) Just use "-lncurses" which seems to work.
* "brew test" wouldn't work for me. The first problem was that
hdiutil doesn't seem capable of creating a 128k disk image any more,
but the command works when I run it manually with a 512k size.
However, it still doesn't work due to a permission issue when
running inside "brew test" -- I think something changed in how
the test sandboxing works so that hdiutil can no longer run.
(hdiutil can need expanded permissions since it temporarily
mounts the new image I think) I couldn't find a clean way
to work around it so I just changed the test to use this package
itself to make the test partition. A better test in some ways,
a worse test in others.
* Tweak the license info to make "brew audit" happy
* gptfdisk: tweak test code style per review
Closes#66304.
Signed-off-by: FX Coudert <fxcoudert@gmail.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
This was failing to build from source soley because the sha256 was
incorrect for the tarball.
I don't have any direct knowledge of thie history of this package,
but I suspect what happened is that the git history got rewritten
per the comment here: https://github.com/vapier/ncompress/issues/26#issuecomment-570867943
and that meant that github's generated tarball got changed slightly.
Closes#66305.
Signed-off-by: FX Coudert <fxcoudert@gmail.com>