]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix compilation with libhdhomerun 20190621
authorMichael Marley <michael@michaelmarley.com>
Wed, 26 Jun 2019 23:35:50 +0000 (19:35 -0400)
committerJaroslav Kysela <perex@perex.cz>
Sun, 30 Jun 2019 14:19:14 +0000 (16:19 +0200)
They renamed the symbol that was used to determine whether the
"hdhomerun_discover_find_devices_custom" needed to be aliased,
causing an FTBFS.  Instead, recognize both the old and new symbols.

src/input/mpegts/tvhdhomerun/tvhdhomerun.c

index 58dec51ab39aaf9ee6163727601ef1722411f11a..18068faf5db9f58abc44164ecfb8f67b9d31aa2f 100644 (file)
@@ -32,7 +32,8 @@
 
 #include "config.h"
 
-#ifdef HDHOMERUN_TAG_DEVICE_AUTH_BIN
+#if defined(HDHOMERUN_TAG_DEVICE_AUTH_BIN) \
+           || defined(HDHOMERUN_TAG_DEVICE_AUTH_BIN_DEPRECATED)
 #define hdhomerun_discover_find_devices_custom \
            hdhomerun_discover_find_devices_custom_v2
 #endif