summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-08 19:24:50 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-08 19:24:50 +0000
commitdd3dcfb11907fdae6776ac2c3cb5fd7253b9ae87 (patch)
treef0fefc1caf465b8e63db9866fc880f49bc00ff35 /packages
parent4d1091bec57d6991545152b2de9bf546cf92d598 (diff)
fix wrong #define in diet-x11 Xlib.h:
don't say you X_HAVE_UTF8_STRING if you don't...
Diffstat (limited to 'packages')
-rw-r--r--packages/x11/diet-x11_20050226.bb3
-rw-r--r--packages/x11/diet-x11_6.2.1.bb2
-rw-r--r--packages/x11/diet-x11_cvs.bb3
-rw-r--r--packages/x11/files/fix-utf8-wrong-define.patch16
4 files changed, 24 insertions, 0 deletions
diff --git a/packages/x11/diet-x11_20050226.bb b/packages/x11/diet-x11_20050226.bb
index 6f8c1d36ad..acb6fc330b 100644
--- a/packages/x11/diet-x11_20050226.bb
+++ b/packages/x11/diet-x11_20050226.bb
@@ -1,3 +1,6 @@
SECTION = "x11/base"
include x11_${PV}.bb
+
EXTRA_OECONF = "--disable-xcms --disable-xlocale --disable-xkb"
+
+SRC_URI += "file://fix-utf8-wrong-define.patch;patch=1"
diff --git a/packages/x11/diet-x11_6.2.1.bb b/packages/x11/diet-x11_6.2.1.bb
index bc6e8224ed..1313bd08d0 100644
--- a/packages/x11/diet-x11_6.2.1.bb
+++ b/packages/x11/diet-x11_6.2.1.bb
@@ -4,3 +4,5 @@ include x11_${PV}.bb
EXTRA_OECONF = "--disable-xcms --disable-xlocale --disable-xkb"
CFLAGS += "-D_GNU_SOURCE"
+SRC_URI += "file://fix-utf8-wrong-define.patch;patch=1"
+
diff --git a/packages/x11/diet-x11_cvs.bb b/packages/x11/diet-x11_cvs.bb
index b820fae8b2..404794ff5e 100644
--- a/packages/x11/diet-x11_cvs.bb
+++ b/packages/x11/diet-x11_cvs.bb
@@ -2,3 +2,6 @@ SECTION = "x11/base"
include x11_cvs.bb
EXTRA_OECONF = "--disable-xcms --disable-xlocale --disable-xkb"
+
+SRC_URI += "file://fix-utf8-wrong-define.patch;patch=1"
+
diff --git a/packages/x11/files/fix-utf8-wrong-define.patch b/packages/x11/files/fix-utf8-wrong-define.patch
new file mode 100644
index 0000000000..dca88fba92
--- /dev/null
+++ b/packages/x11/files/fix-utf8-wrong-define.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- libX11-6.2.1/include/X11/Xlib.h~fix-utf8-wrong-define
++++ libX11-6.2.1/include/X11/Xlib.h
+@@ -100,7 +100,7 @@
+
+ /* API mentioning "UTF8" or "utf8" is an XFree86 extension, introduced in
+ November 2000. Its presence is indicated through the following macro. */
+-#define X_HAVE_UTF8_STRING 1
++#undef X_HAVE_UTF8_STRING
+
+ typedef char *XPointer;
+