Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package glew for openSUSE:Factory checked in 
at 2024-03-22 15:17:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glew (Old)
 and      /work/SRC/openSUSE:Factory/.glew.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glew"

Fri Mar 22 15:17:19 2024 rev:47 rq:1160039 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/glew/glew.changes        2021-08-25 
20:56:21.821306485 +0200
+++ /work/SRC/openSUSE:Factory/.glew.new.1905/glew.changes      2024-03-22 
15:18:49.596986206 +0100
@@ -1,0 +2,12 @@
+Wed Mar 20 12:43:24 UTC 2024 - Dr. Werner Fink <[email protected]>
+
+- Add patch glew-2.2.0-mesa-24.patch
+  * Do not undefine APIENTRY macro if GLAPIENTRY is still defined 
+    (boo#1221744)
+
+-------------------------------------------------------------------
+Wed Mar 20 12:38:25 UTC 2024 - Dr. Werner Fink <[email protected]>
+
+- Install missing header file (from [email protected])
+
+-------------------------------------------------------------------

New:
----
  glew-2.2.0-mesa-24.patch

BETA DEBUG BEGIN:
  New:
- Add patch glew-2.2.0-mesa-24.patch
  * Do not undefine APIENTRY macro if GLAPIENTRY is still defined 
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glew.spec ++++++
--- /var/tmp/diff_new_pack.RFgj3D/_old  2024-03-22 15:18:50.705026931 +0100
+++ /var/tmp/diff_new_pack.RFgj3D/_new  2024-03-22 15:18:50.705026931 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package glew
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,7 @@
 Source0:        
https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
 Source1:        baselibs.conf
 Source2:        %{name}.rpmlintrc
+Patch0:         glew-2.2.0-mesa-24.patch
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(egl)
 BuildRequires:  pkgconfig(gl)
@@ -73,13 +74,14 @@
 functionality is exposed in a single header file.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %make_build POPT="%{optflags} -fPIE -pie" GLEW_DEST=%{_prefix} 
LIBDIR=%{_libdir} LDFLAGS.EXTRA= STRIP=
 
 %install
 make DESTDIR=%{buildroot} GLEW_DEST=%{_prefix} LIBDIR=%{_libdir} 
PKGDIR=%{_libdir}/pkgconfig install.all
+install -m 0644 include/GL/eglew.h "%{buildroot}/%{_includedir}/GL/"
 chmod +x %{buildroot}%{_libdir}/*.so.*
 rm %{buildroot}%{_libdir}/*.a
 

++++++ glew-2.2.0-mesa-24.patch ++++++
---
 glew-2.2.0/include/GL/glew.h |    2 ++
 1 file changed, 2 insertions(+)

--- glew-2.2.0/include/GL/glew.h
+++ glew-2.2.0/include/GL/glew.h        2024-03-20 12:42:28.712954164 +0000
@@ -26408,8 +26408,10 @@ GLEWAPI const GLubyte * GLEWAPIENTRY gle
 
 #ifdef GLEW_APIENTRY_DEFINED
 #undef GLEW_APIENTRY_DEFINED
+#ifndef GLAPIENTRY
 #undef APIENTRY
 #endif
+#endif
 
 #ifdef GLEW_CALLBACK_DEFINED
 #undef GLEW_CALLBACK_DEFINED

Reply via email to