summaryrefslogtreecommitdiffstats
path: root/recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-11-17 14:57:15 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-11-17 16:00:06 +0100
commita2820f8fd2e534d7a0e7f1c1a30aed710d8fdaa1 (patch)
tree38821c2486408aeed8f0d13fd61ec066497e1559 /recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch
parent9be2cf18cef16f23a8e25635a308e41909a8ffdd (diff)
downloadopenembedded-a2820f8fd2e534d7a0e7f1c1a30aed710d8fdaa1.tar.gz
libX11: patch configure.ac so a nios2 system is not seen as an os2 system.
The OS/2 platform requires some utility functions as well as having a non-32 bit wchar_t. Fix the configure check so that it doesn't also affect the nios2 cpu, which wouldn't influence these operating system issues. This is already accepted upstream and will be in 1.4 http://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=affc2488a7f2660a74dc8354fc3e0bff2c4f879c Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Walter Goossens <waltergoossens@home.nl>
Diffstat (limited to 'recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch')
-rw-r--r--recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch b/recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch
new file mode 100644
index 0000000000..2e2d475acb
--- /dev/null
+++ b/recipes/xorg-lib/libx11-1.3.99.903/configure.ac-nios2.patch
@@ -0,0 +1,33 @@
+From affc2488a7f2660a74dc8354fc3e0bff2c4f879c Mon Sep 17 00:00:00 2001
+From: Dan Nicholson <dbn.lists@gmail.com>
+Date: Sat, 06 Nov 2010 21:58:09 +0000
+Subject: config: Fix architecture check for OS/2 to skip nios2 cpu
+
+The OS/2 platform requires some utility functions as well as having a
+non-32 bit wchar_t. Fix the configure check so that it doesn't also
+affect the nios2 cpu, which wouldn't influence these operating system
+issues.
+
+Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
+Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
+Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+Reviewed-by: Julien Cristau <jcristau@debian.org>
+Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+---
+diff --git a/configure.ac b/configure.ac
+index 1b4a8b7..01f43fb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -246,8 +246,8 @@ dnl AC_PATH_XTRA
+
+ # arch specific things
+ WCHAR32="1"
+-case $target_alias in
+- *os2*) os2="true" ; WCHAR32="0" ;;
++case $target_os in
++ os2*) os2="true" ; WCHAR32="0" ;;
+ *) ;;
+ esac
+ AC_SUBST(WCHAR32)
+--
+cgit v0.8.3-6-g21f6