openwrt/obsolete-buildroot/sources/file.patch
Mike Baker e5f9af658d Initial revision
SVN-Revision: 30
2004-05-25 04:32:27 +00:00

31 lines
924 B
Diff

--- file-4.04/magic/Makefile.am.orig 2003-10-02 13:46:41.000000000 -0600
+++ file-4.04/magic/Makefile.am 2003-10-02 13:47:38.000000000 -0600
@@ -16,10 +16,10 @@
done >> $@
magic.mgc: magic
- $(top_builddir)/src/file -C -m magic
+ /usr/bin/file -C -m magic
magic.mime.mgc: magic.mime
- $(top_builddir)/src/file -C -m magic.mime
+ /usr/bin/file -C -m magic.mime
magic_FRAGMENTS = \
Magdir/acorn \
--- file-4.04/magic/Makefile.in.orig 2003-10-02 13:52:23.000000000 -0600
+++ file-4.04/magic/Makefile.in 2003-10-02 13:52:53.000000000 -0600
@@ -477,10 +477,10 @@
done >> $@
magic.mgc: magic
- $(top_builddir)/src/file -C -m magic
+ /usr/bin/file -C -m magic
magic.mime.mgc: magic.mime
- $(top_builddir)/src/file -C -m magic.mime
+ /usr/bin/file -C -m magic.mime
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: