summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-01-31 15:02:04 +0000
committerRichard Purdie <richard@openedhand.com>2007-01-31 15:02:04 +0000
commitf990b3e16081f021e3831786701833cc0184c09c (patch)
treef233d7c7b2ce562506c073250bb96c9bb52cb80a /meta
parente26585bb1b50575cabd3ad2ec072fa74acd4c16c (diff)
downloadopenembedded-core-f990b3e16081f021e3831786701833cc0184c09c.tar.gz
openembedded-core-f990b3e16081f021e3831786701833cc0184c09c.tar.bz2
openembedded-core-f990b3e16081f021e3831786701833cc0184c09c.tar.xz
openembedded-core-f990b3e16081f021e3831786701833cc0184c09c.zip
util-macros: Unbreak cross-compiling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1238 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/xorg-util/files/unbreak_cross_compile.patch26
-rw-r--r--meta/packages/xorg-util/util-macros_X11R7.1-1.1.5.bb5
2 files changed, 30 insertions, 1 deletions
diff --git a/meta/packages/xorg-util/files/unbreak_cross_compile.patch b/meta/packages/xorg-util/files/unbreak_cross_compile.patch
new file mode 100644
index 000000000..fd84aade1
--- /dev/null
+++ b/meta/packages/xorg-util/files/unbreak_cross_compile.patch
@@ -0,0 +1,26 @@
+---
+ xorg-macros.m4.in | 4 ----
+ 1 file changed, 4 deletions(-)
+
+Index: util-macros-1.1.5/xorg-macros.m4.in
+===================================================================
+--- util-macros-1.1.5.orig/xorg-macros.m4.in 2006-11-08 14:23:10.000000000 +0000
++++ util-macros-1.1.5/xorg-macros.m4.in 2007-01-31 15:28:55.000000000 +0000
+@@ -194,8 +194,6 @@ AC_DEFUN([XORG_CHECK_LINUXDOC],[
+ XORG_SGML_PATH=$prefix/share/sgml
+ HAVE_DEFS_ENT=
+
+-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
+-
+ AC_PATH_PROG(LINUXDOC, linuxdoc)
+ AC_PATH_PROG(PS2PDF, ps2pdf)
+
+@@ -250,8 +248,6 @@ BUILDPDFDOC=no
+ BUILDPSDOC=no
+ BUILDHTMLDOC=no
+
+-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
+-
+ AC_PATH_PROG(DOCBOOKPS, docbook2ps)
+ AC_PATH_PROG(DOCBOOKPDF, docbook2pdf)
+ AC_PATH_PROG(DOCBOOKHTML, docbook2html)
diff --git a/meta/packages/xorg-util/util-macros_X11R7.1-1.1.5.bb b/meta/packages/xorg-util/util-macros_X11R7.1-1.1.5.bb
index 9603498de..06dd0a5d7 100644
--- a/meta/packages/xorg-util/util-macros_X11R7.1-1.1.5.bb
+++ b/meta/packages/xorg-util/util-macros_X11R7.1-1.1.5.bb
@@ -2,6 +2,9 @@ require xorg-util-common.inc
DESCRIPTION = "X autotools macros"
-SRC_URI = "${XORG_MIRROR}/individual/util/${XORG_PN}-1.1.5.tar.gz"
+PR = "r1"
+
+SRC_URI = "${XORG_MIRROR}/individual/util/${XORG_PN}-1.1.5.tar.gz \
+ file://unbreak_cross_compile.patch;patch=1 "
S = "${WORKDIR}/${XORG_PN}-1.1.5"