efl/libevas: fix build of XCB backend
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Jan 2013 07:27:06 +0000 (07:27 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 6 Jan 2013 17:49:38 +0000 (18:49 +0100)
Fixes:

  http://autobuild.buildroot.net/results/b2107dce84bbc24d9afae3c7b53d972043f6d073/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/efl/libevas/libevas-fix-xcb-backend-typo.patch [new file with mode: 0644]

diff --git a/package/efl/libevas/libevas-fix-xcb-backend-typo.patch b/package/efl/libevas/libevas-fix-xcb-backend-typo.patch
new file mode 100644 (file)
index 0000000..2531e75
--- /dev/null
@@ -0,0 +1,19 @@
+Fix typo in the Evas XCB backend
+
+This typo prevents the XCB backend from building.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: b/src/modules/engines/software_x11/evas_xcb_outbuf.c
+===================================================================
+--- a/src/modules/engines/software_x11/evas_xcb_outbuf.c
++++ b/src/modules/engines/software_x11/evas_xcb_outbuf.c
+@@ -871,7 +871,7 @@
+           }
+         else
+           {
+-             int pixelb = evas_software_xcb_output_buffer_depth(obr->xob) / 8;
++             int pixelb = evas_software_xcb_output_buffer_depth(obr->xcbob) / 8;
+              int run;
+              int dstjump;
+