avr32: use 4.4.x, serial is broken in 4.9.x
[openadk.git] / package / exmap / patches / patch-src_exmapserver_c
blob721ec2fa36aefbaddacb5fd38d2b9ed59ad97eeb
1 $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
2 --- exmap-console-0.4.1.orig/src/exmapserver.c  2007-02-26 12:00:48.000000000 +0100
3 +++ exmap-console-0.4.1/src/exmapserver.c       2008-12-14 15:52:07.000000000 +0100
4 @@ -532,9 +532,9 @@ main (int argc, char ** argv)
5         }
6      }
7  
8 +  /* do not try to modprobe 
9    if (getuid() == 0)
10      {
11 -      /* if running a root, we can make sure that the exmap module is loaded */
12        if (g_spawn_sync (NULL, (char**)&modp_args, NULL, G_SPAWN_SEARCH_PATH,
13                          NULL, NULL, NULL, NULL, &modp_status, &error))
14          {
15 @@ -548,6 +548,7 @@ main (int argc, char ** argv)
16                     error ? error->message : "");
17          }
18      }
19 +   */
20    
21    /* handle SIGPIPE */
22    struct sigaction sa;