diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-07 09:10:23 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-07 09:10:23 +0000 |
commit | df9184b87279857030bb14e9f390317877e5682e (patch) | |
tree | 62c81335c855d2a489fc446e3e2da0d21b029414 /net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch | |
parent | Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #276847. Remove .desktop entry... (diff) | |
download | gentoo-2-df9184b87279857030bb14e9f390317877e5682e.tar.gz gentoo-2-df9184b87279857030bb14e9f390317877e5682e.tar.bz2 gentoo-2-df9184b87279857030bb14e9f390317877e5682e.zip |
Fix building with GLIBC 2.10+ wrt #274107.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch')
-rw-r--r-- | net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch b/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch new file mode 100644 index 000000000000..7da331adbbf8 --- /dev/null +++ b/net-mail/metamail/files/metamail-2.7.53.3-glibc-2.10.patch @@ -0,0 +1,30 @@ +diff -ur mm2.7.orig/src/metamail/uue.c mm2.7/src/metamail/uue.c +--- mm2.7.orig/src/metamail/uue.c 1993-07-28 21:31:02.000000000 +0300 ++++ mm2.7/src/metamail/uue.c 2009-08-07 12:09:35.000000000 +0300 +@@ -30,7 +30,7 @@ + } + + +-getline (buf, size, fp) ++get_line (buf, size, fp) + char *buf; + int size; + FILE *fp; +@@ -70,7 +70,7 @@ + char buf[63]; + + while (1) { +- if (getline (buf, sizeof buf, infp) < 0) { ++ if (get_line (buf, sizeof buf, infp) < 0) { + fprintf (stderr, "Premature EOF!\n"); + return; + } +@@ -82,7 +82,7 @@ + } + } + while (1) { +- if (getline (buf, sizeof buf, infp) < 0) { ++ if (get_line (buf, sizeof buf, infp) < 0) { + fprintf (stderr, "Premature EOF!\n"); + return; + } |