Files
guru/dev-octave/strings/files/strings-1.2.0-err-instead-of-gripes.patch
2022-05-24 19:36:35 +02:00

17 lines
602 B
Diff

Description: Use err_* functions instead of the deprecated gripes_*
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: https://savannah.gnu.org/bugs/index.php?57000
Last-Update: 2019-10-05
--- octave-strings-1.2.0.orig/src/pcregexp.cc
+++ octave-strings-1.2.0/src/pcregexp.cc
@@ -49,7 +49,7 @@ Check your system's @code{pcre} man page
std::string pattern = args(0).string_value();
std::string input = args(1).string_value();
if (error_state) {
- gripe_wrong_type_arg("pcregexp", args(0));
+ err_wrong_type_arg("pcregexp", args(0));
return retval;
}