As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@
This commit is contained in:
parent
83a0aaf92c
commit
9a3af55370
59377 changed files with 98673 additions and 4712155 deletions
25
x11/gnome/system-monitor/patches/patch-src_proctable_cpp
Normal file
25
x11/gnome/system-monitor/patches/patch-src_proctable_cpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
../gnome-system-monitor-46.0/src/proctable.cpp:106:25: error: type 'gdouble' (aka 'double') cannot be narrowed to 'int' in initializer list [-Wc++11-narrowing]
|
||||
GdkRectangle rect = { x, y, 1, 1 };
|
||||
^
|
||||
../gnome-system-monitor-46.0/src/proctable.cpp:106:25: note: insert an explicit cast to silence this issue
|
||||
GdkRectangle rect = { x, y, 1, 1 };
|
||||
^
|
||||
static_cast<int>( )
|
||||
../gnome-system-monitor-46.0/src/proctable.cpp:106:28: error: type 'gdouble' (aka 'double') cannot be narrowed to 'int' in initializer list [-Wc++11-narrowing]
|
||||
GdkRectangle rect = { x, y, 1, 1 };
|
||||
^
|
||||
../gnome-system-monitor-46.0/src/proctable.cpp:106:28: note: insert an explicit cast to silence this issue
|
||||
GdkRectangle rect = { x, y, 1, 1 };
|
||||
^
|
||||
Index: src/proctable.cpp
|
||||
--- src/proctable.cpp.orig
|
||||
+++ src/proctable.cpp
|
||||
@@ -103,7 +103,7 @@ cb_tree_button_pressed (GtkGestureClick*,
|
||||
gtk_tree_selection_select_path (selection, path);
|
||||
gtk_tree_path_free (path);
|
||||
|
||||
- GdkRectangle rect = { x, y, 1, 1 };
|
||||
+ GdkRectangle rect = { (int) x, (int) y, 1, 1 };
|
||||
|
||||
gtk_popover_set_pointing_to (GTK_POPOVER (app->proc_popover_menu), &rect);
|
||||
gtk_popover_popup (GTK_POPOVER (app->proc_popover_menu));
|
Loading…
Add table
Add a link
Reference in a new issue