summaryrefslogtreecommitdiff
path: root/biology/lamarc/files/patch-src_tools_stringx.h
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2025-05-20 06:27:40 -0500
committerJason W. Bacon <jwb@FreeBSD.org>2025-05-20 06:27:40 -0500
commitba0d68b692fcc71071225a45fcb317373fec01fa (patch)
treee00893bd5e4fe731bd9a8cc8325163f04b1fecbb /biology/lamarc/files/patch-src_tools_stringx.h
parentwww/{*chromium,ungoogled-chromium}: unbreak with rust-1.87 (diff)
biology/lamarc: Unbreak build on 14.x
Remove dynamic casts forcing unsupported types 2.1.10 was released, but the download site is broken Contacted upstream but not response yet PR: 286917 Reported by: hayzam@alchemilla.io
Diffstat (limited to 'biology/lamarc/files/patch-src_tools_stringx.h')
-rw-r--r--biology/lamarc/files/patch-src_tools_stringx.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/biology/lamarc/files/patch-src_tools_stringx.h b/biology/lamarc/files/patch-src_tools_stringx.h
index d1ded1a7d8da..04019393fbac 100644
--- a/biology/lamarc/files/patch-src_tools_stringx.h
+++ b/biology/lamarc/files/patch-src_tools_stringx.h
@@ -1,6 +1,6 @@
--- src/tools/stringx.h.orig 2011-04-23 02:02:49 UTC
+++ src/tools/stringx.h
-@@ -107,6 +107,26 @@ struct CIStringCompare : public std::bin
+@@ -107,6 +107,26 @@ bool ciStringEqual(const std::string& s1, const std::s
bool ciStringEqual(const std::string& s1, const std::string& s2);
@@ -27,10 +27,11 @@
//------------------------------------------------------------------------------------
template <class T>
-@@ -188,26 +208,6 @@ bool FromString(const std::string & in,
+@@ -187,26 +207,6 @@ DoubleVec1d StringToDoubleVecOrBarf(const std::string&
+ bool FromString(const std::string & in, method_type& out);
DoubleVec1d StringToDoubleVecOrBarf(const std::string& in);
-
+-
-// functions for making xmltags and lines of xml
-std::string MakeTag(const std::string& str);
-std::string MakeCloseTag(const std::string& str);
@@ -50,7 +51,6 @@
-std::string Pretty(long number, int width=DEFWIDTH);
-std::string Pretty(unsigned long number, int width=DEFWIDTH);
-std::string Pretty(std::string str, int width=DEFWIDTH);
--
+
bool StringCompare(const std::string&, const char*, long, long);
bool StringCompare(const std::string&, const std::string&, long, long);
-