diff --git a/packages/addons/service/tvheadend42/patches/tvheadend42-07-dont-use-reserved-word-bool.patch b/packages/addons/service/tvheadend42/patches/tvheadend42-07-dont-use-reserved-word-bool.patch new file mode 100644 index 0000000000..b81add4c9e --- /dev/null +++ b/packages/addons/service/tvheadend42/patches/tvheadend42-07-dont-use-reserved-word-bool.patch @@ -0,0 +1,22 @@ +diff --git a/src/htsmsg.h b/src/htsmsg.h +index 5cdcaa4867..d15c547e58 100644 +--- a/src/htsmsg.h ++++ b/src/htsmsg.h +@@ -75,7 +75,7 @@ typedef struct htsmsg_field { + } bin; + htsmsg_t *msg; + double dbl; +- int bool; ++ int boolean; + } u; + + #if ENABLE_SLOW_MEMORYINFO +@@ -91,7 +91,7 @@ typedef struct htsmsg_field { + #define hmf_bin u.bin.data + #define hmf_binsize u.bin.len + #define hmf_dbl u.dbl +-#define hmf_bool u.bool ++#define hmf_bool u.boolean + + // backwards compat + #define htsmsg_get_map_by_field(f) htsmsg_field_get_map(f)