Skip to content

Commit d83cde4

Browse files
durgajagadeeshdj_palli
andauthored
glew: Update to 2.2.0 (#10871)
Co-authored-by: dj_palli <dj_palli@microsoft.com>
1 parent de058f8 commit d83cde4

4 files changed

Lines changed: 28 additions & 6 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff -up glew-2.2.0/include/GL/glew.h~ glew-2.2.0/include/GL/glew.h
2+
--- glew-2.2.0/include/GL/glew.h~ 2020-03-15 12:53:59.000000000 +0100
3+
+++ glew-2.2.0/include/GL/glew.h 2022-02-22 23:17:58.889834158 +0100
4+
@@ -220,7 +220,8 @@ typedef _W64 int ptrdiff_t;
5+
*/
6+
7+
#if defined(__APPLE__) || defined(__linux__)
8+
-# if defined(__cplusplus)
9+
+/* GCC12 errors out when including <cstdint> with __cplusplus < 201103L */
10+
+# if defined(__cplusplus) && __cplusplus >= 201103L
11+
# include <cstddef>
12+
# include <cstdint>
13+
# else
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"glew-2.1.0.tgz": "04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95"
3+
"glew-2.2.0.tgz": "d4fc82893cfb00109578d0a1a2337fb8ca335b3ceccf97b97e5cc7f08e4353e1"
44
}
55
}

SPECS-EXTENDED/glew/glew.spec

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
Name: glew
2-
Version: 2.1.0
3-
Release: 7%{?dist}
2+
Version: 2.2.0
3+
Release: 1%{?dist}
44
Summary: The OpenGL Extension Wrangler Library
55
License: BSD and MIT
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
8-
URL: http://glew.sourceforge.net
8+
URL: https://glew.sourceforge.net
99

1010
Source0: https://sourceforge.net/projects/glew/files/glew/%{version}/glew-%{version}.tgz
1111
Patch0: glew-2.1.0-install.patch
12+
Patch1: glew-2.2.0-gcc12-cplusplus.patch
13+
1214
BuildRequires: gcc
1315
BuildRequires: libGLU-devel
16+
BuildRequires: make
17+
1418

1519
%description
1620
The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++
@@ -74,6 +78,11 @@ chmod 0755 $RPM_BUILD_ROOT%{_libdir}/*.so*
7478
%doc doc/*
7579

7680
%changelog
81+
* Tue Oct 29 2024 Durga Jagadeesh Palli <v-dpalli@microsoft.com> - 2.2.0-1
82+
- Update to 2.2.0.
83+
- change http URL to https
84+
- License verified
85+
7786
* Thu Jun 17 2021 Thomas Crain <thcrain@microsoft.com> - 2.1.0-7
7887
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
7988
- Remove redhat-specific config.guess seeding

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4340,8 +4340,8 @@
43404340
"type": "other",
43414341
"other": {
43424342
"name": "glew",
4343-
"version": "2.1.0",
4344-
"downloadUrl": "https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.tgz"
4343+
"version": "2.2.0",
4344+
"downloadUrl": "https://sourceforge.net/projects/glew/files/glew/2.2.0/glew-2.2.0.tgz"
43454345
}
43464346
}
43474347
},

0 commit comments

Comments
 (0)