[Pkg-cli-libs-commits] [SCM] clutter-sharp branch, master, updated. debian/1.0.0_alpha3_git20090817.r1.349dba6-2-12-g213fd84

Iain Lane laney at ubuntu.com
Tue May 24 21:07:38 UTC 2011


The following commit has been merged in the master branch:
commit 32cb978e4f88d368c63cce95fd9e7067d7cfea6b
Author: Iain Lane <laney at ubuntu.com>
Date:   Sun May 22 19:50:18 2011 +0100

    Fix CS0188 FTBFS in Color.custom by not using auto properties

diff --git a/debian/patches/color-cs0188 b/debian/patches/color-cs0188
new file mode 100644
index 0000000..75543d7
--- /dev/null
+++ b/debian/patches/color-cs0188
@@ -0,0 +1,35 @@
+Index: clutter-sharp.git/clutter/Clutter/Color.custom
+===================================================================
+--- clutter-sharp.git.orig/clutter/Clutter/Color.custom	2011-05-22 19:59:37.449700346 +0100
++++ clutter-sharp.git/clutter/Clutter/Color.custom	2011-05-22 20:01:30.485320893 +0100
+@@ -24,17 +24,22 @@
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ // THE SOFTWARE.
+ 
+-public byte R { get; set; }
+-public byte G { get; set; }
+-public byte B { get; set; }
+-public byte A { get; set; }
++private byte _r;
++private byte _g;
++private byte _b;
++private byte _a;
++
++public byte R { get { return _r; } set { _r = value; } }
++public byte G { get { return _g; } set { _g = value; } }
++public byte B { get { return _b; } set { _b = value; } }
++public byte A { get { return _a; } set { _a = value; } }
+ 
+ public Color (byte r, byte g, byte b, byte a)
+ {
+-    R = r;
+-    G = g;
+-    B = b;
+-    A = a;
++    _r = r;
++    _g = g;
++    _b = b;
++    _a = a;
+ }
+ 
+ public Color (byte r, byte g, byte b) : this (r, g, b, 0xff)
diff --git a/debian/patches/series b/debian/patches/series
index 8214a97..2c408be 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+color-cs0188
 fix-enable-docs.patch
 dont-bundle-mdb.patch
 dedup-pc-bundlefiles.patch

-- 
clutter-sharp



More information about the Pkg-cli-libs-commits mailing list