[sugar-turtleart] add patch to fix typo

Peter Robinson pbrobinson at fedoraproject.org
Sun Oct 9 12:40:52 UTC 2011


commit 118960d93882c5f451accecda28c4f5c6f29c40f
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sun Oct 9 13:40:33 2011 +0100

    add patch to fix typo

 TA-typo.patch        |   26 ++++++++++++++++++++++++++
 sugar-turtleart.spec |    2 ++
 2 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/TA-typo.patch b/TA-typo.patch
new file mode 100644
index 0000000..7a55f7f
--- /dev/null
+++ b/TA-typo.patch
@@ -0,0 +1,26 @@
+From 4dff0948fb79378f4cc9b9d1410686a7b461ae4c Mon Sep 17 00:00:00 2001
+From: Walter Bender <walter.bender at gmail.com>
+Date: Sun, 9 Oct 2011 08:29:30 -0400
+Subject: [PATCH] added missing commas that prevented compilation
+
+---
+ taextras.py |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/taextras.py b/taextras.py
+index 3e08657..37f80c9 100644
+--- a/taextras.py
++++ b/taextras.py
+@@ -106,8 +106,8 @@ passed by an argument.'),
+     ]
+ 
+ FOLLOWME_STRINGS = [
+-    _('The camera was not found.')
+-    _('Error on the initialization of the camera.')
++    _('The camera was not found.'),
++    _('Error on the initialization of the camera.'),
+     _('FollowMe'),
+     _('follow a RGB color'),
+     _('follow a turtle color'),
+-- 
+1.7.4.4
diff --git a/sugar-turtleart.spec b/sugar-turtleart.spec
index cce3ef5..daad7dd 100644
--- a/sugar-turtleart.spec
+++ b/sugar-turtleart.spec
@@ -8,6 +8,7 @@ License: MIT
 BuildArch: noarch
 URL: http://sugarlabs.org/go/Activities/Turtle_Art
 Source0: http://download.sugarlabs.org/sources/sucrose/fructose/TurtleArt/TurtleArt-%{version}.tar.bz2
+Patch0:  TA-typo.patch
 
 BuildRequires: python 
 BuildRequires: sugar-toolkit
@@ -22,6 +23,7 @@ programming elements.
 
 %prep
 %setup -q -n TurtleArt-%{version}
+%patch0 -p1 -b .typo
 
 
 %build


More information about the scm-commits mailing list