Saturday, October 31, 2026

Re: security/rhash: fix build on alpha

On Tue, 27 Oct 2026 13:17:23 +0100, Martijn van Duren <openbsd+ports@list.imperialat.at> wrote: > > -fpic doesn't fit for alpha, use -fPIC instead. > Fix suggested by kirill@. > > OK? > Not sure do you need a revision bump for this, but to stay on safe side I suggested to add it. Anyway, it builds fine on amd64 and passed make test Also, make check-shlib-syms reports nothing. So, OK kirill@ > martijn@ > > diff /usr/ports > path + /usr/ports > commit - 3eff4995526c542b34b298dfecc2ca0816223f67 > blob - 2c6c221eee18634e861bb33c67308308d2afcb8b > file + security/rhash/patches/patch-configure > --- security/rhash/patches/patch-configure > +++ security/rhash/patches/patch-configure > @@ -21,3 +21,12 @@ Index: configure > fi > > ##################################################################### > +@@ -831,7 +831,7 @@ elif darwin; then > + LIBRHASH_SH_CFLAGS="-fpic" > + LIBRHASH_SH_LDFLAGS='-dynamiclib -Wl,-install_name,$(LIBDIR)/$@' > + else > +- LIBRHASH_SH_CFLAGS="-fpic" > ++ LIBRHASH_SH_CFLAGS="-fPIC" > + LIBRHASH_SH_LDFLAGS="-shared -Wl${SHARED_VSCRIPT},-soname,\$(LIBRHASH_SO_MAJ)" > + test -n "$SHARED_VSCRIPT" && LIBRHASH_EXPORTS_TARGET=$LIBRHASH_EXPORTS_FILE > + fi > -- wbr, Kirill

No comments:

Post a Comment