Patchwork efl/libevas: fix build of XCB backend

login
register
mail settings
Submitter Thomas Petazzoni
Date Jan. 6, 2013, 5:27 p.m.
Message ID <1357493226-24207-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/209787/
State Accepted
Commit 51e810844e0d469afce72503ece1a7b43a661e62
Headers show

Comments

Thomas Petazzoni - Jan. 6, 2013, 5:27 p.m.
Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 .../efl/libevas/libevas-fix-xcb-backend-typo.patch |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 package/efl/libevas/libevas-fix-xcb-backend-typo.patch
Peter Korsgaard - Jan. 6, 2013, 5:50 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

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

Committed, thanks.

Don't forget to send upstream.

Patch

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
index 0000000..2531e75
--- /dev/null
+++ b/package/efl/libevas/libevas-fix-xcb-backend-typo.patch
@@ -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;
+