[arch-commits] Commit in bc/trunk (PKGBUILD bc-fix-hang.patch)
Date: Saturday, April 15, 2017 @ 20:45:48 Author: arojas Revision: 292940 Update to 1.07.1 Modified: bc/trunk/PKGBUILD Deleted: bc/trunk/bc-fix-hang.patch ---+ PKGBUILD | 17 + bc-fix-hang.patch | 11 --- 2 files changed, 5 insertions(+), 23 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-04-15 20:44:00 UTC (rev 292939) +++ PKGBUILD2017-04-15 20:45:48 UTC (rev 292940) @@ -2,8 +2,8 @@ # Maintainer: dorphellpkgname=bc -pkgver=1.07 -pkgrel=2 +pkgver=1.07.1 +pkgrel=1 pkgdesc="An arbitrary precision calculator language" arch=('i686' 'x86_64') url="https://www.gnu.org/software/bc/; @@ -12,18 +12,11 @@ makedepends=('ed') replaces=('bc-readline') conflicts=('bc-readline') -source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig} bc-fix-hang.patch) -sha256sums=('55cf1fc33a728d7c3d386cc7b0cb556eb5bacf8e0cb5a3fcca7f109fc61205ad' -'SKIP' -'64719ac2d2a1622c241f5647973122d3ca742a28649875cd29ee957bf383dc38') +source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}) +sha256sums=('62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a' +'SKIP') validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson -prepare() { - cd $pkgname-$pkgver - # fix hang when building kernel - patch -p1 -i ../bc-fix-hang.patch -} - build() { cd "${pkgname}-${pkgver}" ./configure --prefix=/usr --mandir=/usr/share/man \ Deleted: bc-fix-hang.patch === --- bc-fix-hang.patch 2017-04-15 20:44:00 UTC (rev 292939) +++ bc-fix-hang.patch 2017-04-15 20:45:48 UTC (rev 292940) @@ -1,11 +0,0 @@ bc-1.07/bc/execute.c.orig 2017-04-07 19:34:18.788328157 + -+++ bc-1.07/bc/execute.c 2017-04-07 19:35:24.305268419 + -@@ -595,7 +595,7 @@ - if (in_ch == '.' || in_ch == '+' || in_ch == '-') - return (in_ch); - if (in_ch <= ' ') --return (' '); -+return (':'); - - return (':'); - }
[arch-commits] Commit in bc/trunk (PKGBUILD bc-fix-hang.patch)
Date: Friday, April 7, 2017 @ 19:51:36 Author: arojas Revision: 292271 Fix hang when building kernel (FS#53546) Added: bc/trunk/bc-fix-hang.patch Modified: bc/trunk/PKGBUILD ---+ PKGBUILD | 13 ++--- bc-fix-hang.patch | 11 +++ 2 files changed, 21 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-04-07 18:35:27 UTC (rev 292270) +++ PKGBUILD2017-04-07 19:51:36 UTC (rev 292271) @@ -3,7 +3,7 @@ pkgname=bc pkgver=1.07 -pkgrel=1 +pkgrel=2 pkgdesc="An arbitrary precision calculator language" arch=('i686' 'x86_64') url="https://www.gnu.org/software/bc/; @@ -12,11 +12,18 @@ makedepends=('ed') replaces=('bc-readline') conflicts=('bc-readline') -source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig}) +source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig} bc-fix-hang.patch) sha256sums=('55cf1fc33a728d7c3d386cc7b0cb556eb5bacf8e0cb5a3fcca7f109fc61205ad' -'SKIP') +'SKIP' +'64719ac2d2a1622c241f5647973122d3ca742a28649875cd29ee957bf383dc38') validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson+prepare() { + cd $pkgname-$pkgver + # fix hang when building kernel + patch -p1 -i ../bc-fix-hang.patch +} + build() { cd "${pkgname}-${pkgver}" ./configure --prefix=/usr --mandir=/usr/share/man \ Added: bc-fix-hang.patch === --- bc-fix-hang.patch (rev 0) +++ bc-fix-hang.patch 2017-04-07 19:51:36 UTC (rev 292271) @@ -0,0 +1,11 @@ +--- bc-1.07/bc/execute.c.orig 2017-04-07 19:34:18.788328157 + bc-1.07/bc/execute.c 2017-04-07 19:35:24.305268419 + +@@ -595,7 +595,7 @@ + if (in_ch == '.' || in_ch == '+' || in_ch == '-') + return (in_ch); + if (in_ch <= ' ') +-return (' '); ++return (':'); + + return (':'); + }