libx11: Upgrade 1.6.3 -> 1.6.4
Maintenance release. libx11-xcb no longer links against libx11. Remove backported patch. (From OE-Core rev: cdba336f92e054d2edee81e16b507003d8a2032f) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
00a4f5f2b1
commit
19a2a59bc7
|
@ -1,72 +0,0 @@
|
|||
From 4d85d5f3bd8afac893738fd88e19d8cb5cf998ff Mon Sep 17 00:00:00 2001
|
||||
From: Drew Moseley <drew_moseley@mentor.com>
|
||||
Date: Sun, 27 Jul 2014 13:10:07 -0400
|
||||
Subject: [PATCH] libX11: Add missing NULL check on im and im->methods
|
||||
|
||||
Upstream-Status: Backport (c827edcd1c4a7f920aa25208083b5b58d60d2b44)
|
||||
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
|
||||
|
||||
---
|
||||
src/xlibi18n/ICWrap.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff -ru libX11-1.6.2-orig/src/xlibi18n/ICWrap.c libX11-1.6.2/src/xlibi18n/ICWrap.c
|
||||
--- libX11-1.6.2-orig/src/xlibi18n/ICWrap.c 2014-07-27 13:38:29.586666449 -0400
|
||||
+++ libX11-1.6.2/src/xlibi18n/ICWrap.c 2014-07-27 13:41:39.671609030 -0400
|
||||
@@ -169,7 +169,7 @@
|
||||
va_list var;
|
||||
int total_count;
|
||||
XIMArg *args;
|
||||
- char *ret;
|
||||
+ char *ret = NULL;
|
||||
|
||||
/*
|
||||
* so count the stuff dangling here
|
||||
@@ -185,7 +185,8 @@
|
||||
_XIMVaToNestedList(var, total_count, &args);
|
||||
va_end(var);
|
||||
|
||||
- ret = (*im->methods->set_values) (im, args);
|
||||
+ if (im && im->methods)
|
||||
+ ret = (*im->methods->set_values) (im, args);
|
||||
Xfree(args);
|
||||
return ret;
|
||||
}
|
||||
@@ -196,7 +197,7 @@
|
||||
va_list var;
|
||||
int total_count;
|
||||
XIMArg *args;
|
||||
- char *ret;
|
||||
+ char *ret = NULL;
|
||||
|
||||
/*
|
||||
* so count the stuff dangling here
|
||||
@@ -212,7 +213,8 @@
|
||||
_XIMVaToNestedList(var, total_count, &args);
|
||||
va_end(var);
|
||||
|
||||
- ret = (*im->methods->get_values) (im, args);
|
||||
+ if (im && im->methods)
|
||||
+ ret = (*im->methods->get_values) (im, args);
|
||||
Xfree(args);
|
||||
return ret;
|
||||
}
|
||||
@@ -228,7 +230,7 @@
|
||||
va_list var;
|
||||
int total_count;
|
||||
XIMArg *args;
|
||||
- XIC ic;
|
||||
+ XIC ic = NULL;
|
||||
|
||||
/*
|
||||
* so count the stuff dangling here
|
||||
@@ -244,7 +246,8 @@
|
||||
_XIMVaToNestedList(var, total_count, &args);
|
||||
va_end(var);
|
||||
|
||||
- ic = (XIC) (*im->methods->create_ic) (im, args);
|
||||
+ if (im && im->methods)
|
||||
+ ic = (XIC) (*im->methods->create_ic) (im, args);
|
||||
Xfree(args);
|
||||
if (ic) {
|
||||
ic->core.next = im->core.ic_chain;
|
|
@ -1,11 +0,0 @@
|
|||
require libx11.inc
|
||||
inherit gettext
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += "file://disable_tests.patch \
|
||||
file://libX11-Add-missing-NULL-check.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "2e36b73f8a42143142dda8129f02e4e0"
|
||||
SRC_URI[sha256sum] = "cf31a7c39f2f52e8ebd0db95640384e63451f9b014eed2bb7f5de03e8adc8111"
|
|
@ -0,0 +1,10 @@
|
|||
require libx11.inc
|
||||
inherit gettext
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += "file://disable_tests.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "6d54227082f3aa2c596f0b3a3fbb9175"
|
||||
SRC_URI[sha256sum] = "b7c748be3aa16ec2cbd81edc847e9b6ee03f88143ab270fb59f58a044d34e441"
|
Loading…
Reference in New Issue