Opened 4 years ago

Closed 4 years ago

#61927 closed defect (fixed)

gtkglext+quartz build fails on big sur due to gdk_drawable_get_size and gdk_draw_pixbuf

Reported by: ShadSterling (Shad Sterling) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc: cooljeanius (Eric Gallager), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: gtkglext

Description

:info:build gdkglpixmap-quartz.c:146:2: error: implicit declaration of function 'gdk_drawable_get_size' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build gdkglcontext-quartz.c:192:10: warning:         gdk_drawable_get_size (GDK_DRAWABLE (pixmap), &width, &height);'NSOpenGLContext' is deprecated: first deprecated in macOS 10.14 - Please use Metal or MetalKit. [-Wdeprecated-declarations]
:info:build         ^
:info:build gdkglpixmap-quartz.c:247:2: error: implicit declaration of function 'gdk_draw_pixbuf' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build         gdk_draw_pixbuf(pixmap,
:info:build         ^

This came up in reinstalling everything after moving to Big Sur, gtkglext is not requested.

Attachments (1)

main.log (111.1 KB) - added by ShadSterling (Shad Sterling) 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 4 years ago by ShadSterling (Shad Sterling)

It works with configure.compiler=macports-clang-11

comment:2 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:3 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:4 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Resolution: fixed
Status: newclosed

In 6c0eaacfe0ee9cd0eb00a525893521a9df72390e/macports-ports (master):

gtkglext: fix variant quartz build on newer systems

Fixes #61927

Note: See TracTickets for help on using tickets.