[arch-commits] Commit in bc/repos (14 files)

Andreas Radke andyrtr at nymeria.archlinux.org
Sun Jan 26 21:41:56 UTC 2014


    Date: Sunday, January 26, 2014 @ 22:41:56
  Author: andyrtr
Revision: 204773

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  bc/repos/extra-i686/PKGBUILD
    (from rev 204772, bc/trunk/PKGBUILD)
  bc/repos/extra-i686/bc-1.06.95-void_uninitialized.patch
    (from rev 204772, bc/trunk/bc-1.06.95-void_uninitialized.patch)
  bc/repos/extra-i686/bc.install
    (from rev 204772, bc/trunk/bc.install)
  bc/repos/extra-x86_64/PKGBUILD
    (from rev 204772, bc/trunk/PKGBUILD)
  bc/repos/extra-x86_64/bc-1.06.95-void_uninitialized.patch
    (from rev 204772, bc/trunk/bc-1.06.95-void_uninitialized.patch)
  bc/repos/extra-x86_64/bc.install
    (from rev 204772, bc/trunk/bc.install)
Deleted:
  bc/repos/extra-i686/PKGBUILD
  bc/repos/extra-i686/bc-1.06-info-dir-entry.patch
  bc/repos/extra-i686/bc.install
  bc/repos/extra-i686/build-fix.patch
  bc/repos/extra-x86_64/PKGBUILD
  bc/repos/extra-x86_64/bc-1.06-info-dir-entry.patch
  bc/repos/extra-x86_64/bc.install
  bc/repos/extra-x86_64/build-fix.patch

--------------------------------------------------+
 /PKGBUILD                                        |   86 +++++++++++++++++++++
 /bc.install                                      |   40 +++++++++
 extra-i686/PKGBUILD                              |   38 ---------
 extra-i686/bc-1.06-info-dir-entry.patch          |   11 --
 extra-i686/bc-1.06.95-void_uninitialized.patch   |   14 +++
 extra-i686/bc.install                            |   20 ----
 extra-i686/build-fix.patch                       |   13 ---
 extra-x86_64/PKGBUILD                            |   38 ---------
 extra-x86_64/bc-1.06-info-dir-entry.patch        |   11 --
 extra-x86_64/bc-1.06.95-void_uninitialized.patch |   14 +++
 extra-x86_64/bc.install                          |   20 ----
 extra-x86_64/build-fix.patch                     |   13 ---
 12 files changed, 154 insertions(+), 164 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2014-01-26 21:41:40 UTC (rev 204772)
+++ extra-i686/PKGBUILD	2014-01-26 21:41:56 UTC (rev 204773)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
-
-pkgname=bc
-pkgver=1.06
-pkgrel=9
-pkgdesc="An arbitrary precision calculator language"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/bc/"
-license=('GPL')
-depends=('readline')
-replaces=('bc-readline')
-conflicts=('bc-readline')
-install=bc.install
-source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        'build-fix.patch' 'bc-1.06-info-dir-entry.patch')
-md5sums=('d44b5dddebd8a7a7309aea6c36fda117'
-         'fc7ecbd9e55ef04c6d3a495692626116'
-         'b6fe9869830aca0d34badf810fe0cfb3')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  unset CPPFLAGS
-  patch -p1 -i "${srcdir}/build-fix.patch"
-  patch -p1 -i "${srcdir}/bc-1.06-info-dir-entry.patch"  
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --mandir=/usr/share/man \
-    --infodir=/usr/share/info --with-readline
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: bc/repos/extra-i686/PKGBUILD (from rev 204772, bc/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2014-01-26 21:41:56 UTC (rev 204773)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: dorphell <dorphell at archlinux.org>
+
+pkgname=bc
+pkgver=1.06.95
+pkgrel=1
+pkgdesc="An arbitrary precision calculator language"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/bc/"
+license=('GPL')
+depends=('readline')
+replaces=('bc-readline')
+conflicts=('bc-readline')
+install=bc.install
+source=(ftp://alpha.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}
+        bc-1.06.95-void_uninitialized.patch)
+md5sums=('5126a721b73f97d715bb72c13c889035'
+         'SKIP'
+         'fe85d42dd4151801e9b8c2d2c4d990bf')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  # https://bugs.gentoo.org/show_bug.cgi?id=349339
+  patch -Np0 -i ${srcdir}/bc-1.06.95-void_uninitialized.patch
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --mandir=/usr/share/man \
+    --infodir=/usr/share/info --with-readline
+  make
+}
+
+check () {
+  cd "${pkgname}-${pkgver}"
+  echo "quit" | ./bc/bc -l Test/checklib.b # 10 failures
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Deleted: extra-i686/bc-1.06-info-dir-entry.patch
===================================================================
--- extra-i686/bc-1.06-info-dir-entry.patch	2014-01-26 21:41:40 UTC (rev 204772)
+++ extra-i686/bc-1.06-info-dir-entry.patch	2014-01-26 21:41:56 UTC (rev 204773)
@@ -1,11 +0,0 @@
---- bc-1.06/doc/bc.info.info-dir-entry	2000-10-03 20:36:31.000000000 +0200
-+++ bc-1.06/doc/bc.info	2003-01-06 14:07:40.000000000 +0100
-@@ -1,5 +1,8 @@
- This is bc.info, produced by makeinfo version 4.0 from bc.texi.
- 
-+START-INFO-DIR-ENTRY
-+* bc: (bc).                   Arbritrary precision calculator language.
-+END-INFO-DIR-ENTRY
- 
- File: bc.info,  Node: Top,  Next: Introduction,  Prev: (dir),  Up: (dir)
- 

Copied: bc/repos/extra-i686/bc-1.06.95-void_uninitialized.patch (from rev 204772, bc/trunk/bc-1.06.95-void_uninitialized.patch)
===================================================================
--- extra-i686/bc-1.06.95-void_uninitialized.patch	                        (rev 0)
+++ extra-i686/bc-1.06.95-void_uninitialized.patch	2014-01-26 21:41:56 UTC (rev 204773)
@@ -0,0 +1,14 @@
+http://www.pixelbeat.org/programming/oss_bug_flow.html
+https://bugs.gentoo.org/349339
+
+--- bc/storage.c
++++ bc/storage.c
+@@ -99,6 +99,7 @@
+     {
+       f = &functions[indx];
+       f->f_defined = FALSE;
++      f->f_void = FALSE;
+       f->f_body = (char *) bc_malloc (BC_START_SIZE);
+       f->f_body_size = BC_START_SIZE;
+       f->f_code_size = 0;
+

Deleted: extra-i686/bc.install
===================================================================
--- extra-i686/bc.install	2014-01-26 21:41:40 UTC (rev 204772)
+++ extra-i686/bc.install	2014-01-26 21:41:56 UTC (rev 204773)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(bc.info.gz dc.info.gz)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
-  done
-}

Copied: bc/repos/extra-i686/bc.install (from rev 204772, bc/trunk/bc.install)
===================================================================
--- extra-i686/bc.install	                        (rev 0)
+++ extra-i686/bc.install	2014-01-26 21:41:56 UTC (rev 204773)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(bc.info.gz dc.info.gz)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}

Deleted: extra-i686/build-fix.patch
===================================================================
--- extra-i686/build-fix.patch	2014-01-26 21:41:40 UTC (rev 204772)
+++ extra-i686/build-fix.patch	2014-01-26 21:41:56 UTC (rev 204773)
@@ -1,13 +0,0 @@
-diff -wbBur bc-1.06/bc/scan.l bc-1.06.my/bc/scan.l
---- bc-1.06/bc/scan.l   2000-09-13 22:25:47 +0400
-+++ bc-1.06.my/bc/scan.l    2006-12-25 12:39:34 +0300
-@@ -143,7 +143,9 @@
-
- /* Definitions for readline access. */
- extern FILE *rl_instream;
-+#if 0
- _PROTOTYPE(char *readline, (char *));
-+#endif
-
- /* 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

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2014-01-26 21:41:40 UTC (rev 204772)
+++ extra-x86_64/PKGBUILD	2014-01-26 21:41:56 UTC (rev 204773)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
-
-pkgname=bc
-pkgver=1.06
-pkgrel=9
-pkgdesc="An arbitrary precision calculator language"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/bc/"
-license=('GPL')
-depends=('readline')
-replaces=('bc-readline')
-conflicts=('bc-readline')
-install=bc.install
-source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        'build-fix.patch' 'bc-1.06-info-dir-entry.patch')
-md5sums=('d44b5dddebd8a7a7309aea6c36fda117'
-         'fc7ecbd9e55ef04c6d3a495692626116'
-         'b6fe9869830aca0d34badf810fe0cfb3')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  unset CPPFLAGS
-  patch -p1 -i "${srcdir}/build-fix.patch"
-  patch -p1 -i "${srcdir}/bc-1.06-info-dir-entry.patch"  
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --mandir=/usr/share/man \
-    --infodir=/usr/share/info --with-readline
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: bc/repos/extra-x86_64/PKGBUILD (from rev 204772, bc/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2014-01-26 21:41:56 UTC (rev 204773)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: dorphell <dorphell at archlinux.org>
+
+pkgname=bc
+pkgver=1.06.95
+pkgrel=1
+pkgdesc="An arbitrary precision calculator language"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/bc/"
+license=('GPL')
+depends=('readline')
+replaces=('bc-readline')
+conflicts=('bc-readline')
+install=bc.install
+source=(ftp://alpha.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig}
+        bc-1.06.95-void_uninitialized.patch)
+md5sums=('5126a721b73f97d715bb72c13c889035'
+         'SKIP'
+         'fe85d42dd4151801e9b8c2d2c4d990bf')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+
+  # https://bugs.gentoo.org/show_bug.cgi?id=349339
+  patch -Np0 -i ${srcdir}/bc-1.06.95-void_uninitialized.patch
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --mandir=/usr/share/man \
+    --infodir=/usr/share/info --with-readline
+  make
+}
+
+check () {
+  cd "${pkgname}-${pkgver}"
+  echo "quit" | ./bc/bc -l Test/checklib.b # 10 failures
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Deleted: extra-x86_64/bc-1.06-info-dir-entry.patch
===================================================================
--- extra-x86_64/bc-1.06-info-dir-entry.patch	2014-01-26 21:41:40 UTC (rev 204772)
+++ extra-x86_64/bc-1.06-info-dir-entry.patch	2014-01-26 21:41:56 UTC (rev 204773)
@@ -1,11 +0,0 @@
---- bc-1.06/doc/bc.info.info-dir-entry	2000-10-03 20:36:31.000000000 +0200
-+++ bc-1.06/doc/bc.info	2003-01-06 14:07:40.000000000 +0100
-@@ -1,5 +1,8 @@
- This is bc.info, produced by makeinfo version 4.0 from bc.texi.
- 
-+START-INFO-DIR-ENTRY
-+* bc: (bc).                   Arbritrary precision calculator language.
-+END-INFO-DIR-ENTRY
- 
- File: bc.info,  Node: Top,  Next: Introduction,  Prev: (dir),  Up: (dir)
- 

Copied: bc/repos/extra-x86_64/bc-1.06.95-void_uninitialized.patch (from rev 204772, bc/trunk/bc-1.06.95-void_uninitialized.patch)
===================================================================
--- extra-x86_64/bc-1.06.95-void_uninitialized.patch	                        (rev 0)
+++ extra-x86_64/bc-1.06.95-void_uninitialized.patch	2014-01-26 21:41:56 UTC (rev 204773)
@@ -0,0 +1,14 @@
+http://www.pixelbeat.org/programming/oss_bug_flow.html
+https://bugs.gentoo.org/349339
+
+--- bc/storage.c
++++ bc/storage.c
+@@ -99,6 +99,7 @@
+     {
+       f = &functions[indx];
+       f->f_defined = FALSE;
++      f->f_void = FALSE;
+       f->f_body = (char *) bc_malloc (BC_START_SIZE);
+       f->f_body_size = BC_START_SIZE;
+       f->f_code_size = 0;
+

Deleted: extra-x86_64/bc.install
===================================================================
--- extra-x86_64/bc.install	2014-01-26 21:41:40 UTC (rev 204772)
+++ extra-x86_64/bc.install	2014-01-26 21:41:56 UTC (rev 204773)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(bc.info.gz dc.info.gz)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
-  done
-}

Copied: bc/repos/extra-x86_64/bc.install (from rev 204772, bc/trunk/bc.install)
===================================================================
--- extra-x86_64/bc.install	                        (rev 0)
+++ extra-x86_64/bc.install	2014-01-26 21:41:56 UTC (rev 204773)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(bc.info.gz dc.info.gz)
+
+post_install() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info $infodir/$file $infodir/dir 2> /dev/null
+  done
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  [ -x usr/bin/install-info ] || return 0
+  for file in ${filelist[@]}; do
+    install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+  done
+}

Deleted: extra-x86_64/build-fix.patch
===================================================================
--- extra-x86_64/build-fix.patch	2014-01-26 21:41:40 UTC (rev 204772)
+++ extra-x86_64/build-fix.patch	2014-01-26 21:41:56 UTC (rev 204773)
@@ -1,13 +0,0 @@
-diff -wbBur bc-1.06/bc/scan.l bc-1.06.my/bc/scan.l
---- bc-1.06/bc/scan.l   2000-09-13 22:25:47 +0400
-+++ bc-1.06.my/bc/scan.l    2006-12-25 12:39:34 +0300
-@@ -143,7 +143,9 @@
-
- /* Definitions for readline access. */
- extern FILE *rl_instream;
-+#if 0
- _PROTOTYPE(char *readline, (char *));
-+#endif
-
- /* 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




More information about the arch-commits mailing list