Created attachment 209541 [details] patch to graphics/glew/Makefile New port graphics/glew-wayland fails on powerpc64/GCC: include/GL/eglew.h:115: error: redefinition of typedef 'EGLint' This change to the masterport seems to fix it. (I have no idea why the build of the masterport itself is not affected.)
A commit references this bug: Author: jbeich Date: Sat Nov 30 09:06:22 UTC 2019 New revision: 518713 URL: https://svnweb.freebsd.org/changeset/ports/518713 Log: 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 Changes: head/graphics/glew-wayland/Makefile
Sorry, I've mixed you with Piotr. (In reply to Mark Linimon from comment #0) > I have no idea why the build of the masterport itself is not affected. glew-wayland uses EGL (instead of GLX) headers but builds the same files as master port.