summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-15 15:27:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-15 15:27:11 +0000
commit29fd4733fdfe89d712bc555a63d85c2b15c5760f (patch)
treeae032cd573d5a4459526b56c3a91a0da309dd041 /meta
parentb10b195b8ceabbb3f2ac1620ac4663792978b9ff (diff)
downloadopenembedded-core-29fd4733fdfe89d712bc555a63d85c2b15c5760f.tar.gz
openembedded-core-29fd4733fdfe89d712bc555a63d85c2b15c5760f.tar.bz2
openembedded-core-29fd4733fdfe89d712bc555a63d85c2b15c5760f.zip
util-macros: Add hack for the loss of the xaw.m4 file until xorg-apps are released which don't use it
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/xorg-util/util-macros/xaw.patch14
-rw-r--r--meta/packages/xorg-util/util-macros_1.2.1.bb5
2 files changed, 17 insertions, 2 deletions
diff --git a/meta/packages/xorg-util/util-macros/xaw.patch b/meta/packages/xorg-util/util-macros/xaw.patch
new file mode 100644
index 0000000000..8b39869cc1
--- /dev/null
+++ b/meta/packages/xorg-util/util-macros/xaw.patch
@@ -0,0 +1,14 @@
+Index: util-macros-1.2.1/xorg-macros.m4.in
+===================================================================
+--- util-macros-1.2.1.orig/xorg-macros.m4.in 2009-01-15 13:49:56.000000000 +0000
++++ util-macros-1.2.1/xorg-macros.m4.in 2009-01-15 13:52:22.000000000 +0000
+@@ -456,3 +456,9 @@
+ fi
+ AC_SUBST(CWARNFLAGS)
+ ]) # XORG_CWARNFLAGS
++
++AC_DEFUN([XAW_CHECK_XPRINT_SUPPORT], [
++PKG_CHECK_MODULES(TMP_XAW, xaw7)
++$1_CFLAGS=$TMP_XAW_CFLAGS
++$1_LIBS=$TMP_XAW_LIBS
++])
diff --git a/meta/packages/xorg-util/util-macros_1.2.1.bb b/meta/packages/xorg-util/util-macros_1.2.1.bb
index 79288cd374..9616bd1d10 100644
--- a/meta/packages/xorg-util/util-macros_1.2.1.bb
+++ b/meta/packages/xorg-util/util-macros_1.2.1.bb
@@ -1,10 +1,11 @@
require xorg-util-common.inc
DESCRIPTION = "X autotools macros"
-PR = "r2"
+PR = "r5"
PE = "1"
-SRC_URI += "file://unbreak_cross_compile.patch;patch=1"
+SRC_URI += "file://unbreak_cross_compile.patch;patch=1 \
+ file://xaw.patch;patch=1"
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
RDEPENDS_${PN}-dev = ""