Personal patches
d571716015
gl-device-release.c:33:8: error: unknown type name 'Window' static Window ^ gl-device-release.c:34:21: error: unknown type name 'Display' create_test_window (Display *display, ^ gl-device-release.c:35:7: error: unknown type name 'GLXContext'; did you mean 'EGLContext'? GLXContext glx_context, ^~~~~~~~~~ EGLContext /usr/local/include/EGL/egl.h:64:15: note: 'EGLContext' declared here typedef void *EGLContext; ^ gl-device-release.c:36:7: error: unknown type name 'XVisualInfo' XVisualInfo *visual_info) ^ gl-oversized-surface.c:38:2: error: use of undeclared identifier 'GLX_RGBA' GLX_RGBA, ^ gl-oversized-surface.c:39:2: error: use of undeclared identifier 'GLX_RED_SIZE' GLX_RED_SIZE, 1, ^ gl-oversized-surface.c:40:2: error: use of undeclared identifier 'GLX_GREEN_SIZE' GLX_GREEN_SIZE, 1, ^ gl-oversized-surface.c:41:2: error: use of undeclared identifier 'GLX_BLUE_SIZE' GLX_BLUE_SIZE, 1, ^ gl-oversized-surface.c:42:2: error: use of undeclared identifier 'GLX_ALPHA_SIZE' GLX_ALPHA_SIZE, 1, ^ gl-surface-source.c:33:5: error: unknown type name 'Display' Display *dpy; ^ gl-surface-source.c:34:5: error: unknown type name 'GLXContext'; did you mean 'EGLContext'? GLXContext ctx; ^~~~~~~~~~ EGLContext /usr/local/include/EGL/egl.h:64:15: note: 'EGLContext' declared here typedef void *EGLContext; ^ gl-surface-source.c:42:5: error: implicit declaration of function 'glXDestroyContext' is invalid in C99 [-Werror,-Wimplicit-function-declaration] glXDestroyContext (arg->dpy, arg->ctx); ^ gl-surface-source.c:42:5: note: did you mean 'eglDestroyContext'? /usr/local/include/EGL/egl.h:156:31: note: 'eglDestroyContext' declared here EGLAPI EGLBoolean EGLAPIENTRY eglDestroyContext (EGLDisplay dpy, EGLContext ctx); ^ gl-surface-source.c:43:5: error: implicit declaration of function 'XCloseDisplay' is invalid in C99 [-Werror,-Wimplicit-function-declaration] XCloseDisplay (arg->dpy); ^ gl-device-release.c:38:5: error: use of undeclared identifier 'Colormap' Colormap colormap; ^ gl-device-release.c:39:5: error: use of undeclared identifier 'XSetWindowAttributes' XSetWindowAttributes window_attributes; ^ gl-device-release.c:40:5: error: use of undeclared identifier 'Window' Window window = None; ^ gl-device-release.c:42:5: error: use of undeclared identifier 'colormap' colormap = XCreateColormap (display, ^ gl-device-release.c:42:16: error: implicit declaration of function 'XCreateColormap' is invalid in C99 [-Werror,-Wimplicit-function-declaration] colormap = XCreateColormap (display, ^ gl-device-release.c:43:8: error: implicit declaration of function 'RootWindow' is invalid in C99 [-Werror,-Wimplicit-function-declaration] RootWindow (display, visual_info->screen), ^ gl-device-release.c:45:8: error: use of undeclared identifier 'AllocNone' AllocNone); ^ gl-oversized-surface.c:43:2: error: use of undeclared identifier 'GLX_DOUBLEBUFFER' GLX_DOUBLEBUFFER, ^ gl-oversized-surface.c:44:2: error: use of undeclared identifier 'None' None ^ gl-oversized-surface.c:47:5: error: use of undeclared identifier 'Display' Display *display; ^ gl-oversized-surface.c:47:14: error: use of undeclared identifier 'display' Display *display; ^ gl-oversized-surface.c:48:5: error: use of undeclared identifier 'XVisualInfo' XVisualInfo *visual_info; ^ gl-oversized-surface.c:48:18: error: use of undeclared identifier 'visual_info' XVisualInfo *visual_info; ^ gl-oversized-surface.c:49:5: error: unknown type name 'GLXContext'; did you mean 'EGLContext'? GLXContext glx_context; ^~~~~~~~~~ EGLContext /usr/local/include/EGL/egl.h:64:15: note: 'EGLContext' declared here typedef void *EGLContext; ^ gl-oversized-surface.c:54:5: error: use of undeclared identifier 'display' display = XOpenDisplay (NULL); ^ gl-surface-source.c:52:2: error: use of undeclared identifier 'GLX_RGBA' GLX_RGBA, ^ gl-surface-source.c:53:2: error: use of undeclared identifier 'GLX_RED_SIZE' GLX_RED_SIZE, 1, ^ gl-surface-source.c:54:2: error: use of undeclared identifier 'GLX_GREEN_SIZE' GLX_GREEN_SIZE, 1, ^ gl-surface-source.c:55:2: error: use of undeclared identifier 'GLX_BLUE_SIZE' GLX_BLUE_SIZE, 1, ^ gl-surface-source.c:56:2: error: use of undeclared identifier 'GLX_ALPHA_SIZE' GLX_ALPHA_SIZE, 1, ^ gl-surface-source.c:57:2: error: use of undeclared identifier 'GLX_DOUBLEBUFFER' GLX_DOUBLEBUFFER, ^ gl-surface-source.c:58:2: error: use of undeclared identifier 'None' None ^ gl-surface-source.c:60:5: error: use of undeclared identifier 'XVisualInfo' XVisualInfo *visinfo; ^ gl-surface-source.c:60:18: error: use of undeclared identifier 'visinfo' XVisualInfo *visinfo; ^ gl-device-release.c:46:5: error: use of undeclared identifier 'window_attributes' window_attributes.colormap = colormap; ^ gl-device-release.c:46:34: error: use of undeclared identifier 'colormap' window_attributes.colormap = colormap; ^ gl-device-release.c:47:5: error: use of undeclared identifier 'window_attributes' window_attributes.border_pixel = 0; ^ gl-device-release.c:48:5: error: use of undeclared identifier 'window' window = XCreateWindow (display, RootWindow (display, visual_info->screen), ^ gl-device-release.c:48:14: error: implicit declaration of function 'XCreateWindow' is invalid in C99 [-Werror,-Wimplicit-function-declaration] window = XCreateWindow (display, RootWindow (display, visual_info->screen), ^ gl-oversized-surface.c:54:15: error: implicit declaration of function 'XOpenDisplay' is invalid in C99 [-Werror,-Wimplicit-function-declaration] display = XOpenDisplay (NULL); ^ gl-oversized-surface.c:55:9: error: use of undeclared identifier 'display' if (display == NULL) ^ gl-oversized-surface.c:58:5: error: use of undeclared identifier 'visual_info' visual_info = glXChooseVisual (display, DefaultScreen (display), rgba_attribs); ^ gl-oversized-surface.c:58:19: error: implicit declaration of function 'glXChooseVisual' is invalid in C99 [-Werror,-Wimplicit-function-declaration] visual_info = glXChooseVisual (display, DefaultScreen (display), rgba_attribs); ^ gl-oversized-surface.c:58:45: error: implicit declaration of function 'DefaultScreen' is invalid in C99 [-Werror,-Wimplicit-function-declaration] visual_info = glXChooseVisual (display, DefaultScreen (display), rgba_attribs); gl-surface-source.c:61:5: error: unknown type name 'GLXContext'; did you mean 'EGLContext'? GLXContext ctx; ^~~~~~~~~~ EGLContext /usr/local/include/EGL/egl.h:64:15: note: 'EGLContext' declared here typedef void *EGLContext; ^ gl-surface-source.c:65:5: error: use of undeclared identifier 'Display' Display *dpy; ^ gl-surface-source.c:65:14: error: use of undeclared identifier 'dpy' Display *dpy; ^ gl-surface-source.c:67:5: error: use of undeclared identifier 'dpy' dpy = XOpenDisplay (NULL); ^ gl-surface-source.c:67:11: error: implicit declaration of function 'XOpenDisplay' is invalid in C99 [-Werror,-Wimplicit-function-declaration] dpy = XOpenDisplay (NULL); ^ gl-surface-source.c:68:9: error: use of undeclared identifier 'dpy' if (dpy == NULL) ^ gl-oversized-surface.c:58:60: error: use of undeclared identifier 'display' visual_info = glXChooseVisual (display, DefaultScreen (display), rgba_attribs); ^ PR: 256180 Reported by: shrdlu19@gmail.com Approved by: maintainer timeout (3 weeks) |
||
---|---|---|
.hooks | ||
accessibility | ||
arabic | ||
archivers | ||
astro | ||
audio | ||
base | ||
benchmarks | ||
biology | ||
cad | ||
chinese | ||
comms | ||
converters | ||
databases | ||
deskutils | ||
devel | ||
dns | ||
editors | ||
emulators | ||
finance | ||
french | ||
ftp | ||
games | ||
german | ||
graphics | ||
hebrew | ||
hungarian | ||
irc | ||
japanese | ||
java | ||
Keywords | ||
korean | ||
lang | ||
math | ||
misc | ||
Mk | ||
multimedia | ||
net | ||
net-im | ||
net-mgmt | ||
net-p2p | ||
news | ||
polish | ||
ports-mgmt | ||
portuguese | ||
russian | ||
science | ||
security | ||
shells | ||
sysutils | ||
Templates | ||
textproc | ||
Tools | ||
ukrainian | ||
vietnamese | ||
www | ||
x11 | ||
x11-clocks | ||
x11-drivers | ||
x11-fm | ||
x11-fonts | ||
x11-servers | ||
x11-themes | ||
x11-toolkits | ||
x11-wm | ||
.arcconfig | ||
.gitignore | ||
CHANGES | ||
CONTRIBUTING.md | ||
COPYRIGHT | ||
GIDs | ||
Makefile | ||
MOVED | ||
README | ||
UIDs | ||
UPDATING |
This is the FreeBSD Ports Collection. For an easy to use WEB-based interface to it, please see: https://www.FreeBSD.org/ports For general information on the Ports Collection, please see the FreeBSD Handbook ports section which is available from: https://docs.freebsd.org/en/books/handbook/ports/ for the latest official version or: The ports(7) manual page (man ports). These will explain how to use ports and packages. If you would like to search for a port, you can do so easily by saying (in /usr/ports): make search name="<name>" or: make search key="<keyword>" which will generate a list of all ports matching <name> or <keyword>. make search also supports wildcards, such as: make search name="gtk*" For information about contributing to FreeBSD ports, please see the Porter's Handbook, available at: https://docs.freebsd.org/en/books/porters-handbook/ NOTE: This tree will GROW significantly in size during normal usage! The distribution tar files can and do accumulate in /usr/ports/distfiles, and the individual ports will also use up lots of space in their work subdirectories unless you remember to "make clean" after you're done building a given port. /usr/ports/distfiles can also be periodically cleaned without ill-effect.