Author: arekm                        Date: Thu Sep  1 17:13:33 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.7.54; add patch fixing getline issue

---- Files affected:
packages/metamail:
   metamail.spec (1.54 -> 1.55) , metamail-2.7.53.3-glibc-2.10.patch (NONE -> 
1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/metamail/metamail.spec
diff -u packages/metamail/metamail.spec:1.54 
packages/metamail/metamail.spec:1.55
--- packages/metamail/metamail.spec:1.54        Thu Sep  1 19:03:13 2011
+++ packages/metamail/metamail.spec     Thu Sep  1 19:13:28 2011
@@ -2,7 +2,7 @@
 # TODO
 # - drop fonts and sun/apple/server stuff as did debian? (read 
debian/README.debian)
 %define        _ver    2.7
-%define        _debrel 52
+%define        _debrel 54
 Summary:       Collection of MIME handling utilities
 Summary(de.UTF-8):     Sammlung von MIME-Behandlungs-Utilities
 Summary(fr.UTF-8):     Ensemble d'utilitaires de gestion MIME
@@ -10,16 +10,16 @@
 Summary(tr.UTF-8):     MIME işleme araçları
 Name:          metamail
 Version:       %{_ver}.%{_debrel}
-Release:       6
+Release:       1
 License:       GPL v2
 Group:         Applications/Mail
-Source0:       ftp://thumper.bellcore.com/pub/nsb/mm%{_ver}.tar.Z
+Source0:       mm%{_ver}.tar.Z
 # Source0-md5: fd5617ea87e20d7f2fa839e1d1fede60
 Source1:       
http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 0ad0e591d536bc4e0d5ae97514ee6cc4
 Source2:       htmlview
 Source3:       
ftp://ftp.debian.org/debian/pool/main/m/metamail/%{name}_%{_ver}-%{_debrel}.diff.gz
-# Source3-md5: 43d21022f048b6610932cf6f6f46b516
+# Source3-md5: 2071dc7b9c33345443ab9a619e640a69
 Patch0:                %{name}-ncurses.patch
 Patch1:                %{name}-pager.patch
 Patch2:                %{name}-linux.patch
@@ -29,6 +29,7 @@
 Patch6:                %{name}-suggestedname.patch
 Patch7:                %{name}-metasend_mktemp.patch
 Patch8:                %{name}-procmail_warning.patch
+Patch9:                metamail-2.7.53.3-glibc-2.10.patch
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
@@ -89,6 +90,9 @@
 %patch6 -p1
 %patch7 -p0
 %patch8 -p1
+cd src
+%patch9 -p1
+cd ..
 
 %build
 cd src
@@ -147,6 +151,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2011/09/01 17:13:28  arekm
+- up to 2.7.54; add patch fixing getline issue
+
 Revision 1.54  2011/09/01 17:03:13  arekm
 - release 6
 

================================================================
Index: packages/metamail/metamail-2.7.53.3-glibc-2.10.patch
diff -u /dev/null packages/metamail/metamail-2.7.53.3-glibc-2.10.patch:1.1
--- /dev/null   Thu Sep  1 19:13:34 2011
+++ packages/metamail/metamail-2.7.53.3-glibc-2.10.patch        Thu Sep  1 
19:13:28 2011
@@ -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;
+       }
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/metamail/metamail.spec?r1=1.54&r2=1.55&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to