Patch for latest mesa
This commit is contained in:
parent
e8d702c890
commit
92fc507b0d
18
SOURCES/SFML-fix-compilation-mesa.patch
Normal file
18
SOURCES/SFML-fix-compilation-mesa.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff --git a/src/SFML/Window/Unix/GlxExtensions.hpp b/src/SFML/Window/Unix/GlxExtensions.hpp
|
||||||
|
index abbb132ae..fb2c7da8f 100644
|
||||||
|
--- a/src/SFML/Window/Unix/GlxExtensions.hpp
|
||||||
|
+++ b/src/SFML/Window/Unix/GlxExtensions.hpp
|
||||||
|
@@ -28,11 +28,12 @@
|
||||||
|
#ifndef SF_POINTER_C_GENERATED_HEADER_GLXWIN_HPP
|
||||||
|
#define SF_POINTER_C_GENERATED_HEADER_GLXWIN_HPP
|
||||||
|
|
||||||
|
-#ifdef __glxext_h_
|
||||||
|
+#if defined(__glxext_h_) || defined(__glx_glxext_h_)
|
||||||
|
#error Attempt to include glx_exts after including glxext.h
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define __glxext_h_
|
||||||
|
+#define __glx_glxext_h_
|
||||||
|
|
||||||
|
#include <X11/Xlib.h>
|
||||||
|
#include <X11/Xutil.h>
|
@ -1,6 +1,6 @@
|
|||||||
Name: SFML
|
Name: SFML
|
||||||
Version: 2.4.2
|
Version: 2.4.2
|
||||||
Release: 5%{?dist}
|
Release: 5%{?dist}.alma
|
||||||
Summary: Simple and Fast Multimedia Library
|
Summary: Simple and Fast Multimedia Library
|
||||||
|
|
||||||
# src/SFML/Audio/stb_vorbis/stb_vorbis.{c,h} are Public Domain
|
# src/SFML/Audio/stb_vorbis/stb_vorbis.{c,h} are Public Domain
|
||||||
@ -33,6 +33,9 @@ Patch1: SFML-do-not-use-Pong-trademark.patch
|
|||||||
# Upstream issue - https://github.com/SFML/SFML/issues/1187
|
# Upstream issue - https://github.com/SFML/SFML/issues/1187
|
||||||
Patch2: SFML-strict-aliasing.patch
|
Patch2: SFML-strict-aliasing.patch
|
||||||
|
|
||||||
|
# Patch for compilation with the latest version of mesa
|
||||||
|
Patch9999: SFML-fix-compilation-mesa.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: freetype-devel
|
||||||
@ -68,6 +71,9 @@ developing applications that use %{name}.
|
|||||||
%patch0 -p0
|
%patch0 -p0
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
%patch2 -p0
|
%patch2 -p0
|
||||||
|
|
||||||
|
%patch9999 -p1
|
||||||
|
|
||||||
# fixup non needed executable permission on regular files
|
# fixup non needed executable permission on regular files
|
||||||
find -type f -print0 | xargs -0 chmod -x
|
find -type f -print0 | xargs -0 chmod -x
|
||||||
# fixup %%doc files line endings
|
# fixup %%doc files line endings
|
||||||
@ -111,6 +117,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 01 2021 Eduard Abdullin <eabdullin@cloudlinux.com> - 2.4.2-5.alma
|
||||||
|
- Patch for latest mesa
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-5
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user