[arch-commits] Commit in bc/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 7 19:52:22 UTC 2017
Date: Friday, April 7, 2017 @ 19:52:21
Author: arojas
Revision: 292272
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
bc/repos/testing-i686/PKGBUILD
(from rev 292271, bc/trunk/PKGBUILD)
bc/repos/testing-i686/bc-fix-hang.patch
(from rev 292271, bc/trunk/bc-fix-hang.patch)
bc/repos/testing-x86_64/PKGBUILD
(from rev 292271, bc/trunk/PKGBUILD)
bc/repos/testing-x86_64/bc-fix-hang.patch
(from rev 292271, bc/trunk/bc-fix-hang.patch)
Deleted:
bc/repos/testing-i686/PKGBUILD
bc/repos/testing-x86_64/PKGBUILD
----------------------------------+
/PKGBUILD | 84 +++++++++++++++++++++++++++++++++++++
testing-i686/PKGBUILD | 35 ---------------
testing-i686/bc-fix-hang.patch | 11 ++++
testing-x86_64/PKGBUILD | 35 ---------------
testing-x86_64/bc-fix-hang.patch | 11 ++++
5 files changed, 106 insertions(+), 70 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2017-04-07 19:51:36 UTC (rev 292271)
+++ testing-i686/PKGBUILD 2017-04-07 19:52:21 UTC (rev 292272)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
-
-pkgname=bc
-pkgver=1.07
-pkgrel=1
-pkgdesc="An arbitrary precision calculator language"
-arch=('i686' 'x86_64')
-url="https://www.gnu.org/software/bc/"
-license=('GPL')
-depends=('readline')
-makedepends=('ed')
-replaces=('bc-readline')
-conflicts=('bc-readline')
-source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
-sha256sums=('55cf1fc33a728d7c3d386cc7b0cb556eb5bacf8e0cb5a3fcca7f109fc61205ad'
- 'SKIP')
-validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson <philnelson at acm.org>
-
-build() {
- cd "${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --infodir=/usr/share/info --with-readline
- make -j1
-}
-
-check () {
- cd "${pkgname}-${pkgver}"
- echo "quit" | ./bc/bc -l Test/checklib.b
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: bc/repos/testing-i686/PKGBUILD (from rev 292271, bc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-04-07 19:52:21 UTC (rev 292272)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: dorphell <dorphell at archlinux.org>
+
+pkgname=bc
+pkgver=1.07
+pkgrel=2
+pkgdesc="An arbitrary precision calculator language"
+arch=('i686' 'x86_64')
+url="https://www.gnu.org/software/bc/"
+license=('GPL')
+depends=('readline')
+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')
+validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson <philnelson at acm.org>
+
+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 \
+ --infodir=/usr/share/info --with-readline
+ make -j1
+}
+
+check () {
+ cd "${pkgname}-${pkgver}"
+ echo "quit" | ./bc/bc -l Test/checklib.b
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: bc/repos/testing-i686/bc-fix-hang.patch (from rev 292271, bc/trunk/bc-fix-hang.patch)
===================================================================
--- testing-i686/bc-fix-hang.patch (rev 0)
+++ testing-i686/bc-fix-hang.patch 2017-04-07 19:52:21 UTC (rev 292272)
@@ -0,0 +1,11 @@
+--- bc-1.07/bc/execute.c.orig 2017-04-07 19:34:18.788328157 +0000
++++ bc-1.07/bc/execute.c 2017-04-07 19:35:24.305268419 +0000
+@@ -595,7 +595,7 @@
+ if (in_ch == '.' || in_ch == '+' || in_ch == '-')
+ return (in_ch);
+ if (in_ch <= ' ')
+- return (' ');
++ return (':');
+
+ return (':');
+ }
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2017-04-07 19:51:36 UTC (rev 292271)
+++ testing-x86_64/PKGBUILD 2017-04-07 19:52:21 UTC (rev 292272)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
-
-pkgname=bc
-pkgver=1.07
-pkgrel=1
-pkgdesc="An arbitrary precision calculator language"
-arch=('i686' 'x86_64')
-url="https://www.gnu.org/software/bc/"
-license=('GPL')
-depends=('readline')
-makedepends=('ed')
-replaces=('bc-readline')
-conflicts=('bc-readline')
-source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
-sha256sums=('55cf1fc33a728d7c3d386cc7b0cb556eb5bacf8e0cb5a3fcca7f109fc61205ad'
- 'SKIP')
-validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson <philnelson at acm.org>
-
-build() {
- cd "${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --infodir=/usr/share/info --with-readline
- make -j1
-}
-
-check () {
- cd "${pkgname}-${pkgver}"
- echo "quit" | ./bc/bc -l Test/checklib.b
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: bc/repos/testing-x86_64/PKGBUILD (from rev 292271, bc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-04-07 19:52:21 UTC (rev 292272)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: dorphell <dorphell at archlinux.org>
+
+pkgname=bc
+pkgver=1.07
+pkgrel=2
+pkgdesc="An arbitrary precision calculator language"
+arch=('i686' 'x86_64')
+url="https://www.gnu.org/software/bc/"
+license=('GPL')
+depends=('readline')
+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')
+validpgpkeys=('00E426232F384BF6D32D8B1881C24FF12FB7B14B') # Phil Nelson <philnelson at acm.org>
+
+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 \
+ --infodir=/usr/share/info --with-readline
+ make -j1
+}
+
+check () {
+ cd "${pkgname}-${pkgver}"
+ echo "quit" | ./bc/bc -l Test/checklib.b
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: bc/repos/testing-x86_64/bc-fix-hang.patch (from rev 292271, bc/trunk/bc-fix-hang.patch)
===================================================================
--- testing-x86_64/bc-fix-hang.patch (rev 0)
+++ testing-x86_64/bc-fix-hang.patch 2017-04-07 19:52:21 UTC (rev 292272)
@@ -0,0 +1,11 @@
+--- bc-1.07/bc/execute.c.orig 2017-04-07 19:34:18.788328157 +0000
++++ bc-1.07/bc/execute.c 2017-04-07 19:35:24.305268419 +0000
+@@ -595,7 +595,7 @@
+ if (in_ch == '.' || in_ch == '+' || in_ch == '-')
+ return (in_ch);
+ if (in_ch <= ' ')
+- return (' ');
++ return (':');
+
+ return (':');
+ }
More information about the arch-commits
mailing list