aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/24.3/01_all_pop-errmax.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs/24.3/01_all_pop-errmax.patch b/emacs/24.3/01_all_pop-errmax.patch
new file mode 100644
index 0000000..112907f
--- /dev/null
+++ b/emacs/24.3/01_all_pop-errmax.patch
@@ -0,0 +1,16 @@
+Avoid using an undefined name with the Heimdal Kerberos implementation.
+Patch by Martin von Gagern.
+https://bugs.gentoo.org/461370
+http://debbugs.gnu.org/13925
+
+--- emacs-24.3-orig/lib-src/pop.c
++++ emacs-24.3/lib-src/pop.c
+@@ -1198,7 +1198,7 @@ socket_connection (char *host, int flags
+ }
+ #elif defined HAVE_KRB5_ERROR_E_TEXT
+ if (err_ret && err_ret->e_text && **err_ret->e_text)
+- snprintf (pop_error + pop_error_len, ERRMAX - pop_error_len,
++ snprintf (pop_error + pop_error_len, ERROR_MAX - pop_error_len,
+ " [server says '%s']", *err_ret->e_text);
+ #endif
+ if (err_ret)