openbsd-ports/x11/emelfm2/patches/patch-src_utils_e2_utils_c
giovanni 5d9bdf3164 Update to 0.6.0
Regen patches
2009-05-06 16:20:01 +00:00

14 lines
652 B
Plaintext

$OpenBSD: patch-src_utils_e2_utils_c,v 1.3 2009/05/06 16:20:01 giovanni Exp $
Our file(1) doesn't have all that fancy options.
--- src/utils/e2_utils.c.orig Fri May 1 09:24:56 2009
+++ src/utils/e2_utils.c Wed May 6 17:25:13 2009
@@ -484,7 +484,7 @@ gchar *e2_utils_get_mimetype (VPATH *localpath)
{
//xdg command failed, maybe due to no xdg utilities, or unrecognised type
g_free (command);
- command = e2_utils_strcat ("file -bNprs --mime-type ", qp);
+ command = e2_utils_strcat ("file -bNs ", qp);
if (e2_fs_get_command_output (command, (gpointer *) &mime))
{
g_strstrip (mime); //strip trailing \n and any whitespace