]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools: bc: update to 1.08.2 23911/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 22 Jun 2026 08:35:06 +0000 (08:35 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 22 Jun 2026 11:01:20 +0000 (13:01 +0200)
Changelog included in source tar.

Removed patches:
- 000-getopt-prototype.patch
- 001-getopt-declaration.patch

Both patch changes are included upstream in this version.

Link: https://github.com/openwrt/openwrt/pull/23911
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
tools/bc/Makefile
tools/bc/patches/000-getopt-prototype.patch [deleted file]
tools/bc/patches/001-getopt-declaration.patch [deleted file]

index e86a68c05b72f83b3d8fa89071f71c914e1203fa..1523ad1f65b1285e1b33639c0a581122d1927396 100644 (file)
@@ -7,11 +7,11 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=bc
-PKG_VERSION:=1.08.1
+PKG_VERSION:=1.08.2
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/bc
-PKG_HASH:=515430115b3334c636317503460a0950dff79940aa3259ce2c1aa67c2881d023
+PKG_HASH:=ae470fec429775653e042015edc928d07c8c3b2fc59765172a330d3d87785f86
 
 PKG_CPE_ID:=cpe:/a:gnu:bc
 
diff --git a/tools/bc/patches/000-getopt-prototype.patch b/tools/bc/patches/000-getopt-prototype.patch
deleted file mode 100644 (file)
index ca62469..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/h/getopt.h
-+++ b/h/getopt.h
-@@ -135,15 +135,7 @@ struct option
-    arguments to the option '\0'.  This behavior is specific to the GNU
-    `getopt'.  */
--#ifdef __GNU_LIBRARY__
--/* Many other libraries have conflicting prototypes for getopt, with
--   differences in the consts, in stdlib.h.  To avoid compilation
--   errors, only prototype getopt for the GNU C library.  */
- extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);
--#else /* not __GNU_LIBRARY__ */
--extern int getopt ();
--#endif /* __GNU_LIBRARY__ */
--
- #ifndef __need_getopt
- extern int getopt_long (int ___argc, char *const *___argv,
-                       const char *__shortopts,
diff --git a/tools/bc/patches/001-getopt-declaration.patch b/tools/bc/patches/001-getopt-declaration.patch
deleted file mode 100644 (file)
index c64be8d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/lib/getopt.c
-+++ b/lib/getopt.c
-@@ -197,7 +197,7 @@ static char *posixly_correct;
-    whose names are inconsistent.  */
- #ifndef getenv
--extern char *getenv ();
-+extern char *getenv (const char *);
- #endif
- #endif /* not __GNU_LIBRARY__ */