When merging viking-0.9.8 with USE flag "gps", an error occur: vikgpslayer.c:237: error: field 'realtime_gpsd_unit' has incomplete type vikgpslayer.c: In function 'vik_gps_layer_new': vikgpslayer.c:473: warning: implicit declaration of function 'gpsd_units' vikgpslayer.c: In function 'rt_gpsd_try_connect': vikgpslayer.c:1321: warning: passing argument 2 of 'gps_set_raw_hook' from incompatible pointer type make[4]: *** [vikgpslayer.o] Error 1 Reproducible: Always Steps to Reproduce: 1. USE flag "gps" activated 2. emerge =sci-geosciences/viking-0.9.8 Actual Results: Merge error Expected Results: Merge successful
Created attachment 200664 [details] emerge --info output
Created attachment 200665 [details] Build.log of the failed merge
Created attachment 200666 [details, diff] ebuild correction epatch command correcting the bug
Created attachment 200668 [details, diff] Source patch - correcting the bug
Thanks.
I've commited a fix from upstream trunk, they've a much nicer patch.