summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xutil_util-macros/xutil_util-macros-1.1.6-linuxdoc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/x11r7/xutil_util-macros/xutil_util-macros-1.1.6-linuxdoc.patch')
-rw-r--r--package/x11r7/xutil_util-macros/xutil_util-macros-1.1.6-linuxdoc.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/x11r7/xutil_util-macros/xutil_util-macros-1.1.6-linuxdoc.patch b/package/x11r7/xutil_util-macros/xutil_util-macros-1.1.6-linuxdoc.patch
new file mode 100644
index 000000000..26c83aac0
--- /dev/null
+++ b/package/x11r7/xutil_util-macros/xutil_util-macros-1.1.6-linuxdoc.patch
@@ -0,0 +1,15 @@
+--- util-macros-1.1.6/xorg-macros.m4.in.orig 2007-06-08 22:23:00.000000000 +0200
++++ util-macros-1.1.6/xorg-macros.m4.in 2007-06-08 22:26:41.000000000 +0200
+@@ -194,7 +194,11 @@
+ XORG_SGML_PATH=$prefix/share/sgml
+ HAVE_DEFS_ENT=
+
+-AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
++if test "$cross_compiling" = no; then
++ AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes])
++else
++ HAVE_DEFS_ENT=no
++fi
+
+ AC_PATH_PROG(LINUXDOC, linuxdoc)
+ AC_PATH_PROG(PS2PDF, ps2pdf)