simonvanderveldt / simonvanderveldt-overlay

Personal Gentoo overlay with applications that aren't available upstream or in other overlays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

psensor-1.2.1 does not compile

RayOfLight1 opened this issue · comments

pudisks2.c: In function ‘smart_update’:
pudisks2.c:81:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
    81 |         if (!ret)
       |         ^~
pudisks2.c:86:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    86 |                 data->last_smart_update = t;
       |                 ^~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:471: pudisks2.o] Error 1

fixed on https://gitlab.com/jeanfi/psensor/-/commit/7e4173d54bc3ddf63d15d33ac2f096f1abaf0ca7
can you make a new ebuild?

Thank you

Thanks for the report! And apologies for the delay in responding.
I'm in the middle of a renovation/rebuild of my house and won't have time for the foreseeable future to make any changes or fixes.

I'm also no longer using psensor myself, I've switched to https://github.com/corecoding/Vitals, but this is only an alternative if you're using GNOME.
If you want feel free to copy the ebuild and make a new version/release yourself, I don't mind at all :)