From 31b0396db09affd8e5c7042f2c568aa220f78269 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 8 Apr 2014 13:05:59 +0000 Subject: Support stage Fix build with clang Switch to wxGTK 3.0 Convert to USES=libtools --- math/fityk/files/patch-src__wxgui__dload.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 math/fityk/files/patch-src__wxgui__dload.cpp (limited to 'math/fityk/files/patch-src__wxgui__dload.cpp') 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 get_data() const { return data_; } ++ boost::shared_ptr get_data() const { return data_; } + void make_outdated() { data_updated_ = false; } + + private: +- shared_ptr data_; ++ boost::shared_ptr data_; + bool data_updated_; // if false, draw() doesn't do anything (plot is clear) + }; + -- cgit v1.2.3