freebsd-ports/math/fityk/files/patch-src__GAfit.cpp
Baptiste Daroussin 31b0396db0 Support stage
Fix build with clang
Switch to wxGTK 3.0
Convert to USES=libtools
2014-04-08 13:05:59 +00:00

11 lines
337 B
C++

--- ./src/GAfit.cpp.orig 2011-06-04 02:11:35.000000000 +0200
+++ ./src/GAfit.cpp 2014-04-08 14:57:25.531599033 +0200
@@ -346,7 +346,7 @@
struct Remainder_and_ptr {
int ind;
realt r;
- bool operator< (const Remainder_and_ptr &b) {
+ bool operator< (const Remainder_and_ptr &b) const {
return r < b.r;
}
};