Source: direwolf Version: 1.2-1 Severity: important Tags: patch upstream Dear Maintainer,
direwolf (1.2-1) FTBFS with libgps22 as part of the gpsd transition (#803605): dwgps.c:64:2: error: #error libgps API version might be incompatible. #error libgps API version might be incompatible. ^ <builtin>: recipe for target 'dwgps.o' failed dwgps.c claims to only support GPSD_API_MAJOR_VERSION 5, but also builds successfully with GPSD_API_MAJOR_VERSION 6 provided by libgps22 when the attached patch is applied. Kind Regards, Bas
Description: Enable building with libgps22 (GPSD_API_MAJOR_VERSION 6) Author: Bas Couwenberg <[email protected]> --- a/dwgps.c +++ b/dwgps.c @@ -60,7 +60,7 @@ #if ENABLE_GPS #include <gps.h> -#if GPSD_API_MAJOR_VERSION != 5 +#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 6 #error libgps API version might be incompatible. #endif

