File 1349-Fix-OpenGL-compilation-loading-again.patch of Package erlang

From 4ec70e87cbc33980b04e9c506cb1450df9a5ef32 Mon Sep 17 00:00:00 2001
From: Dan Gudmundsson <dgud@erlang.org>
Date: Fri, 24 Oct 2025 13:01:22 +0200
Subject: [PATCH 2/2] Fix OpenGL compilation/loading again

gl.erl was compiled with wrong parameters in bootstrap,
and then kept in the release, 3rd time I'm fixing this
hopefully for real now.

If headers/libs are available it should work now.
---
 lib/wx/src/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/lib/wx/src/Makefile b/lib/wx/src/Makefile
index 3d5a2baac2..2a6dee970c 100644
--- a/lib/wx/src/Makefile
+++ b/lib/wx/src/Makefile
@@ -21,14 +21,7 @@
 #
 
 include ../vsn.mk
-ifdef TERTIARY_BOOTSTRAP
- VSN = $(WX_VSN)
- include $(ERL_TOP)/make/target.mk
- include $(ERL_TOP)/make/$(TARGET)/otp.mk
- RELSYSDIR = $(RELEASE_PATH)/lib/wx-$(VSN)
-else # Normal build
- include ../config.mk
-endif
+include ../config.mk
 
 ESRC = .
 EGEN = gen
-- 
2.51.0

openSUSE Build Service is sponsored by