Skip to content

Commit

Permalink
Added a jsbsim compilation fix without updating jsbsim.
Browse files Browse the repository at this point in the history
  • Loading branch information
esden committed Nov 12, 2013
1 parent 1940e8d commit ce1d1f5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 3 additions & 2 deletions darwin/macports/ports/devel/jsbsim/Portfile
Expand Up @@ -3,7 +3,7 @@
PortSystem 1.0
name jsbsim
version trunk-2012.06.12
revision 2
revision 3
categories devel
platforms darwin
maintainers nomaintainer
Expand Down Expand Up @@ -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 {
Expand Down
@@ -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 <std::string> 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 <cctype>

0 comments on commit ce1d1f5

Please sign in to comment.