[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[pkg-wine-party] [SCM] Debian Wine Gecko packaging branch, master, updated. debian/1.4+dfsg1-3-29-g549986f



The following commit has been merged in the master branch:
commit ae615c69380d32f3076a5634aa9564d89987a8b1
Author: Stephen Kitt <steve@sk2.org>
Date:   Sun Jun 30 20:59:13 2013 +0200

    Add float-cast.patch to avoid build error (int automatically cast to float).

diff --git a/debian/patches/float-cast.patch b/debian/patches/float-cast.patch
new file mode 100644
index 0000000..6396095
--- /dev/null
+++ b/debian/patches/float-cast.patch
@@ -0,0 +1,16 @@
+Description: Explicitly cast coordinates to floats
+Author: Stephen Kitt <steve@sk2.org>
+
+--- a/gfx/2d/DrawTargetD2D.cpp
++++ b/gfx/2d/DrawTargetD2D.cpp
+@@ -107,8 +107,8 @@
+       // We still need to take into account clipBounds if it contains additional
+       // clipping information.
+       RefPtr<ID2D1RectangleGeometry> rectGeom;
+-      factory()->CreateRectangleGeometry(D2D1::Rect(clipBounds.x, clipBounds.y,
+-                                                    clipBounds.XMost(), clipBounds.YMost()),
++      factory()->CreateRectangleGeometry(D2D1::Rect((FLOAT) clipBounds.x, (FLOAT) clipBounds.y,
++                                                    (FLOAT) clipBounds.XMost(), (FLOAT) clipBounds.YMost()),
+                                          byRef(rectGeom));
+ 
+       mClippedArea = mDT->Intersect(mClippedArea, rectGeom);
diff --git a/debian/patches/series b/debian/patches/series
index 47017fd..ed8f61e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 config
 bashism
 virtualenv-upgrade.patch
+float-cast.patch

-- 
Debian Wine Gecko packaging



Reply to: