dev-octave/strings: add 1.2.0, drop 1.2.0_p20211128

Closes: https://bugs.gentoo.org/843539
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-12 14:41:27 +02:00
parent 1c284417dc
commit 66a7c2b1d0
4 changed files with 51 additions and 11 deletions

View File

@@ -0,0 +1,16 @@
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;
}