Changes of Revision 84

obs-studio.changes Changed
x
 
1
@@ -1,4 +1,11 @@
2
 -------------------------------------------------------------------
3
+Mon Oct 19 16:02:28 UTC 2020 - Jimmy Berry <jimmy@boombatower.com>
4
+
5
+- Remove c7f84f8fc4e90ef779a204ac268f5ee1a962e324.patch.
6
+- Add fix-luajit-include-path.patch from palica@liguros.net to
7
+  resolve Lua script building.
8
+
9
+-------------------------------------------------------------------
10
 Wed Oct 07 02:43:06 UTC 2020 - jimmy@boombatower.com
11
 
12
 - Update to version 26.0.2:
13
obs-studio.spec Changed
9
 
1
@@ -6,6 +6,7 @@
2
 License:        GPL-2.0
3
 URL:            https://obsproject.com/
4
 Source:         %{name}-%{version}.tar.xz
5
+Patch0:         fix-luajit-include-path.patch
6
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
7
 BuildRequires:  update-desktop-files
8
 BuildRequires:  cmake >= 2.8.12
9
c7f84f8fc4e90ef779a204ac268f5ee1a962e324.patch Deleted
32
 
1
@@ -1,30 +0,0 @@
2
-From c7f84f8fc4e90ef779a204ac268f5ee1a962e324 Mon Sep 17 00:00:00 2001
3
-From: Jimi Huotari <chiitoo@gentoo.org>
4
-Date: Sun, 9 Feb 2020 05:23:55 +0200
5
-Subject: [PATCH] deps/glad: Fix build with GCC-10
6
-
7
-GCC-10 defaults to '-fno-common' [1], which triggers issues with
8
-defining global variables multiple times.  To fix the build, use
9
-'extern' to turn the first definition of 'gladGetProcAddressPtr'
10
-into a declaration.
11
-
12
-1. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678
13
-
14
-Closes https://github.com/obsproject/obs-studio/issues/2828
15
----
16
- deps/glad/src/glad_glx.c | 2 +-
17
- 1 file changed, 1 insertion(+), 1 deletion(-)
18
-
19
-diff --git a/deps/glad/src/glad_glx.c b/deps/glad/src/glad_glx.c
20
-index 7c55b9fc01..58086f1039 100644
21
---- a/deps/glad/src/glad_glx.c
22
-+++ b/deps/glad/src/glad_glx.c
23
-@@ -35,7 +35,7 @@ static void* libGL;
24
- 
25
- #ifndef __APPLE__
26
- typedef void* (APIENTRYP PFNGLXGETPROCADDRESSPROC_PRIVATE)(const char*);
27
--PFNGLXGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr;
28
-+extern PFNGLXGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr;
29
- #endif
30
- 
31
- static
32
fix-luajit-include-path.patch Added
13
 
1
@@ -0,0 +1,11 @@
2
+--- obs-studio-26.0.2/cmake/Modules/FindLuajit.cmake   2020-10-06 17:49:58.000000000 +0200
3
++++ obs-studio-26.0.2-luafix/cmake/Modules/FindLuajit.cmake    2020-10-18 18:55:51.636447909 +0200
4
+@@ -48,6 +48,8 @@
5
+       include/luajit-2.1
6
+       luajit2.1
7
+       include/luajit2.1
8
++      moonjit-2.2
9
++      include/moonjit-2.2
10
+       )
11
+ 
12
+ find_library(LUAJIT_LIB
13