libx11-diet: upgrade to 1.5.0
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 4 Jul 2012 09:54:45 +0000 (12:54 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jul 2012 15:58:55 +0000 (16:58 +0100)
The X18NCMSstubs.diff was modified to please the -Werror=return-type
compiler option. Otherwise, it will throw an error.

(From OE-Core rev: 708785266d1d671f5d2a8e8af81a77e34c70662f)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libx11-diet-1.5.0/X18NCMSstubs.diff [moved from meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/X18NCMSstubs.diff with 99% similarity]
meta/recipes-graphics/xorg-lib/libx11-diet-1.5.0/fix-disable-xlocale.diff [moved from meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/fix-disable-xlocale.diff with 100% similarity]
meta/recipes-graphics/xorg-lib/libx11-diet-1.5.0/fix-utf8-wrong-define.patch [moved from meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/fix-utf8-wrong-define.patch with 100% similarity]
meta/recipes-graphics/xorg-lib/libx11-diet-1.5.0/keysymdef_include.patch [moved from meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/keysymdef_include.patch with 100% similarity]
meta/recipes-graphics/xorg-lib/libx11-diet-1.5.0/x11_disable_makekeys.patch [moved from meta/recipes-graphics/xorg-lib/libx11-diet-1.4.4/x11_disable_makekeys.patch with 62% similarity]
meta/recipes-graphics/xorg-lib/libx11-diet_1.5.0.bb [moved from meta/recipes-graphics/xorg-lib/libx11-diet_1.4.4.bb with 86% similarity]

@@ -247,7 +247,7 @@ Index: libX11-1.3/src/X18NCMSstubs.c
 +    XRectangle         *max_ink_extents,
 +    XRectangle         *max_logical_extents)
 +{
-+  ;
++  return(XcmsFailure);
 +}
 +
 +int
@@ -1,20 +1,20 @@
-Upstream-Status: Inappropriate [configuration]
+Upstream-Status: Pending
 
-Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
----
- src/util/Makefile.am |   21 -----------------
- 1 file changed, 21 deletions(-)
-
---- a/src/util/Makefile.am
-+++ b/src/util/Makefile.am
-@@ -1,24 +1,3 @@
+Index: libX11-1.5.0/src/util/Makefile.am
+===================================================================
+--- libX11-1.5.0.orig/src/util/Makefile.am
++++ libX11-1.5.0/src/util/Makefile.am
+@@ -1,27 +1,2 @@
+-
 -noinst_PROGRAMS=makekeys
 -
 -makekeys_CFLAGS = \
 -      $(X11_CFLAGS) \
 -      $(CWARNFLAGS)
 -
+-makekeys_CPPFLAGS = \
+-      -I$(top_srcdir)/include
+-
 -CC = @CC_FOR_BUILD@
 -CPPFLAGS = @CPPFLAGS_FOR_BUILD@
 -CFLAGS = @CFLAGS_FOR_BUILD@
@@ -17,8 +17,8 @@ SRC_URI += "file://x11_disable_makekeys.patch \
 RPROVIDES_${PN}-dev = "libx11-dev"
 RPROVIDES_${PN}-locale = "libx11-locale"
 
-SRC_URI[md5sum] = "ed7c382cbf8c13425b6a66bcac0ca5d9"
-SRC_URI[sha256sum] = "7fe62180f08ef5f0a0062fb444591e349cae2ab5af6ad834599f5c654e6c840d"
+SRC_URI[md5sum] = "78b4b3bab4acbdf0abcfca30a8c70cc6"
+SRC_URI[sha256sum] = "c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86"
 
 DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
             libxdmcp xf86bigfontproto kbproto inputproto xproto-native"