ports/97362: [MAINTAINER] net/p5-Net-Google-Calendar: Fixes add_entry/update_entry for non-latin data

Yi-Hsuan Hsin mhsin at mhsin.org
Tue May 16 19:50:14 UTC 2006


>Number:         97362
>Category:       ports
>Synopsis:       [MAINTAINER] net/p5-Net-Google-Calendar: Fixes add_entry/update_entry for non-latin data
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 16 19:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Hsuan Hsin
>Release:        FreeBSD 4.10-RELEASE-p16 i386
>Organization:
NTU CSIE
>Environment:
System: FreeBSD a.mhsin.org 4.10-RELEASE-p16 FreeBSD 4.10-RELEASE-p16 #13: Fri Jul  1 03:06:45 CST
>Description:
Fixes add_entry/update_entry methods for manipulating non-latin data.
(By making the whole request UTF-8.)


Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Net-Google-Calendar-0.1.d_1.patch begins here---
diff -ruN --exclude=CVS /usr/ports/net/p5-Net-Google-Calendar.orig/Makefile /usr/ports/net/p5-Net-Google-Calendar/Makefile
--- /usr/ports/net/p5-Net-Google-Calendar.orig/Makefile	Tue May 16 17:12:53 2006
+++ /usr/ports/net/p5-Net-Google-Calendar/Makefile	Wed May 17 02:01:06 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	Net-Google-Calendar
 DISTVERSION=	0.1_devel
+PORTREVISION=	1
 CATEGORIES=	net perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Net
diff -ruN --exclude=CVS /usr/ports/net/p5-Net-Google-Calendar.orig/files/patch-Calendar.pm /usr/ports/net/p5-Net-Google-Calendar/files/patch-Calendar.pm
--- /usr/ports/net/p5-Net-Google-Calendar.orig/files/patch-Calendar.pm	Thu Jan  1 08:00:00 1970
+++ /usr/ports/net/p5-Net-Google-Calendar/files/patch-Calendar.pm	Wed May 17 01:58:39 2006
@@ -0,0 +1,11 @@
+--- lib/Net/Google/Calendar.pm.orig	Wed Apr 26 22:23:27 2006
++++ lib/Net/Google/Calendar.pm	Wed May 17 01:57:51 2006
+@@ -176,7 +176,7 @@
+         $url .= "gsessionid=".$self->{_session_id};
+     }
+ 
+-    my %params = ( Content_Type => 'application/atom+xml',
++    my %params = ( Content_Type => 'application/atom+xml; charset=UTF-8',
+                    Authorization => "GoogleLogin auth=".$self->{_auth},
+                    Content => $entry->as_xml );
+ 
--- p5-Net-Google-Calendar-0.1.d_1.patch ends here---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list