zerochaos    14/11/17 18:34:17

  Added:                gmap_usr_share_mv.patch
  Log:
  add in patch and files needed for web interface, add in snapshot, add radio 
herd to maintainer
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
DD11F94A)

Revision  Changes    Path
1.1                  net-wireless/dump1090/files/gmap_usr_share_mv.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/dump1090/files/gmap_usr_share_mv.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/dump1090/files/gmap_usr_share_mv.patch?rev=1.1&content-type=text/plain

Index: gmap_usr_share_mv.patch
===================================================================
diff -Naur dump1090-orig/dump1090.c dump1090/dump1090.c
--- dump1090-orig/dump1090.c    2014-11-17 13:23:59.518047332 -0500
+++ dump1090/dump1090.c 2014-11-17 13:24:33.876048252 -0500
@@ -2233,8 +2233,8 @@
         struct stat sbuf;
         int fd = -1;
 
-        if (stat("gmap.html",&sbuf) != -1 &&
-            (fd = open("gmap.html",O_RDONLY)) != -1)
+        if (stat("/usr/share/dump1090/gmap.html",&sbuf) != -1 &&
+            (fd = open("/usr/share/dump1090/gmap.html",O_RDONLY)) != -1)
         {
             content = malloc(sbuf.st_size);
             if (read(fd,content,sbuf.st_size) == -1) {




Reply via email to