Projects
home:sagiben
kodi
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 35
View file
kodi.spec
Changed
@@ -53,6 +53,8 @@ Patch4: cmake_do_not_download.patch Patch5: cmake_build64.patch Patch6: kodi-texturepacker.patch +# PATCH-FIX-UPSTREAM: fix build with gcc5 (Tumbleweed) +Patch7: kodi-15.0-gcc5.patch BuildRequires: alsa-devel BuildRequires: avahi-devel BuildRequires: bluez-devel @@ -252,6 +254,7 @@ %patch4 %patch5 %patch6 +%patch7 -p1 # Remove build time references so build-compare can do its work FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
View file
kodi-15.0-gcc5.patch
Added
@@ -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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.