]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-magic-usesystem.patch
- internal file update (for compatibility with *.mgc generated by file-4.14)
[packages/rpm.git] / rpm-magic-usesystem.patch
1 --- rpm/build/rpmfc.c.orig      2004-11-22 11:39:55.000000000 +0100
2 +++ rpm/build/rpmfc.c   2004-11-22 18:09:14.400710096 +0100
3 @@ -1432,7 +1432,7 @@
4      int fcolor;
5      int xx;
6  /*@observer@*/
7 -    static const char * magicfile = "/usr/lib/rpm/magic";
8 +    static const char * magicfile = "/usr/share/file/magic";
9      int msflags = MAGIC_CHECK; /* XXX MAGIC_COMPRESS flag? */
10      magic_t ms = NULL;
11  
12 diff -ur rpm.org/file/doc/Makefile.am rpm/file/doc/Makefile.am
13 --- rpm.org/file/doc/Makefile.am        2004-11-18 15:04:33.000000000 +0100
14 +++ rpm/file/doc/Makefile.am    2004-11-22 01:02:30.114807597 +0100
15 @@ -1,4 +1,4 @@
16 -MAGIC   = $(pkgdatadir)/magic
17 +MAGIC   = /usr/share/file/magic
18  if FSECT5
19  man_MAGIC = magic.5
20  else
21 Tylko w rpm/file/doc: Makefile.am~
22 diff -ur rpm.org/file/Makefile.am rpm/file/Makefile.am
23 --- rpm.org/file/Makefile.am    2004-11-18 15:04:32.000000000 +0100
24 +++ rpm/file/Makefile.am        2004-11-22 01:01:36.817958788 +0100
25 @@ -3,4 +3,4 @@
26  
27  EXTRA_DIST = ChangeLog LEGAL.NOTICE MAINT README
28  
29 -SUBDIRS = src magic doc python
30 +SUBDIRS = src magic python
31 Tylko w rpm/file: Makefile.am.orig
32 diff -ur rpm.org/file/src/Makefile.am rpm/file/src/Makefile.am
33 --- rpm.org/file/src/Makefile.am        2004-11-18 15:04:33.000000000 +0100
34 +++ rpm/file/src/Makefile.am    2004-11-22 01:01:36.823963503 +0100
35 @@ -3,7 +3,7 @@
36  
37  #MAGIC  = $(pkgdatadir)/magic
38  pkglibdir =  @prefix@/lib/rpm
39 -MAGIC    = $(pkglibdir)/magic
40 +MAGIC    = /usr/share/file/magic
41  
42  AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
43  
44 diff -ur rpm.org/tools/Makefile.am rpm/tools/Makefile.am
45 --- rpm.org/tools/Makefile.am   2004-11-22 00:56:22.484205000 +0100
46 +++ rpm/tools/Makefile.am       2004-11-22 01:03:05.178339563 +0100
47 @@ -30,7 +30,7 @@
48  
49  pkgbindir = @RPMCONFIGDIR@
50  pkgbin_PROGRAMS = @WITH_LIBDWARF_DEBUGEDIT@ javadeps rpmcache rpmdeps rpmfile
51 -MAGIC  = $(pkgbindir)/magic
52 +MAGIC  = /usr/share/file/magic
53  
54  bin_PROGRAMS = rpmgraph
55  
This page took 0.088281 seconds and 3 git commands to generate.