git: 264055fb5a65 - main - graphics/glfw: make PREEDIT option default

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sat, 13 Jul 2024 13:16:24 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=264055fb5a659ccc1e58cf91d64a5d7395d5acfa

commit 264055fb5a659ccc1e58cf91d64a5d7395d5acfa
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-07-13 12:59:57 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-13 13:15:01 +0000

    graphics/glfw: make PREEDIT option default
    
    PREEDIT option adds patches for run Minecraft [1].
    Many of the users use this port specifically for Minecraft and they have
    to build it manually from the ports. These experimental patches have
    been used for playing Minecraft by various players for 3 months now, so
    I think it’s acceptable to include them in the default build in the
    latest, but not to make MFH yet.
    If no regressions are identified in other consumers before the next
    quarterly branch (2024Q4) is created, then I will leave it that way.
    
    [1] https://github.com/glfw/glfw/pull/2130
---
 graphics/glfw/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile
index 3b2e330c99ac..2ca847993c66 100644
--- a/graphics/glfw/Makefile
+++ b/graphics/glfw/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	glfw
 DISTVERSION=	3.4
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/glfw/glfw/releases/download/${DISTVERSION}/
 
@@ -24,7 +25,7 @@ PORTDOCS=	*
 PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=		DOCS EXAMPLES PREEDIT
-OPTIONS_DEFAULT=	X11
+OPTIONS_DEFAULT=	PREEDIT X11
 OPTIONS_MULTI=		PLATFORM
 OPTIONS_MULTI_PLATFORM=	WAYLAND X11
 PLATFORM_DESC=		Window creation platform