Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37536294
en ru br
ALT Linux repositórios
S:0.13.1-alt1
5.0: 0.0.19-alt1
4.1: 0.0.21-alt0.M41.1

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


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";
                     }
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009