2011-05-16 18:07:44 +02:00
|
|
|
Don't let rpm complain about a missing /etc/magic.mgc file
|
|
|
|
|
2020-09-30 17:34:17 +02:00
|
|
|
--- ./build/rpmfc.c.orig 2020-09-30 13:08:18.770584384 +0000
|
|
|
|
+++ ./build/rpmfc.c 2020-09-30 13:08:54.306508417 +0000
|
|
|
|
@@ -1159,7 +1159,7 @@ static uint32_t getElfColor(const char *
|
2013-07-12 16:11:14 +02:00
|
|
|
|
2012-08-28 15:31:44 +02:00
|
|
|
rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode)
|
2011-05-16 18:07:44 +02:00
|
|
|
{
|
2020-09-30 17:34:17 +02:00
|
|
|
- int msflags = MAGIC_CHECK | MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS | MAGIC_ERROR;
|
|
|
|
+ int msflags = MAGIC_COMPRESS | MAGIC_NO_CHECK_TOKENS | MAGIC_ERROR;
|
|
|
|
int mimeflags = msflags | MAGIC_MIME_TYPE;
|
2019-10-02 15:28:11 +02:00
|
|
|
int nerrors = 0;
|
2011-05-16 18:07:44 +02:00
|
|
|
rpmRC rc = RPMRC_FAIL;
|