1 diff --color -ur zenmonitor-1.4.2/data/org.pkexec.zenmonitor.policy.in zenmonitor-1.4.2-fix/data/org.pkexec.zenmonitor.policy.in
2 --- zenmonitor-1.4.2/data/org.pkexec.zenmonitor.policy.in 2020-06-15 05:29:01.000000000 +0800
3 +++ zenmonitor-1.4.2-fix/data/org.pkexec.zenmonitor.policy.in 2021-12-14 12:14:34.197436633 +0800
5 <allow_inactive>auth_admin</allow_inactive>
6 <allow_active>auth_admin</allow_active>
8 - <annotate key="org.freedesktop.policykit.exec.path">@APP_EXEC@</annotate>
9 + <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/zenmonitor</annotate>
10 <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
13 diff --color -ur zenmonitor-1.4.2/data/zenmonitor.desktop.in zenmonitor-1.4.2-fix/data/zenmonitor.desktop.in
14 --- zenmonitor-1.4.2/data/zenmonitor.desktop.in 2020-06-15 05:29:01.000000000 +0800
15 +++ zenmonitor-1.4.2-fix/data/zenmonitor.desktop.in 2021-12-14 12:16:08.932245655 +0800
19 Comment=Monitoring software for AMD Zen-based CPUs
23 Categories=GTK;System;
25 Keywords=CPU;AMD;zen;system;core;speed;clock;temperature;voltage;
26 +Icon=utilities-system-monitor
27 diff --color -ur zenmonitor-1.4.2/data/zenmonitor-root.desktop.in zenmonitor-1.4.2-fix/data/zenmonitor-root.desktop.in
28 --- zenmonitor-1.4.2/data/zenmonitor-root.desktop.in 2020-06-15 05:29:01.000000000 +0800
29 +++ zenmonitor-1.4.2-fix/data/zenmonitor-root.desktop.in 2021-12-14 12:16:02.778323020 +0800
32 Name=Zenmonitor (root)
33 Comment=Monitoring software for AMD Zen-based CPUs
34 -Exec=pkexec @APP_EXEC@
35 +Exec=pkexec zenmonitor
37 Categories=GTK;System;
39 Keywords=CPU;AMD;zen;system;core;speed;clock;temperature;voltage;
40 +Icon=utilities-system-monitor
41 diff --color -ur zenmonitor-1.4.2/makefile zenmonitor-1.4.2-fix/makefile
42 --- zenmonitor-1.4.2/makefile 2020-06-15 05:29:01.000000000 +0800
43 +++ zenmonitor-1.4.2-fix/makefile 2021-12-14 12:11:35.143687643 +0800
48 - cc -Isrc/include `pkg-config --cflags gtk+-3.0` src/*.c src/ss/*.c -o zenmonitor `pkg-config --libs gtk+-3.0` -lm -no-pie -Wall
49 + cc -Isrc/include `pkg-config --cflags gtk+-3.0` src/*.c src/ss/*.c -o zenmonitor `pkg-config --libs gtk+-3.0` -lm -no-pie -Wall -fcommon ${CFLAGS} ${LDFLAGS}
52 mkdir -p $(DESTDIR)$(PREFIX)/bin