14 lines
461 B
Diff
14 lines
461 B
Diff
|
Don't let rpm complain about a missing /etc/magic.mgc file
|
||
|
|
||
|
--- build/rpmfc.c.orig 2011-05-13 16:33:20.000000000 +0000
|
||
|
+++ build/rpmfc.c 2011-05-13 16:33:55.000000000 +0000
|
||
|
@@ -896,7 +896,7 @@ rpmRC rpmfcClassify(rpmfc fc, ARGV_t arg
|
||
|
{
|
||
|
ARGV_t fcav = NULL;
|
||
|
int xx;
|
||
|
- int msflags = MAGIC_CHECK | MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS;
|
||
|
+ int msflags = MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS;
|
||
|
magic_t ms = NULL;
|
||
|
rpmRC rc = RPMRC_FAIL;
|
||
|
|