Compare commits
No commits in common. "3e5070288f970bb8ecad35da3806512206805c8c" and "ebca5e9ad116e92c5dca7bd18491a1cd5ebc17a5" have entirely different histories.
3e5070288f
...
ebca5e9ad1
@ -1,26 +0,0 @@
|
|||||||
From f5f69b25eb3495775aef94f443487a4295c0a57e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Olli Kallioinen <olli.kallioinen@iki.fi>
|
|
||||||
Date: Fri, 29 Dec 2017 16:54:53 +0200
|
|
||||||
Subject: [PATCH] Fix for issue #169 (glew cmake project requires a c++
|
|
||||||
compiler)
|
|
||||||
|
|
||||||
---
|
|
||||||
build/cmake/CMakeLists.txt | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt
|
|
||||||
index 5081e0f..d724e10 100644
|
|
||||||
--- a/build/cmake/CMakeLists.txt
|
|
||||||
+++ b/build/cmake/CMakeLists.txt
|
|
||||||
@@ -2,7 +2,7 @@ if ( NOT DEFINED CMAKE_BUILD_TYPE )
|
|
||||||
set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" )
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
-project (glew)
|
|
||||||
+project (glew C)
|
|
||||||
|
|
||||||
cmake_minimum_required (VERSION 2.8.12)
|
|
||||||
|
|
||||||
--
|
|
||||||
2.37.3.windows.1
|
|
||||||
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
From 7f65a36866f4e24dd1446fe1c9d21424f28bcabd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Deve <deveee@gmail.com>
|
|
||||||
Date: Wed, 14 Nov 2018 21:07:29 +0100
|
|
||||||
Subject: [PATCH] Fixed compilation with current mesa versions.
|
|
||||||
|
|
||||||
As you can see in
|
|
||||||
https://cgit.freedesktop.org/mesa/mesa/tree/include/GL/glext.h
|
|
||||||
now the file uses __gl_glext_h_ instead of __glext_h_
|
|
||||||
It's precisely caused by commit f7d42ee7d319256608ad60778f6787c140badada
|
|
||||||
---
|
|
||||||
auto/src/glew_head.h | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/auto/src/glew_head.h b/auto/src/glew_head.h
|
|
||||||
index 41e5a26..742f27f 100644
|
|
||||||
--- a/auto/src/glew_head.h
|
|
||||||
+++ b/auto/src/glew_head.h
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
#if defined(__REGAL_H__)
|
|
||||||
#error Regal.h included before glew.h
|
|
||||||
#endif
|
|
||||||
-#if defined(__glext_h_) || defined(__GLEXT_H_)
|
|
||||||
+#if defined(__glext_h_) || defined(__GLEXT_H_) || defined(__gl_glext_h_)
|
|
||||||
#error glext.h included before glew.h
|
|
||||||
#endif
|
|
||||||
#if defined(__gl_ATI_h_)
|
|
||||||
@@ -30,6 +30,7 @@
|
|
||||||
#define __X_GL_H
|
|
||||||
#define __glext_h_
|
|
||||||
#define __GLEXT_H_
|
|
||||||
+#define __gl_glext_h_
|
|
||||||
#define __gl_ATI_h_
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
|
||||||
--
|
|
||||||
2.37.3.windows.1
|
|
||||||
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
From 15ab6eebecf7bc7028dfedb3af2afaea16231dfd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rene <rene_blath@yahoo.de>
|
|
||||||
Date: Wed, 27 Sep 2017 11:42:00 +0200
|
|
||||||
Subject: [PATCH] Include description of glew in README.md
|
|
||||||
|
|
||||||
Description has been taken from glew.sourceforge.net
|
|
||||||
---
|
|
||||||
README.md | 2 ++
|
|
||||||
1 file changed, 2 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/README.md b/README.md
|
|
||||||
index 6d8245b..1b427b8 100644
|
|
||||||
--- a/README.md
|
|
||||||
+++ b/README.md
|
|
||||||
@@ -1,5 +1,7 @@
|
|
||||||
# GLEW - The OpenGL Extension Wrangler Library
|
|
||||||
|
|
||||||
+The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.
|
|
||||||
+
|
|
||||||

|
|
||||||
|
|
||||||
http://glew.sourceforge.net/
|
|
||||||
--
|
|
||||||
2.37.3.windows.1
|
|
||||||
|
|
||||||
24
glew.spec
24
glew.spec
@ -1,21 +1,17 @@
|
|||||||
Name: glew
|
Name: glew
|
||||||
Version: 2.1.0
|
Version: 2.1.0
|
||||||
Release: 7
|
Release: 3
|
||||||
Summary: The OpenGL Extension Wrangler Library
|
Summary: The OpenGL Extension Wrangler Library
|
||||||
License: BSD and MIT
|
License: BSD and MIT
|
||||||
URL: http://glew.sourceforge.net
|
URL: http://glew.sourceforge.net
|
||||||
|
|
||||||
Source0: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
|
Source0: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
|
||||||
Patch0000: glew-2.1.0-install.patch
|
Patch0000: glew-2.1.0-install.patch
|
||||||
BuildRequires: libGLU-devel gcc
|
BuildRequires: libGLU-devel
|
||||||
|
|
||||||
Provides: libGLEW = %{version}-%{release}
|
Provides: libGLEW = %{version}-%{release}
|
||||||
Obsoletes: libGLEW < %{version}-%{release}
|
Obsoletes: libGLEW < %{version}-%{release}
|
||||||
|
|
||||||
Patch6000: backport-0001-Include-description-of-glew-in-README.md.patch
|
|
||||||
Patch6001: backport-0001-Fixed-compilation-with-current-mesa-versions.patch
|
|
||||||
Patch6002: backport-0001-Fix-for-issue-169-glew-cmake-project-requires-a-c-co.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
OpenGL Extension Wrangler Library (GLEW) is a cross-platform
|
||||||
extension loading library for c / c ++.
|
extension loading library for c / c ++.
|
||||||
@ -65,21 +61,5 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
|
|||||||
%doc doc/*
|
%doc doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Jan 7 2023 mengwenhua <mengwenhua@xfusion.com> - 2.1.0-7
|
|
||||||
- glew cmake project requires a c++ compiler
|
|
||||||
|
|
||||||
* Fri Jan 6 2023 mengwenhua<mengwenhua@xfusion.com> - 2.1.0-6
|
|
||||||
- Fixed compilation with current mesa versions.
|
|
||||||
|
|
||||||
* Thu Jan 5 2023 mengwenhua<mengwenhua@xfusion.com> - 2.1.0-5
|
|
||||||
- Type:bugfix
|
|
||||||
- CVE:NA
|
|
||||||
- SUG:NA
|
|
||||||
- DESC:Include description of glew in README.md
|
|
||||||
|
|
||||||
* Wed Jun 2 2021 baizhonggui <baizhonggui@huawei.com> - 2.1.0-4
|
|
||||||
- Fixed make: cc: No such file or directory
|
|
||||||
- Add gcc in BuildRequires
|
|
||||||
|
|
||||||
* Wed Nov 20 2019 yangjian<yangjian79@huawei.com> - 2.1.0-3
|
* Wed Nov 20 2019 yangjian<yangjian79@huawei.com> - 2.1.0-3
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user