From 98fe2238af0eb4260504680534ae46887caa07cc Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 15 Oct 2025 21:05:19 +0200 Subject: [PATCH] package/lesstif: remove package lesstif received its last release in 2009, the homepage was last updated in 2013: https://lesstif.sourceforge.net The last update on the project trackers was in 2015: https://sourceforge.net/projects/lesstif/support Debian removed lesstif in 2013: https://wiki.debian.org/lesstif2motifTransition The package is causing build errors since the default version of gcc was bumped to 14.x with buildroot commit 1e1fafa1f0f5069418e92f702c2a66db6408a634: CutPaste.c:1031:25: error: assignment to 'long int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] Instead of fixing an unmaintained package we remove it from buildroot, no other package depends on it. Fixes: https://autobuild.buildroot.net/results/798/798ccab7b69754fb9b73b84e31d91bece8e7a2b4/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle --- Config.in.legacy | 6 ++++++ package/Config.in | 1 - package/lesstif/Config.in | 11 ---------- package/lesstif/lesstif.hash | 3 --- package/lesstif/lesstif.mk | 42 ------------------------------------ 5 files changed, 6 insertions(+), 57 deletions(-) delete mode 100644 package/lesstif/Config.in delete mode 100644 package/lesstif/lesstif.hash delete mode 100644 package/lesstif/lesstif.mk diff --git a/Config.in.legacy b/Config.in.legacy index f3558c0f3a..53c35fae49 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,12 @@ endif comment "Legacy options removed in 2025.11" +config BR2_PACKAGE_LESSTIF + bool "lesstif has been removed" + select BR2_LEGACY + help + lesstif is unmaintained and has been removed + config BR2_KERNEL_HEADERS_6_16 bool "kernel headers version 6.16.x are no longer supported" select BR2_LEGACY diff --git a/package/Config.in b/package/Config.in index e9906b066e..1ae92409c4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1740,7 +1740,6 @@ menu "Graphics" source "package/lcms2/Config.in" source "package/lensfun/Config.in" source "package/leptonica/Config.in" - source "package/lesstif/Config.in" source "package/libart/Config.in" source "package/libavif/Config.in" source "package/libdecor/Config.in" diff --git a/package/lesstif/Config.in b/package/lesstif/Config.in deleted file mode 100644 index 654ee6f1a0..0000000000 --- a/package/lesstif/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_LESSTIF - bool "lesstif" - depends on BR2_USE_MMU # fork() - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXT - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_FREETYPE - help - lesstif is the Hungry Programmers' version of OSF/Motif - - http://lesstif.sourceforge.net/ diff --git a/package/lesstif/lesstif.hash b/package/lesstif/lesstif.hash deleted file mode 100644 index 31a394dbbc..0000000000 --- a/package/lesstif/lesstif.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 eb4aa38858c29a4a3bcf605cfe7d91ca41f4522d78d770f69721e6e3a4ecf7e3 lesstif-0.95.2.tar.bz2 -sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 COPYING.LIB diff --git a/package/lesstif/lesstif.mk b/package/lesstif/lesstif.mk deleted file mode 100644 index 378c594e3b..0000000000 --- a/package/lesstif/lesstif.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# lesstif -# -################################################################################ - -LESSTIF_VERSION = 0.95.2 -LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2 -LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION) -LESSTIF_INSTALL_STAGING = YES -LESSTIF_DEPENDENCIES = \ - xlib_libXt \ - xlib_libXext \ - freetype -LESSTIF_LICENSE = LGPL-2.0+ -LESSTIF_LICENSE_FILES = COPYING.LIB -LESSTIF_CONF_OPTS = \ - --with-gnu-ld \ - --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config \ - --enable-production=yes \ - --enable-build-tests=no \ - --no-recursion - -# Reduces the buggy makefile to the smallest possible (and working) thing -define LESSTIF_NOMAN2HTML - echo "all:" > $(@D)/doc/Makefile - echo "" >> $(@D)/doc/Makefile - echo "install:" >> $(@D)/doc/Makefile - echo "" >> $(@D)/doc/Makefile - echo "clean:" >> $(@D)/doc/Makefile -endef - -# Prevents to copy ac_find_motif.m4 on target, it would else -# be created at $(TARGET_DIR)/$(HOST_DIR)/share/aclocal/ac_find_motif.m4 -define LESSTIF_FIXACLOCAL - sed -i -e "/install-data-am: install-aclocalDATA/d" $(@D)/scripts/autoconf/Makefile -endef - -LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_NOMAN2HTML -LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_FIXACLOCAL - -$(eval $(autotools-package))