CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

Port details

graphics/glew-wayland2.3.1

OpenGL Extension Wrangler Library

Maintainer
jbeich@FreeBSD.org
Packages
glew-wayland 2.3.1
Upstream
up to date
CPE
none, CVEs only via VuXML
WWW
https://glew.sourceforge.net/
Links
cgit · VuXML

Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE

None. There is no CVE without a VuXML entry for this version.

VuXML only (0) · listed, port not fixed yet

None. pkg audit reports nothing for this version.

Fixed (0)

No VuXML entries for this package.

Commits (11)

Gleb Popov (arrowd) · 2.3.1
graphics/glew{,-wayland}: Update to 2.3.1

Approved by:	jbeich
Pull Request:	https://github.com/freebsd/freebsd-ports/pull/565
b7c05a1a79
Jan Beich (jbeich)
wayland: add more mostly leaf ports to virtual category

Caveats:
- emulators/rpcs3: install qt5-wayland and ensure Renderer is Vulkan (default)
- mail/thunderbird: add MOZ_ENABLE_WAYLAND=1 via environ(7)
- www/chromium: add --ozone-platform=wayland on command line
- www/firefox-esr: add MOZ_ENABLE_WAYLAND=1 via environ(7)
- www/firefox: add MOZ_ENABLE_WAYLAND=1 via environ(7)
2948687622
Jan Beich (jbeich)
graphics/glew-wayland: drop X11 dependency after b44acc9409bdn

libGL is legacy GLX entry point, so maybe missing if libglvnd and/or
mesa-libs was built without X11 support.

$ make clean all deinstall install WITHOUT=X11 -C ../libglvnd
$ make clean all
[...]
===>   glew-wayland-2.2.0_2 depends on shared library: libGL.so - not found
*** Error code 1
[...]
ld -shared -soname libGLEW-wayland.so.2 -o lib/libGLEW-wayland.so.2.2.0 tmp/freebsd/default/shared/glew.o -L/usr/local/lib -lEGL -lGL
ld: error: unable to find library -lGL
gmake[1]: *** [Makefile:123: lib/libGLEW-wayland.so.2.2.0] Error 1
1d106488bd
Jan Beich (jbeich)
graphics/glew-wayland: suggest LD_LIBMAP for session-local override

LD_LIBMAP can be limited to Wayland or KMS console e.g.,

$ cat >>~/.zshrc
if [[ ( -n $WAYLAND_DISPLAY || -z $DISPLAY ) && $LD_LIBMAP != *GLEW-wayland* ]]; then
   export LD_LIBMAP=libGLEW.so.2=libGLEW-wayland.so.2,$LD_LIBMAP
   export SDL_VIDEODRIVER=wayland,kmsdrm,x11
fi
fdc95482c3
Kevin Bowling (kbowling)
graphics/mesa-libs: Bump reverse deps for libglvnd

Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
da3162c7c9
Mathieu Arnold (mat)
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148f48
Jan Beich (jbeich)
graphics/glew: update to 2.2.0

Changes:	https://github.com/nigels-com/glew/compare/glew-2.1.0...555aa3ffc085
Approved by:	zeising (maintainer)
Differential Revision:	https://reviews.freebsd.org/D25162
d4af629ef1
Jan Beich (jbeich)
graphics/glew-wayland: install more files

$ LD_PRELOAD=libGLEW-wayland.so glewinfo
Error [main]: glewInit failed: Missing GL version
88104b3658
Jan Beich (jbeich)
graphics/glew-wayland: unbreak on GCC architectures

In file included from src/glew.c:43:
include/GL/eglew.h:115: error: redefinition of typedef 'EGLint'
/usr/local/include/EGL/eglplatform.h:158: error: previous declaration of 'EGLint' was here

$ gcc42 -xc -c -
typedef int foo;
typedef int foo;
^D
<stdin>:2: error: redefinition of typedef 'foo'
<stdin>:1: error: previous declaration of 'foo' was here

PR:		242310
Reported by:	pkubaj
b9c668dadc
Jan Beich (jbeich)
graphics/glew: add -wayland slave

SDL_VIDEODRIVER=wayland doesn't work with current glew package while
SDL_VIDEODRIVER=x11 doesn't work using this package. So, build against
libEGL instead of libX11 and let the user decide when to use.

Idea from:	ArchLinux
Tested by:	SDL (freeorion, ppsspp, renpy)
063726be54