wok diff razorqt/receipt @ rev 23970
Up tazlito (528)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 04 13:29:03 2020 +0000 (2020-10-04) |
parents | eb4c6cf9f3a5 |
children | 5ea0ce1cecc0 |
line diff
1.1 --- a/razorqt/receipt Thu Apr 11 10:39:50 2019 +0200 1.2 +++ b/razorqt/receipt Sun Oct 04 13:29:03 2020 +0000 1.3 @@ -23,6 +23,13 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + sed -i 's|sg_init()|sg_init(1)|' \ 1.8 + razorqt-panel/plugin-networkmonitor/razornetworkmonitor.cpp \ 1.9 + razorqt-panel/plugin-cpuload/razorcpuload.cpp 1.10 + sed -i 's|sg_get_cpu_percents()|sg_get_cpu_percents(NULL)|' \ 1.11 + razorqt-panel/plugin-cpuload/razorcpuload.cpp 1.12 + sed -i 's|int \(.*num_network_stats\)|size_t \1|' \ 1.13 + razorqt-panel/plugin-networkmonitor/razornetworkmonitor.cpp 1.14 cmake -DCMAKE_INSTALL_PREFIX=/usr . 1.15 make && make install 1.16