summaryrefslogtreecommitdiffstats
path: root/kodi-15.0-gcc5.patch
diff options
context:
space:
mode:
authorMichael Cronenworth <mike@cchtml.com>2015-06-17 01:18:26 -0500
committerMichael Cronenworth <mike@cchtml.com>2015-06-17 01:18:26 -0500
commit704af298383de1a3c170f23ad95770064f726bd0 (patch)
tree6016e2b16c4c6fb23a19bc999ed21880c2fc678b /kodi-15.0-gcc5.patch
parent3e049a06bd2e2ca9858a3bab12b7947578c8e3a7 (diff)
downloadxbmc-rpm-704af298383de1a3c170f23ad95770064f726bd0.tar.gz
xbmc-rpm-704af298383de1a3c170f23ad95770064f726bd0.tar.xz
xbmc-rpm-704af298383de1a3c170f23ad95770064f726bd0.zip
Update to Kodi 15.0 beta 2HEADmaster
Temporarily disable libcec support. Fedora package needs to be updated first.
Diffstat (limited to 'kodi-15.0-gcc5.patch')
-rw-r--r--kodi-15.0-gcc5.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/kodi-15.0-gcc5.patch b/kodi-15.0-gcc5.patch
new file mode 100644
index 0000000..b11929c
--- /dev/null
+++ b/kodi-15.0-gcc5.patch
@@ -0,0 +1,20 @@
+--- a/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h 2015-06-17 00:49:22.686927610 -0500
++++ b/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h 2015-06-17 00:51:40.145624074 -0500
+@@ -78,7 +78,7 @@
+ typedef bool _Bool;
+ # endif
+ #else
+-# if !defined __GNUC__
++# if !defined __GNUC__ || __GNUC__ >= 5
+ /* If @HAVE__BOOL@:
+ Some HP-UX cc and AIX IBM C compiler versions have compiler bugs when
+ the built-in _Bool type is used. See
+@@ -96,6 +96,8 @@
+ "warning(1185): enumerated type mixed with another type".
+ The only benefit of the enum type, debuggability, is not important
+ with these compilers. So use 'signed char' and no typedef. */
++ /* The default C mode changed from C89 to C11, which removes the _Bool
++ type. */
+ # define _Bool signed char
+ enum { false = 0, true = 1 };
+ # else