From ce1d1f5db34d83aeb8695ef2ccdcbaf9bcd75782 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Mon, 11 Nov 2013 17:04:55 -0800 Subject: [PATCH] Added a jsbsim compilation fix without updating jsbsim. --- darwin/macports/ports/devel/jsbsim/Portfile | 5 +++-- .../patch-src-input_output-string_utilities-h.diff | 10 ++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 darwin/macports/ports/devel/jsbsim/files/patch-src-input_output-string_utilities-h.diff diff --git a/darwin/macports/ports/devel/jsbsim/Portfile b/darwin/macports/ports/devel/jsbsim/Portfile index 2c64af5..86233ac 100644 --- a/darwin/macports/ports/devel/jsbsim/Portfile +++ b/darwin/macports/ports/devel/jsbsim/Portfile @@ -3,7 +3,7 @@ PortSystem 1.0 name jsbsim version trunk-2012.06.12 -revision 2 +revision 3 categories devel platforms darwin maintainers nomaintainer @@ -35,7 +35,8 @@ patchfiles patch-src-Makefile-am.diff \ patch-src-simgear-misc-Makefile-am.diff \ patch-src-simgear-props-Makefile-am.diff \ patch-src-simgear-xml-Makefile-am.diff \ - patch-src-simgear-structure-Makefile-am.diff + patch-src-simgear-structure-Makefile-am.diff \ + patch-src-input_output-string_utilities-h.diff use_configure yes pre-configure { diff --git a/darwin/macports/ports/devel/jsbsim/files/patch-src-input_output-string_utilities-h.diff b/darwin/macports/ports/devel/jsbsim/files/patch-src-input_output-string_utilities-h.diff new file mode 100644 index 0000000..51d9f84 --- /dev/null +++ b/darwin/macports/ports/devel/jsbsim/files/patch-src-input_output-string_utilities-h.diff @@ -0,0 +1,10 @@ +--- src/input_output/string_utilities.h-orig 2013-11-11 16:40:33.000000000 -0800 ++++ src/input_output/string_utilities.h 2013-11-11 16:40:44.000000000 -0800 +@@ -70,7 +70,6 @@ + extern std::string& to_lower(std::string& str); + extern bool is_number(const std::string& str); + std::vector split(std::string str, char d); +- extern std::string to_string(int); + extern std::string replace(std::string str, const std::string& old, const std::string& newstr); + #else + #include