Ticket #43155: qalculate-gtk-const.diff
File qalculate-gtk-const.diff, 721 bytes (added by Ionic (Mihai Moldovan), 11 years ago) |
---|
-
math/qalculate-gtk/Portfile
old new depends_lib port:libqalculate \ 33 33 depends_run port:gtk2 \ 34 34 port:gnome-vfs 35 35 36 patchfiles patch-src_callbacks.cc-const.diff 37 36 38 use_parallel_build yes 37 39 38 40 # needs to be same as used by intltool -
new file math/qalculate-gtk/files/patch-src_callbacks.cc-const.diff
- + 1 --- src/callbacks.cc.orig 2014-05-01 01:00:13.000000000 +0200 2 +++ src/callbacks.cc 2014-05-01 01:03:55.000000000 +0200 3 @@ -346,7 +346,7 @@ 4 it->sort(); 5 } 6 } 7 - bool operator < (tree_struct &s1) const { 8 + bool operator < (const tree_struct &s1) const { 9 return item < s1.item; 10 } 11 };