aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/gcalcli
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2009-02-16 10:26:49 +0800
committerlwhsu <lwhsu@FreeBSD.org>2009-02-16 10:26:49 +0800
commitd4052a2d8033c2f0ed241173b72337c93b1594ce (patch)
tree076f6ff7f1d7da06f60aa5d02b3da9f2618396ab /deskutils/gcalcli
parent333af4f18f41e4fba30dd40561fe9ce81f71f71c (diff)
downloadfreebsd-ports-graphics-d4052a2d8033c2f0ed241173b72337c93b1594ce.tar.gz
freebsd-ports-graphics-d4052a2d8033c2f0ed241173b72337c93b1594ce.tar.zst
freebsd-ports-graphics-d4052a2d8033c2f0ed241173b72337c93b1594ce.zip
- Add a patch to fix unicode supporting
PR: ports/125327 Submitted by: Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw>
Diffstat (limited to 'deskutils/gcalcli')
-rw-r--r--deskutils/gcalcli/Makefile2
-rw-r--r--deskutils/gcalcli/files/patch-gcalcli33
2 files changed, 34 insertions, 1 deletions
diff --git a/deskutils/gcalcli/Makefile b/deskutils/gcalcli/Makefile
index 9f23ab5119e..a74ae578629 100644
--- a/deskutils/gcalcli/Makefile
+++ b/deskutils/gcalcli/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gcalcli
PORTVERSION= 1.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
EXTRACT_SUFX= .tgz
diff --git a/deskutils/gcalcli/files/patch-gcalcli b/deskutils/gcalcli/files/patch-gcalcli
new file mode 100644
index 00000000000..0773bb55b81
--- /dev/null
+++ b/deskutils/gcalcli/files/patch-gcalcli
@@ -0,0 +1,33 @@
+--- gcalcli.orig 2008-07-06 12:29:27.000000000 +0800
++++ gcalcli 2008-07-06 12:31:38.000000000 +0800
+@@ -195,25 +195,25 @@
+ def PrintErrMsg(msg):
+ if CLR.useColor:
+ sys.stdout.write(str(CLR_BRRED()))
+- sys.stdout.write(msg)
++ sys.stdout.write(unicode(msg, 'UTF-8'))
+ sys.stdout.write(str(CLR_NRM()))
+ else:
+- sys.stdout.write(msg)
++ sys.stdout.write(unicode(msg, 'UTF-8'))
+
+
+ def PrintMsg(color, msg):
+ if CLR.useColor:
+ sys.stdout.write(str(color))
+- sys.stdout.write(msg)
++ sys.stdout.write(unicode(msg, 'UTF-8'))
+ sys.stdout.write(str(CLR_NRM()))
+ else:
+- sys.stdout.write(msg)
++ sys.stdout.write(unicode(msg, 'UTF-8'))
+
+
+ def DebugPrint(msg):
+ return
+ sys.stdout.write(str(CLR_YLW()))
+- sys.stdout.write(msg)
++ sys.stdout.write(unicode(msg, 'UTF-8'))
+ sys.stdout.write(str(CLR_NRM()))
+
+