diff -u pixman-0.24.4/debian/changelog pixman-0.24.4/debian/changelog
--- pixman-0.24.4/debian/changelog
+++ pixman-0.24.4/debian/changelog
@@ -1,3 +1,10 @@
+pixman (0.24.4-1ubuntu1) precise; urgency=low
+
+  * debian/patches/validity.patch:
+    - validate trapezoid correctly (lp: #1197921)
+
+ -- Ritesh Khadgaray <ritesh@canonical.com>  Thu, 14 Nov 2013 22:26:14 +0530
+
 pixman (0.24.4-1) unstable; urgency=low
 
   * New upstream release
diff -u pixman-0.24.4/debian/patches/series pixman-0.24.4/debian/patches/series
--- pixman-0.24.4/debian/patches/series
+++ pixman-0.24.4/debian/patches/series
@@ -1 +1 @@
-# placeholder
+validate.patch
only in patch2:
unchanged:
--- pixman-0.24.4.orig/debian/patches/validate.patch
+++ pixman-0.24.4/debian/patches/validate.patch
@@ -0,0 +1,12 @@
+diff -Naurp pixman-0.26.0/pixman/pixman.h pixman-0.26.0.new/pixman/pixman.h
+--- pixman-0.26.0/pixman/pixman.h	2012-05-14 23:10:58.000000000 +0530
++++ pixman-0.26.0.new/pixman/pixman.h	2013-11-26 11:50:03.543769329 +0530
+@@ -911,7 +911,7 @@ struct pixman_triangle
+ #define pixman_trapezoid_valid(t)				   \
+     ((t)->left.p1.y != (t)->left.p2.y &&			   \
+      (t)->right.p1.y != (t)->right.p2.y &&			   \
+-     (int) ((t)->bottom - (t)->top) > 0)
++     ((t)->bottom > (t)->top))
+ 
+ struct pixman_span_fix
+ {