Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2021 06:48:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254451] graphics/mupdf: clipboard support for -gl
Message-ID:  <bug-254451-7788-RnfaLNMBk1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254451-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254451-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254451

--- Comment #1 from Zsolt Udvari <uzsolt@uzsolt.hu> ---
I think I found the reason.

The mupdf's source contains a file, platform/gl/gl-ui.c, and in line 402 can
found this message
(https://git.ghostscript.com/?p=3Dmupdf.git;a=3Dblob;f=3Dplatform/gl/gl-ui.=
c;h=3D838ce61ade8acfc550e1d8409cf93f7bba0e9b63;hb=3DHEAD#l399).

The line 399 contains a condition: GLUT_API_VERSION >=3D 6. The FreeBSD por=
ts has
graphics/freeglut 3.0.0, and in the /usr/local/include/GL/freeglut_std.h the
GLUT_API_VERSION is:
#define  GLUT_API_VERSION     4

I think the freeglut should upgrade because there is version 3.2.1 since
September 2019 (http://freeglut.sourceforge.net/index.php#download). I try
update it.

Thanks for report!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254451-7788-RnfaLNMBk1>