rpms/sylpheed/devel sylpheed-2.5.0rc-procmime.patch, NONE, 1.1 sylpheed.spec, 1.76, 1.77

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Thu Jun 5 08:39:22 UTC 2008


Author: mschwendt

Update of /cvs/pkgs/rpms/sylpheed/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24884

Modified Files:
	sylpheed.spec 
Added Files:
	sylpheed-2.5.0rc-procmime.patch 
Log Message:
- Add CTE procmime.c patch from svn.


sylpheed-2.5.0rc-procmime.patch:

--- NEW FILE sylpheed-2.5.0rc-procmime.patch ---
Index: sylpheed-svn/libsylph/procmime.c
===================================================================
--- sylpheed-svn/libsylph/procmime.c	(revision 1910)
+++ sylpheed-svn/libsylph/procmime.c	(working copy)
@@ -1,6 +1,6 @@
 /*
  * LibSylph -- E-Mail client library
- * Copyright (C) 1999-2007 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2008 Hiroyuki Yamamoto
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -358,15 +358,15 @@
 	g_free(mimeinfo->encoding);
 
 	mimeinfo->encoding = g_strdup(g_strstrip(buf));
-	if (!g_ascii_strcasecmp(buf, "7bit"))
+	if (!g_ascii_strncasecmp(buf, "7bit", 4))
 		mimeinfo->encoding_type = ENC_7BIT;
-	else if (!g_ascii_strcasecmp(buf, "8bit"))
+	else if (!g_ascii_strncasecmp(buf, "8bit", 4))
 		mimeinfo->encoding_type = ENC_8BIT;
-	else if (!g_ascii_strcasecmp(buf, "quoted-printable"))
+	else if (!g_ascii_strncasecmp(buf, "quoted-printable", 16))
 		mimeinfo->encoding_type = ENC_QUOTED_PRINTABLE;
-	else if (!g_ascii_strcasecmp(buf, "base64"))
+	else if (!g_ascii_strncasecmp(buf, "base64", 6))
 		mimeinfo->encoding_type = ENC_BASE64;
-	else if (!g_ascii_strcasecmp(buf, "x-uuencode"))
+	else if (!g_ascii_strncasecmp(buf, "x-uuencode", 10))
 		mimeinfo->encoding_type = ENC_X_UUENCODE;
 	else
 		mimeinfo->encoding_type = ENC_UNKNOWN;


Index: sylpheed.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sylpheed/devel/sylpheed.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- sylpheed.spec	5 Jun 2008 08:16:45 -0000	1.76
+++ sylpheed.spec	5 Jun 2008 08:38:31 -0000	1.77
@@ -5,7 +5,7 @@
 Summary: GTK+ based, lightweight, and fast email client
 Name: sylpheed
 Version: 2.5.0
-Release: 0.5.rc%{?dist}
+Release: 0.6.rc%{?dist}
 License: GPLv2+
 URL: http://sylpheed.sraoss.jp/
 Group: Applications/Internet
@@ -28,6 +28,7 @@
 Patch5: sylpheed-2.4.8-enchant.patch
 Patch6: sylpheed-2.5.0rc-summaryview.patch
 Patch7: sylpheed-2.5.0rc-utf8.patch
+Patch8: sylpheed-2.5.0rc-procmime.patch
 
 # For xdg-open in patch1.
 Requires: xdg-utils
@@ -56,6 +57,7 @@
 %patch5 -p1 -b .enchant
 %patch6 -p1 -b .summaryview
 %patch7 -p1 -b .utf8
+%patch8 -p1 -b .procmime
 
 %build
 %configure --enable-ssl %{!?_without_gpgme:--enable-gpgme} \
@@ -96,7 +98,8 @@
 %{_mandir}/man1/*
 
 %changelog
-* Thu Jun  5 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 2.5.0-0.5.rc
+* Thu Jun  5 2008 Michael Schwendt <mschwendt at fedoraproject.org> - 2.5.0-0.6.rc
+- Add CTE procmime.c patch from svn.
 - Fix codeconv.c to support "utf8" locales and not just "UTF-8"
   (fixes #450063).
 




More information about the fedora-extras-commits mailing list