#19967: target-arm_cortex-a7+vfp_musl-1.1.10_eabi gpsd-3.10 failed
------------------------+-------------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:  arm cortex-a7 gpsd-3.10
------------------------+-------------------------------------

Comment (by Igor):

 According to http://lists.gnu.org/archive/html/gpsd-
 dev/2015-06/msg00030.html
 musl does not include sys/ttydefaults.h from sys/termios.h. You have to
 include it explicitly.

 Create a "patches" directory in feeds/oldpackages/net/gpsd/
 and put this patch there (name it as you wish):



 {{{
 --- a/gpsmon.c  2015-07-28 21:59:42.668627146 +0200
 +++ b/gspmon.c  2015-07-28 22:00:20.879721443 +0200
 @@ -18,6 +18,7 @@
  #include <sys/time.h>          /* expected to declare select(2) a la SuS
 */
  #include <sys/types.h>
  #include <sys/stat.h>
 +#include <sys/ttydefaults.h>
  #include <fcntl.h>
  #ifndef S_SPLINT_S
  #include <unistd.h>
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/19967#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to