package/libargtable2: Remove package

The last release dates back to 2012[1], no other package depends on
libargtable2 and the successor package libargtable3 is not backward-
compatible: https://www.argtable.org/

Due to build errors with newer gcc

/home/autobuild/autobuild/instance-15/output-1/host/microblazeel-buildroot-linux-musl/sysroot/usr/include/unistd.h:127:5:
 error: conflicting types for 'getopt'; have 'int(int,  char * const*, const char *)'
  127 | int getopt(int, char * const [], const char *);

we remove the package from buildroot.

Fixes:
https://autobuild.buildroot.net/results/e6c/e6c039cb92fecbd93a91d2d1dab68e803875e62c/

[1] https://sourceforge.net/projects/argtable/files/argtable/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls
2025-11-27 22:02:48 +01:00
committed by Peter Korsgaard
parent cb1f3579a2
commit a8249d55c3
6 changed files with 6 additions and 57 deletions

View File

@@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2025.11"
config BR2_PACKAGE_LIBARGTABLE2
bool "libargtable2 has been removed"
select BR2_LEGACY
help
libargtable2 is unmaintained and has been removed
config BR2_PACKAGE_OLA
bool "ola has been removed"
select BR2_LEGACY

View File

@@ -2205,7 +2205,6 @@ menu "Other"
source "package/jemalloc/Config.in"
source "package/lapack/Config.in"
source "package/libabseil-cpp/Config.in"
source "package/libargtable2/Config.in"
source "package/libatomic_ops/Config.in"
source "package/libavl/Config.in"
source "package/libb64/Config.in"

View File

@@ -1,25 +0,0 @@
From 3fe1ce4d7aa7c4fc16471a9ab023ecf6628c2f11 Mon Sep 17 00:00:00 2001
From: Chris McClelland <prophet3636@gmail.com>
Date: Thu, 12 Nov 2020 14:18:27 +0000
Subject: [PATCH] Apply uint patch
Upstream: https://github.com/makestuff/libargtable2/commit/3fe1ce4d7aa7c4fc16471a9ab023ecf6628c2f11
[thomas: strip to only have the include]
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
---
src/arg_int.c | 2 ++
1 files changed, 2 insertions(+)
diff --git a/src/arg_int.c b/src/arg_int.c
index 29c20e5..c51706a 100644
--- a/src/arg_int.c
+++ b/src/arg_int.c
@@ -24,6 +24,8 @@ USA.
#include "config.h"
#endif
+#include <ctype.h>
+
/* #ifdef HAVE_STDLIB_H */
#include <stdlib.h>
/* #endif */

View File

@@ -1,7 +0,0 @@
config BR2_PACKAGE_LIBARGTABLE2
bool "libargtable2"
help
A greatly simplified and yet quite robust argument parsing
set of library calls.
http://argtable.sourceforge.net/

View File

@@ -1,3 +0,0 @@
# Locally computed:
sha256 8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf argtable2-13.tar.gz
sha256 d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f COPYING

View File

@@ -1,21 +0,0 @@
################################################################################
#
# libargtable2
#
################################################################################
LIBARGTABLE2_MAJOR_VERSION = 2
LIBARGTABLE2_MINOR_VERSION = 13
LIBARGTABLE2_VERSION = $(LIBARGTABLE2_MAJOR_VERSION).$(LIBARGTABLE2_MINOR_VERSION)
LIBARGTABLE2_SOURCE = argtable2-$(LIBARGTABLE2_MINOR_VERSION).tar.gz
LIBARGTABLE2_SITE = http://downloads.sourceforge.net/project/argtable/argtable/argtable-$(LIBARGTABLE2_VERSION)
LIBARGTABLE2_INSTALL_STAGING = YES
LIBARGTABLE2_CONF_OPTS = \
--disable-example \
--disable-kernel-module \
--enable-lib \
--enable-util
LIBARGTABLE2_LICENSE = LGPL-2.0+
LIBARGTABLE2_LICENSE_FILES = COPYING
$(eval $(autotools-package))