update to rpm-4.9.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=93
This commit is contained in:
13
nomagiccheck.diff
Normal file
13
nomagiccheck.diff
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
|
Reference in New Issue
Block a user