source: patches/file-5.03-cross_compile-1.patch@ 5d307e8

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 5d307e8 was 756efbd, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated to File 5.03

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[756efbd]1Submitted By: Jim Gifford (jim at cross-lfs dot org)
2Date: 2009-01-05
3Initial Package Version: 4.26
4Origin: T2 Project
5Upstream Status: Unknown
6Description: When Cross Compiling magic.mgc doesn't get generated
7 properly. This patch corrects the issue
8
9diff -Naur file-4.26.orig/magic/Makefile.am file-4.26/magic/Makefile.am
10--- file-4.26.orig/magic/Makefile.am 2008-08-08 01:24:06.000000000 -0700
11+++ file-4.26/magic/Makefile.am 2009-01-05 09:59:19.000000000 -0800
12@@ -231,6 +231,6 @@
13 FILE_COMPILE_DEP = $(FILE_COMPILE)
14 endif
15
16-${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
17+${MAGIC}: $(EXTRA_DIST)
18 $(FILE_COMPILE) -C -m $(MAGIC_FRAGMENT_DIR)
19 @mv $(MAGIC_FRAGMENT_BASE).mgc $@
20diff -Naur file-4.26.orig/magic/Makefile.in file-4.26/magic/Makefile.in
21--- file-4.26.orig/magic/Makefile.in 2008-08-30 03:01:42.000000000 -0700
22+++ file-4.26/magic/Makefile.in 2009-01-05 09:59:20.000000000 -0800
23@@ -578,7 +578,7 @@
24 uninstall uninstall-am uninstall-pkgdataDATA
25
26
27-${MAGIC}: $(EXTRA_DIST) $(FILE_COMPILE_DEP)
28+${MAGIC}: $(EXTRA_DIST)
29 $(FILE_COMPILE) -C -m $(MAGIC_FRAGMENT_DIR)
30 @mv $(MAGIC_FRAGMENT_BASE).mgc $@
31 # Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracBrowser for help on using the repository browser.