diff options
author | 2004-12-21 17:16:41 +0000 | |
---|---|---|
committer | 2004-12-21 17:16:41 +0000 | |
commit | ab11200a0372060c69892d531e638f84487fa76c (patch) | |
tree | 9f45b30a101bfbaf3724b2ff55debe03797aff73 /app-editors/mp/files | |
parent | Stable on alpha. (diff) | |
download | historical-ab11200a0372060c69892d531e638f84487fa76c.tar.gz historical-ab11200a0372060c69892d531e638f84487fa76c.tar.bz2 historical-ab11200a0372060c69892d531e638f84487fa76c.zip |
Version bump; closes bug 75073.
Diffstat (limited to 'app-editors/mp/files')
-rw-r--r-- | app-editors/mp/files/digest-mp-3.3.9 | 1 | ||||
-rw-r--r-- | app-editors/mp/files/mp-3.3.9-fix-builtin-regex-warnings.diff | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-editors/mp/files/digest-mp-3.3.9 b/app-editors/mp/files/digest-mp-3.3.9 new file mode 100644 index 000000000000..ee8b75634a7a --- /dev/null +++ b/app-editors/mp/files/digest-mp-3.3.9 @@ -0,0 +1 @@ +MD5 91677a24c606ac319ebc46d070890437 mp-3.3.9.tar.gz 406565 diff --git a/app-editors/mp/files/mp-3.3.9-fix-builtin-regex-warnings.diff b/app-editors/mp/files/mp-3.3.9-fix-builtin-regex-warnings.diff new file mode 100644 index 000000000000..4954fc4f54ff --- /dev/null +++ b/app-editors/mp/files/mp-3.3.9-fix-builtin-regex-warnings.diff @@ -0,0 +1,38 @@ +diff -urN mp-3.3.9.orig/gnu_regex.c mp-3.3.9/gnu_regex.c +--- mp-3.3.9.orig/gnu_regex.c 2004-12-21 11:51:05.000000000 -0500 ++++ mp-3.3.9/gnu_regex.c 2004-12-21 12:06:50.974403033 -0500 +@@ -1635,10 +1635,12 @@ + if (syntax & RE_NO_BK_PARENS) goto normal_backslash; + + if (COMPILE_STACK_EMPTY) ++ { + if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD) + goto normal_backslash; + else + return REG_ERPAREN; ++ } + + handle_close: + if (fixup_alt_jump) +@@ -1655,10 +1657,12 @@ + + /* See similar code for backslashed left paren above. */ + if (COMPILE_STACK_EMPTY) ++ { + if (syntax & RE_UNMATCHED_RIGHT_PAREN_ORD) + goto normal_char; + else + return REG_ERPAREN; ++ } + + /* Since we just checked for an empty stack above, this + ``can't happen''. */ +@@ -3843,7 +3847,7 @@ + /* Compare that many; failure if mismatch, else move + past them. */ + if (translate +- ? bcmp_translate (d, d2, mcnt, translate) ++ ? bcmp_translate ((unsigned char *)d, (unsigned char *)d2, mcnt, translate) + : bcmp (d, d2, mcnt)) + goto fail; + d += mcnt, d2 += mcnt; |