Skip to contentSkip to conversation

package/lbreakout2: remove package

PATCH New Yegor Yefremov via buildroot 1 participant 1 message Nov 23

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lbreakout2: remove package

lbreakout2 is dead upstream: its last release, 2.6.5, dates from October 2015, and the project page says "This game is no longer maintained. Please try LBreakoutHD instead."

With GCC >= 15, which defaults to C23, the bundled copy of an old gettext fails to build when NLS is enabled, as its K&R-style declaration of getcwd() now means getcwd(void):

dcigettext.c:141:7: error: conflicting types for 'getcwd'; have 'char *(void)' dcigettext.c:531:17: error: too many arguments to function 'getcwd'; expected 0, have 2

Rather than carrying local fixes for an unmaintained game, remove the package and add a legacy option for it.

https://lgames.sourceforge.io/LBreakout2/

Fixes:
https://autobuild.buildroot.org/results/f9f2b60d894c99715f376f6b3a3d64fa19d46a97

Assisted-by Claude:claude-opus-5-5
---
 Config.in.legacy                   |  7 +++++++
 DEVELOPERS                         |  1 -
 package/Config.in                  |  1 -
 package/lbreakout2/Config.in       | 30 ---------------------------
 package/lbreakout2/lbreakout2.hash |  6 ------
 package/lbreakout2/lbreakout2.mk   | 33 ------------------------------
 6 files changed, 7 insertions(+), 71 deletions(-)
 delete mode 100644 package/lbreakout2/Config.in
 delete mode 100644 package/lbreakout2/lbreakout2.hash
 delete mode 100644 package/lbreakout2/lbreakout2.mk
Config.in.legacy +7 -0
index 8efc476888..a28b4d3764 100644
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2026.11"
 
+config BR2_PACKAGE_LBREAKOUT2
+	bool "lbreakout2 has been removed"
+	select BR2_LEGACY
+	help
+	  lbreakout2 is no longer maintained upstream (last release in
+	  2015) and has been removed. Its successor is LBreakoutHD.
+
 config BR2_PACKAGE_PRBOOM
 	bool "prboom has been removed"
 	select BR2_LEGACY
DEVELOPERS +0 -1
index 1d2960f9b3..c32aad4721 100644
@@ -1829,7 +1829,6 @@ F:	board/armadeus/
 F:	configs/armadeus*
 F:	package/abootimg/
 F:	package/gpm/
-F:	package/lbreakout2/
 F:	package/libcddb/
 F:	package/libmodbus/
 F:	package/ltris/
package/Config.in +0 -1
index 49659b007e..cef01ec29e 100644
@@ -287,7 +287,6 @@ menu "Games"
 	source "package/flare-engine/Config.in"
 	source "package/flare-game/Config.in"
 	source "package/gnuchess/Config.in"
-	source "package/lbreakout2/Config.in"
 	source "package/ltris/Config.in"
 	source "package/lugaru/Config.in"
 	source "package/minetest/Config.in"
package/lbreakout2/Config.in deleted +0 -30
deleted file mode 100644
index 3397df97b9..0000000000
@@ -1,30 +0,0 @@
-config BR2_PACKAGE_LBREAKOUT2
-	bool "LBreakout2"
-	select BR2_PACKAGE_SDL
-	select BR2_PACKAGE_LIBPNG
-	help
-	  LBreakout2 is the successor to LBreakout, a breakout-style
-	  arcade game in the manner of Arkanoid. Requires SDL, libpng,
-	  and optionally SDL_mixer/SDL_net.
-	  A display with minimum 640x480 resolution, a keyboard and a
-	  mouse are recommended.
-
-	  http://lgames.sourceforge.net/index.php?project=LBreakout2
-
-if BR2_PACKAGE_LBREAKOUT2
-
-config BR2_PACKAGE_LBREAKOUT2_AUDIO
-	bool "audio support"
-	default y
-	select BR2_PACKAGE_SDL_MIXER
-	help
-	  Activates audio support in LBreakout2. Will add SDL_mixer.
-
-config BR2_PACKAGE_LBREAKOUT2_NET
-	bool "network support"
-	default y
-	select BR2_PACKAGE_SDL_NET
-	help
-	  Activates network support LBreakout2. Will add SDL_net.
-
-endif
package/lbreakout2/lbreakout2.hash deleted +0 -6
deleted file mode 100644
index 440ffed3d3..0000000000
@@ -1,6 +0,0 @@
-# From https://sourceforge.net/projects/lgames/files/lbreakout2/2.6/
-md5  1a9238b83f9f13f09b7a4d53e00b4e84  lbreakout2-2.6.5.tar.gz
-sha1  d92326499165fd368be04378d633e13d42b4d2d7  lbreakout2-2.6.5.tar.gz
-# Locally computed:
-sha256  9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f  lbreakout2-2.6.5.tar.gz
-sha256  67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34  COPYING
package/lbreakout2/lbreakout2.mk deleted +0 -33
deleted file mode 100644
index 49db8d5466..0000000000
@@ -1,33 +0,0 @@
-################################################################################
-#
-# lbreakout2
-#
-################################################################################
-
-LBREAKOUT2_VERSION_MAJOR = 2.6
-LBREAKOUT2_VERSION = $(LBREAKOUT2_VERSION_MAJOR).5
-LBREAKOUT2_SITE = https://downloads.sourceforge.net/lgames/lbreakout2/$(LBREAKOUT2_VERSION_MAJOR)
-LBREAKOUT2_LICENSE = GPL-2.0+
-LBREAKOUT2_LICENSE_FILES = COPYING
-
-LBREAKOUT2_DEPENDENCIES = sdl libpng $(TARGET_NLS_DEPENDENCIES)
-
-LBREAKOUT2_CONF_ENV = \
-	SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
-	LIBS=$(TARGET_NLS_LIBS)
-
-ifeq ($(BR2_PACKAGE_LBREAKOUT2_AUDIO),y)
-LBREAKOUT2_DEPENDENCIES += sdl_mixer
-LBREAKOUT2_CONF_OPTS += --enable-audio=yes
-else
-LBREAKOUT2_CONF_OPTS += --disable-audio
-endif
-
-ifeq ($(BR2_PACKAGE_LBREAKOUT2_NET),y)
-LBREAKOUT2_DEPENDENCIES += sdl_net
-LBREAKOUT2_CONF_OPTS += --enable-network=yes
-else
-LBREAKOUT2_CONF_OPTS += --disable-network
-endif
-
-$(eval $(autotools-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot