From fa5f64544f39d4731b64059134dd233e2a84aaaa Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 27 Jun 2008 22:56:45 +0300 Subject: [PATCH] [file] Fixed cross-compilation --- base/file/hotfix.patch.cross | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 base/file/hotfix.patch.cross diff --git a/base/file/hotfix.patch.cross b/base/file/hotfix.patch.cross new file mode 100644 index 000000000..0575d6ca9 --- /dev/null +++ b/base/file/hotfix.patch.cross @@ -0,0 +1,30 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../file/hotfix.patch.cross +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +There is no rule for FILE_COMPILE when crosscompiling, producing: +make[2]: *** No rule to make target `file', needed by `magic.mgc'. Stop. + +--- ./magic/Makefile.in.orig 2008-06-27 22:54:01.000000000 +0300 ++++ ./magic/Makefile.in 2008-06-27 22:54:13.000000000 +0300 +@@ -566,7 +566,7 @@ + uninstall uninstall-am uninstall-pkgdataDATA + + +-${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE) ++${MAGIC}: $(EXTRA_DIST) + $(FILE_COMPILE) -C -m $(MAGIC_FRAGMENT_DIR) + @mv $(MAGIC_FRAGMENT_BASE).mgc $@ + # Tell versions [3.59,3.63) of GNU make to not export all variables.