Group :: Desktop gráfico/XFce
RPM: ristretto
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: fix_for_libmagic_4.patch
Download
Download
diff --git a/src/file.c b/src/file.c
index 55e467a3..4e01ac1c 100644
--- a/src/file.c
+++ b/src/file.c
@@ -228,7 +228,7 @@ rstto_file_is_valid (RsttoFile *r_file)
else if (g_strcmp0 (content_type, "application/gzip") == 0)
{
/* see if it is a compressed SVG file */
- magic_setflags (magic, magic_getflags (magic) | MAGIC_COMPRESS);
+ magic_setflags (magic, MAGIC_MIME_TYPE | MAGIC_SYMLINK | MAGIC_COMPRESS);
if (g_strcmp0 (magic_file (magic, file_path), "image/svg+xml") == 0)
content_type = "image/svg+xml";
}