-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: dj_palli <[email protected]>
- Loading branch information
1 parent
de058f8
commit d83cde4
Showing
4 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff -up glew-2.2.0/include/GL/glew.h~ glew-2.2.0/include/GL/glew.h | ||
--- glew-2.2.0/include/GL/glew.h~ 2020-03-15 12:53:59.000000000 +0100 | ||
+++ glew-2.2.0/include/GL/glew.h 2022-02-22 23:17:58.889834158 +0100 | ||
@@ -220,7 +220,8 @@ typedef _W64 int ptrdiff_t; | ||
*/ | ||
|
||
#if defined(__APPLE__) || defined(__linux__) | ||
-# if defined(__cplusplus) | ||
+/* GCC12 errors out when including <cstdint> with __cplusplus < 201103L */ | ||
+# if defined(__cplusplus) && __cplusplus >= 201103L | ||
# include <cstddef> | ||
# include <cstdint> | ||
# else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"Signatures": { | ||
"glew-2.1.0.tgz": "04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95" | ||
"glew-2.2.0.tgz": "d4fc82893cfb00109578d0a1a2337fb8ca335b3ceccf97b97e5cc7f08e4353e1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
Name: glew | ||
Version: 2.1.0 | ||
Release: 7%{?dist} | ||
Version: 2.2.0 | ||
Release: 1%{?dist} | ||
Summary: The OpenGL Extension Wrangler Library | ||
License: BSD and MIT | ||
Vendor: Microsoft Corporation | ||
Distribution: Azure Linux | ||
URL: http://glew.sourceforge.net | ||
URL: https://glew.sourceforge.net | ||
|
||
Source0: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz | ||
Patch0: glew-2.1.0-install.patch | ||
Patch1: glew-2.2.0-gcc12-cplusplus.patch | ||
|
||
BuildRequires: gcc | ||
BuildRequires: libGLU-devel | ||
BuildRequires: make | ||
|
||
|
||
%description | ||
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ | ||
|
@@ -74,6 +78,11 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so* | |
%doc doc/* | ||
|
||
%changelog | ||
* Tue Oct 29 2024 Durga Jagadeesh Palli <[email protected]> - 2.2.0-1 | ||
- Update to 2.2.0. | ||
- change http URL to https | ||
- License verified | ||
|
||
* Thu Jun 17 2021 Thomas Crain <[email protected]> - 2.1.0-7 | ||
- Initial CBL-Mariner import from Fedora 32 (license: MIT). | ||
- Remove redhat-specific config.guess seeding | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters