[arch-commits] Commit in bison/repos (10 files)
Allan McRae
allan at archlinux.org
Fri Nov 25 03:24:12 UTC 2011
Date: Thursday, November 24, 2011 @ 22:24:12
Author: allan
Revision: 143498
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
bison/repos/testing-i686/
bison/repos/testing-i686/ChangeLog
(from rev 143497, bison/trunk/ChangeLog)
bison/repos/testing-i686/PKGBUILD
(from rev 143497, bison/trunk/PKGBUILD)
bison/repos/testing-i686/bison-2.5-undefined-reference.patch
(from rev 143497, bison/trunk/bison-2.5-undefined-reference.patch)
bison/repos/testing-i686/bison.install
(from rev 143497, bison/trunk/bison.install)
bison/repos/testing-x86_64/
bison/repos/testing-x86_64/ChangeLog
(from rev 143497, bison/trunk/ChangeLog)
bison/repos/testing-x86_64/PKGBUILD
(from rev 143497, bison/trunk/PKGBUILD)
bison/repos/testing-x86_64/bison-2.5-undefined-reference.patch
(from rev 143497, bison/trunk/bison-2.5-undefined-reference.patch)
bison/repos/testing-x86_64/bison.install
(from rev 143497, bison/trunk/bison.install)
----------------------------------------------------+
testing-i686/ChangeLog | 19 +++++++++
testing-i686/PKGBUILD | 39 +++++++++++++++++++
testing-i686/bison-2.5-undefined-reference.patch | 11 +++++
testing-i686/bison.install | 16 +++++++
testing-x86_64/ChangeLog | 19 +++++++++
testing-x86_64/PKGBUILD | 39 +++++++++++++++++++
testing-x86_64/bison-2.5-undefined-reference.patch | 11 +++++
testing-x86_64/bison.install | 16 +++++++
8 files changed, 170 insertions(+)
Copied: bison/repos/testing-i686/ChangeLog (from rev 143497, bison/trunk/ChangeLog)
===================================================================
--- testing-i686/ChangeLog (rev 0)
+++ testing-i686/ChangeLog 2011-11-25 03:24:12 UTC (rev 143498)
@@ -0,0 +1,19 @@
+2010-03-25 Eric Belanger <eric at archlinux.org>
+
+ * bison 2.4.2-1
+ * Upstream update
+ * Removed texinfo dependency in install scriptlet
+ * Updated license
+ * Added sh depends
+
+2008-12-11 Eric Belanger <eric at archlinux.org>
+
+ * bison 2.4.1-1
+ * Upstream update
+
+2008-11-08 Eric Belanger <eric at archlinux.org>
+
+ * bison 2.4-1
+ * Upstream update
+ * Added info file support
+ * Added ChangeLog
Copied: bison/repos/testing-i686/PKGBUILD (from rev 143497, bison/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2011-11-25 03:24:12 UTC (rev 143498)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+
+pkgname=bison
+pkgver=2.5
+pkgrel=3
+pkgdesc="The GNU general-purpose parser generator"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://www.gnu.org/software/bison/bison.html"
+depends=('glibc' 'm4' 'sh')
+groups=('base-devel')
+install=bison.install
+source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.bz2{,.sig}
+ bison-2.5-undefined-reference.patch)
+md5sums=('9dba20116b13fc61a0846b0058fbe004'
+ '610b73db67bd4760209458efe7554ca3'
+ '2015c5421b2ad99032154f27bf5c4772')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # workaround for FS#26794
+ patch -Np1 -i $srcdir/bison-2.5-undefined-reference.patch
+
+ ./configure --prefix=/usr --datadir=/usr/share
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Copied: bison/repos/testing-i686/bison-2.5-undefined-reference.patch (from rev 143497, bison/trunk/bison-2.5-undefined-reference.patch)
===================================================================
--- testing-i686/bison-2.5-undefined-reference.patch (rev 0)
+++ testing-i686/bison-2.5-undefined-reference.patch 2011-11-25 03:24:12 UTC (rev 143498)
@@ -0,0 +1,11 @@
+diff -Naur bison-2.5-orig/lib/yyerror.c bison-2.5/lib/yyerror.c
+--- bison-2.5-orig/lib/yyerror.c 2011-01-04 00:50:42.000000000 +1000
++++ bison-2.5/lib/yyerror.c 2011-11-09 22:01:48.725507079 +1000
+@@ -18,6 +18,7 @@
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+ #include <stdio.h>
++#undef fprintf
+
+ int yyerror (char const *);
+
Copied: bison/repos/testing-i686/bison.install (from rev 143497, bison/trunk/bison.install)
===================================================================
--- testing-i686/bison.install (rev 0)
+++ testing-i686/bison.install 2011-11-25 03:24:12 UTC (rev 143498)
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=bison.info.gz
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
Copied: bison/repos/testing-x86_64/ChangeLog (from rev 143497, bison/trunk/ChangeLog)
===================================================================
--- testing-x86_64/ChangeLog (rev 0)
+++ testing-x86_64/ChangeLog 2011-11-25 03:24:12 UTC (rev 143498)
@@ -0,0 +1,19 @@
+2010-03-25 Eric Belanger <eric at archlinux.org>
+
+ * bison 2.4.2-1
+ * Upstream update
+ * Removed texinfo dependency in install scriptlet
+ * Updated license
+ * Added sh depends
+
+2008-12-11 Eric Belanger <eric at archlinux.org>
+
+ * bison 2.4.1-1
+ * Upstream update
+
+2008-11-08 Eric Belanger <eric at archlinux.org>
+
+ * bison 2.4-1
+ * Upstream update
+ * Added info file support
+ * Added ChangeLog
Copied: bison/repos/testing-x86_64/PKGBUILD (from rev 143497, bison/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-11-25 03:24:12 UTC (rev 143498)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+
+pkgname=bison
+pkgver=2.5
+pkgrel=3
+pkgdesc="The GNU general-purpose parser generator"
+arch=('i686' 'x86_64')
+license=('GPL3')
+url="http://www.gnu.org/software/bison/bison.html"
+depends=('glibc' 'm4' 'sh')
+groups=('base-devel')
+install=bison.install
+source=(ftp://ftp.gnu.org/gnu/bison/${pkgname}-${pkgver}.tar.bz2{,.sig}
+ bison-2.5-undefined-reference.patch)
+md5sums=('9dba20116b13fc61a0846b0058fbe004'
+ '610b73db67bd4760209458efe7554ca3'
+ '2015c5421b2ad99032154f27bf5c4772')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # workaround for FS#26794
+ patch -Np1 -i $srcdir/bison-2.5-undefined-reference.patch
+
+ ./configure --prefix=/usr --datadir=/usr/share
+ make
+}
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Copied: bison/repos/testing-x86_64/bison-2.5-undefined-reference.patch (from rev 143497, bison/trunk/bison-2.5-undefined-reference.patch)
===================================================================
--- testing-x86_64/bison-2.5-undefined-reference.patch (rev 0)
+++ testing-x86_64/bison-2.5-undefined-reference.patch 2011-11-25 03:24:12 UTC (rev 143498)
@@ -0,0 +1,11 @@
+diff -Naur bison-2.5-orig/lib/yyerror.c bison-2.5/lib/yyerror.c
+--- bison-2.5-orig/lib/yyerror.c 2011-01-04 00:50:42.000000000 +1000
++++ bison-2.5/lib/yyerror.c 2011-11-09 22:01:48.725507079 +1000
+@@ -18,6 +18,7 @@
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+ #include <stdio.h>
++#undef fprintf
+
+ int yyerror (char const *);
+
Copied: bison/repos/testing-x86_64/bison.install (from rev 143497, bison/trunk/bison.install)
===================================================================
--- testing-x86_64/bison.install (rev 0)
+++ testing-x86_64/bison.install 2011-11-25 03:24:12 UTC (rev 143498)
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=bison.info.gz
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+}
More information about the arch-commits
mailing list