mythtv/mythtv-31.0-gcc-11.patch

21 lines
849 B
Diff
Raw Permalink Normal View History

--- mythtv-31.0/mythtv/external/libudfread/default_blockinput.c.orig 2021-11-13 17:54:20.586889219 +0100
+++ mythtv-31.0/mythtv/external/libudfread/default_blockinput.c 2021-11-13 17:55:20.398989854 +0100
@@ -34,6 +34,7 @@
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
+#include <fcntl.h>
#ifdef _WIN32
#include <windows.h>
--- mythtv-31.0/mythtv/external/libmythdvdnav/dvdread/dvd_input.c.orig 2021-11-13 17:53:16.871716574 +0100
+++ mythtv-31.0/mythtv/external/libmythdvdnav/dvdread/dvd_input.c 2021-11-13 17:53:37.424094852 +0100
@@ -24,6 +24,7 @@
#include <stdlib.h> /* free */
#include <fcntl.h> /* open */
#include <unistd.h> /* lseek */
+#include <dlfcn.h>
#include "dvdread/dvd_reader.h" /* DVD_VIDEO_LB_LEN */
#include "dvd_input.h"