summaryrefslogtreecommitdiff
path: root/media-video/ushare/files/06_all_ushare_disable_sysconf.patch
blob: c3adf8e542871760c4daae7a45bb04a5feb34165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Do not try to parse the default configuration file as everyting
should be handled by the /etc/conf.d/ushare file in Gentoo
Index: ushare-1.1a/src/ushare.c
===================================================================
--- ushare-1.1a.orig/src/ushare.c
+++ ushare-1.1a/src/ushare.c
@@ -813,13 +813,6 @@ main (int argc, char **argv)
     return EXIT_SUCCESS;
   }
 
-  if (parse_config_file (ut) < 0)
-  {
-    /* fprintf here, because syslog not yet ready */
-    fprintf (stderr, _("Warning: can't parse file \"%s\".\n"),
-             ut->cfg_file ? ut->cfg_file : SYSCONFDIR "/" USHARE_CONFIG_FILE);
-  }
-
   if (ut->xbox360)
   {
     char *name;