diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-08 13:05:59 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-08 13:05:59 +0000 |
commit | 31b0396db09affd8e5c7042f2c568aa220f78269 (patch) | |
tree | b838b6ee3091c46c4cab84ec352f7544ef645d89 /math/fityk/files/patch-src__wxgui__dload.cpp | |
parent | Fix heimdal. (diff) |
Support stage
Fix build with clang
Switch to wxGTK 3.0
Convert to USES=libtools
Notes
Notes:
svn path=/head/; revision=350607
Diffstat (limited to 'math/fityk/files/patch-src__wxgui__dload.cpp')
-rw-r--r-- | math/fityk/files/patch-src__wxgui__dload.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/math/fityk/files/patch-src__wxgui__dload.cpp b/math/fityk/files/patch-src__wxgui__dload.cpp new file mode 100644 index 000000000000..a003cbabfc14 --- /dev/null +++ b/math/fityk/files/patch-src__wxgui__dload.cpp @@ -0,0 +1,16 @@ +--- ./src/wxgui/dload.cpp.orig 2011-06-03 20:36:28.000000000 +0200 ++++ ./src/wxgui/dload.cpp 2014-04-08 14:56:41.794602545 +0200 +@@ -53,11 +53,11 @@ + virtual void draw(wxDC &dc, bool); + void load_dataset(string const& filename, string const& filetype, + string const& options); +- shared_ptr<const xylib::DataSet> get_data() const { return data_; } ++ boost::shared_ptr<const xylib::DataSet> get_data() const { return data_; } + void make_outdated() { data_updated_ = false; } + + private: +- shared_ptr<const xylib::DataSet> data_; ++ boost::shared_ptr<const xylib::DataSet> data_; + bool data_updated_; // if false, draw() doesn't do anything (plot is clear) + }; + |