File xmountains-2.7-getopt.patch of Package xmountains

--- xmountains.c
+++ xmountains.c
@@ -40,7 +40,7 @@
   {
     if( opterr )
     {
-      fprintf(stderr,"getopt: found \":\" in optstring\n");
+      fprintf(stderr,"my_getopt: found \":\" in optstring\n");
     }
     return '?';
   }
@@ -68,7 +68,7 @@
   }
   if( opterr )
   {
-    fprintf(stderr,"getopt: flag %s not recognized\n",argv[optind]);
+    fprintf(stderr,"my_getopt: flag %s not recognized\n",argv[optind]);
   }
   optind++;
   return '?';
openSUSE Build Service is sponsored by