]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm-magic-usesystem.patch
- ugly gcc hack not needed.
[packages/rpm.git] / rpm-magic-usesystem.patch
index 4a20827aa6717f33c5b6cd6df568bee13e829a66..ee5ea0468a3ff4008cd28819e502a4043b3ba847 100644 (file)
@@ -1,3 +1,14 @@
+--- rpm/build/rpmfc.c.orig     2004-11-22 11:39:55.000000000 +0100
++++ rpm/build/rpmfc.c  2004-11-22 18:09:14.400710096 +0100
+@@ -1432,7 +1432,7 @@
+     int fcolor;
+     int xx;
+ /*@observer@*/
+-    static const char * magicfile = "/usr/lib/rpm/magic";
++    static const char * magicfile = "/usr/share/file/magic";
+     int msflags = MAGIC_CHECK;        /* XXX MAGIC_COMPRESS flag? */
+     magic_t ms = NULL;
 diff -ur rpm.org/file/doc/Makefile.am rpm/file/doc/Makefile.am
 --- rpm.org/file/doc/Makefile.am       2004-11-18 15:04:33.000000000 +0100
 +++ rpm/file/doc/Makefile.am   2004-11-22 01:02:30.114807597 +0100
@@ -15,8 +26,8 @@ diff -ur rpm.org/file/Makefile.am rpm/file/Makefile.am
  
  EXTRA_DIST = ChangeLog LEGAL.NOTICE MAINT README
  
--SUBDIRS = src magic doc
-+SUBDIRS = src magic
+-SUBDIRS = src magic doc python
++SUBDIRS = src magic python
 Tylko w rpm/file: Makefile.am.orig
 diff -ur rpm.org/file/src/Makefile.am rpm/file/src/Makefile.am
 --- rpm.org/file/src/Makefile.am       2004-11-18 15:04:33.000000000 +0100
@@ -36,7 +47,7 @@ diff -ur rpm.org/tools/Makefile.am rpm/tools/Makefile.am
 @@ -30,7 +30,7 @@
  
  pkgbindir = @RPMCONFIGDIR@
- pkgbin_PROGRAMS = debugedit javadeps rpmcache rpmdeps rpmfile
+ pkgbin_PROGRAMS = @WITH_LIBDWARF_DEBUGEDIT@ javadeps rpmcache rpmdeps rpmfile
 -MAGIC = $(pkgbindir)/magic
 +MAGIC = /usr/share/file/magic
  
This page took 0.034334 seconds and 4 git commands to generate.