Projects
Multimedia
obs-studio
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 79
View file
obs-studio.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Jul 8 01:42:05 UTC 2020 - Jimmy Berry <jimmy@boombatower.com> + +- Add c7f84f8fc4e90ef779a204ac268f5ee1a962e324.patch to resolve + gcc10 build failure. + +------------------------------------------------------------------- Mon Apr 27 18:55:30 UTC 2020 - jimmy@boombatower.com - Update to version 25.0.8:
View file
obs-studio.spec
Changed
@@ -47,6 +47,7 @@ BuildRequires: swig BuildRequires: vlc-devel ExclusiveArch: i586 x86_64 +Patch0: c7f84f8fc4e90ef779a204ac268f5ee1a962e324.patch %description Open Broadcaster Software is free and open source software for video recording and live streaming. @@ -61,6 +62,7 @@ %prep %setup -q +%patch0 -p1 %build mkdir -p build && cd build
View file
c7f84f8fc4e90ef779a204ac268f5ee1a962e324.patch
Added
@@ -0,0 +1,30 @@ +From c7f84f8fc4e90ef779a204ac268f5ee1a962e324 Mon Sep 17 00:00:00 2001 +From: Jimi Huotari <chiitoo@gentoo.org> +Date: Sun, 9 Feb 2020 05:23:55 +0200 +Subject: [PATCH] deps/glad: Fix build with GCC-10 + +GCC-10 defaults to '-fno-common' [1], which triggers issues with +defining global variables multiple times. To fix the build, use +'extern' to turn the first definition of 'gladGetProcAddressPtr' +into a declaration. + +1. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678 + +Closes https://github.com/obsproject/obs-studio/issues/2828 +--- + deps/glad/src/glad_glx.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/deps/glad/src/glad_glx.c b/deps/glad/src/glad_glx.c +index 7c55b9fc01..58086f1039 100644 +--- a/deps/glad/src/glad_glx.c ++++ b/deps/glad/src/glad_glx.c +@@ -35,7 +35,7 @@ static void* libGL; + + #ifndef __APPLE__ + typedef void* (APIENTRYP PFNGLXGETPROCADDRESSPROC_PRIVATE)(const char*); +-PFNGLXGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr; ++extern PFNGLXGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr; + #endif + + static
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
.