bc: update to 1.07.1
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
--- bc-1.06.orig/bc/scan.l 2015-06-11 17:02:07.886738000 +0100
|
||||
+++ bc-1.06/bc/scan.l 2015-06-11 17:02:20.485238000 +0100
|
||||
@@ -143,7 +143,7 @@
|
||||
|
||||
/* Definitions for readline access. */
|
||||
extern FILE *rl_instream;
|
||||
-_PROTOTYPE(char *readline, (char *));
|
||||
+_PROTOTYPE(char *readline, (const char *));
|
||||
|
||||
/* rl_input puts upto MAX characters into BUF with the number put in
|
||||
BUF placed in *RESULT. If the yy input file is the same as
|
||||
13
bc/PKGBUILD
13
bc/PKGBUILD
@@ -1,22 +1,21 @@
|
||||
# Maintainer: Sundaram Ramaswamy <legends2k@yahoo.com>
|
||||
|
||||
pkgname=bc
|
||||
pkgver=1.06
|
||||
pkgrel=3
|
||||
pkgver=1.07.1
|
||||
pkgrel=1
|
||||
pkgdesc="An arbitrary precision calculator language"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://www.gnu.org/software/bc"
|
||||
license=('GPL')
|
||||
depends=('libreadline' 'ncurses')
|
||||
builddepends=('gcc' 'libreadline-devel' 'ncurses-devel')
|
||||
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
||||
0001-Fix-readline-prototype.patch)
|
||||
sha256sums=('4ef6d9f17c3c0d92d8798e35666175ecd3d8efac4009d6457b5c99cea72c0e33'
|
||||
'c8318a28af3571bedf28ddacb267f2e477ad7c4d9bc34425a0f504023a0cbb49')
|
||||
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=('62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a')
|
||||
|
||||
prepare () {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
patch -p1 -i "${srcdir}"/0001-Fix-readline-prototype.patch
|
||||
# patch -p1 -i "${srcdir}"/0001-Fix-readline-prototype.patch
|
||||
return 0
|
||||
}
|
||||
|
||||
build () {
|
||||
|
||||
Reference in New Issue
Block a user