mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
main/bc: upgrade to 1.08.2
https://lists.gnu.org/archive/html/info-gnu/2025-05/msg00006.html
This commit is contained in:
parent
4f1a442fe3
commit
310da603cc
2 changed files with 3 additions and 34 deletions
|
@ -2,7 +2,7 @@
|
||||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
maintainer="Celeste <cielesti@protonmail.com>"
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
pkgname=bc
|
pkgname=bc
|
||||||
pkgver=1.08.1
|
pkgver=1.08.2
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Arbitrary precision numeric processing language (calculator)"
|
pkgdesc="Arbitrary precision numeric processing language (calculator)"
|
||||||
url="https://www.gnu.org/software/bc/bc.html"
|
url="https://www.gnu.org/software/bc/bc.html"
|
||||||
|
@ -16,9 +16,7 @@ makedepends="
|
||||||
texinfo
|
texinfo
|
||||||
"
|
"
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="https://ftp.gnu.org/gnu/bc/bc-$pkgver.tar.gz
|
source="https://ftp.gnu.org/gnu/bc/bc-$pkgver.tar.gz"
|
||||||
getopt-gcc15.patch
|
|
||||||
"
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -42,6 +40,5 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
256c94833ead8029122d3ba6475cf4ff030c208a5bd3e2e9c5c8888467215e0fa9ab34e4226791bbd6e47498c0c61f0dc6399eecb0c8cf6a43453e84911c1847 bc-1.08.1.tar.gz
|
0876a4c5bfc23da79479519c6a8e03ac9f59ae54077eb71ffdcc6ddaccb76c4b7595b088e89e6ad82d833c072eeff5b378178084276584813c00eedace4c6f8c bc-1.08.2.tar.gz
|
||||||
cba46a4066b0ec1975a462fe97ae7021b24bcf3f991fc82dfebd0ebef9dab09c2e0c1ca11a85fa0dc8c3c51962cb591848ba73e975a1ffaf406d160df55223ba getopt-gcc15.patch
|
|
||||||
"
|
"
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
--- a/h/getopt.h
|
|
||||||
+++ b/h/getopt.h
|
|
||||||
@@ -135,14 +135,10 @@
|
|
||||||
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,
|
|
||||||
--- a/lib/getopt.c
|
|
||||||
+++ b/lib/getopt.c
|
|
||||||
@@ -197,7 +197,7 @@
|
|
||||||
whose names are inconsistent. */
|
|
||||||
|
|
||||||
#ifndef getenv
|
|
||||||
-extern char *getenv ();
|
|
||||||
+extern char *getenv (const char *);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* not __GNU_LIBRARY__ */
|
|
Loading…
Add table
Add a link
Reference in a new issue