diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/exmap/patches/patch-src_exmapserver_c |
Initial import
Diffstat (limited to 'package/exmap/patches/patch-src_exmapserver_c')
-rw-r--r-- | package/exmap/patches/patch-src_exmapserver_c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/exmap/patches/patch-src_exmapserver_c b/package/exmap/patches/patch-src_exmapserver_c new file mode 100644 index 000000000..721ec2fa3 --- /dev/null +++ b/package/exmap/patches/patch-src_exmapserver_c @@ -0,0 +1,22 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- exmap-console-0.4.1.orig/src/exmapserver.c 2007-02-26 12:00:48.000000000 +0100 ++++ exmap-console-0.4.1/src/exmapserver.c 2008-12-14 15:52:07.000000000 +0100 +@@ -532,9 +532,9 @@ main (int argc, char ** argv) + } + } + ++ /* do not try to modprobe + if (getuid() == 0) + { +- /* if running a root, we can make sure that the exmap module is loaded */ + if (g_spawn_sync (NULL, (char**)&modp_args, NULL, G_SPAWN_SEARCH_PATH, + NULL, NULL, NULL, NULL, &modp_status, &error)) + { +@@ -548,6 +548,7 @@ main (int argc, char ** argv) + error ? error->message : ""); + } + } ++ */ + + /* handle SIGPIPE */ + struct sigaction sa; |