summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-26 18:48:00 +0000
committerMike Frysinger <vapier@gentoo.org>2010-12-26 18:48:00 +0000
commit3c280649615659082c7cb4d054de96f8c51d6f74 (patch)
tree10c21453bb2ededcbaccb756303f16f0f5ecdd88 /sys-devel
parentInitial commit wrt #349603 by Colin Watson. (diff)
downloadgentoo-2-3c280649615659082c7cb4d054de96f8c51d6f74.tar.gz
gentoo-2-3c280649615659082c7cb4d054de96f8c51d6f74.tar.bz2
gentoo-2-3c280649615659082c7cb4d054de96f8c51d6f74.zip
old
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/bc/bc-1.06-r6.ebuild62
-rw-r--r--sys-devel/bc/files/bc-1.06-info-fix.diff101
-rw-r--r--sys-devel/bc/files/bc-1.06-longopts.patch28
-rw-r--r--sys-devel/bc/files/bc-1.06-readline42.diff12
-rw-r--r--sys-devel/bc/files/bc-1.06-static-save.patch16
5 files changed, 0 insertions, 219 deletions
diff --git a/sys-devel/bc/bc-1.06-r6.ebuild b/sys-devel/bc/bc-1.06-r6.ebuild
deleted file mode 100644
index 9d11f86f0d76..000000000000
--- a/sys-devel/bc/bc-1.06-r6.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/bc-1.06-r6.ebuild,v 1.9 2006/12/31 15:03:31 vapier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="Handy console-based calculator utility"
-HOMEPAGE="http://www.gnu.org/software/bc/bc.html"
-SRC_URI="mirror://gnu/bc/${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="readline static"
-
-RDEPEND="readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )"
-DEPEND="${RDEPEND}
- sys-devel/flex"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- epatch ${FILESDIR}/bc-1.06-info-fix.diff
- epatch ${FILESDIR}/bc-1.06-readline42.diff
- epatch ${FILESDIR}/bc-1.06-longopts.patch #51525
- epatch ${FILESDIR}/bc-1.06-static-save.patch
- sed -i -e '/^AR =/s:.*::' lib/Makefile.in
-
- # Command line arguments for flex changed from the old
- # 2.5.4 to 2.5.22, so fix configure if we are using the
- # new flex. Note that flex-2.5.4 prints 'flex version 2.5.4'
- # and flex-2.5.22 prints 'flex 2.5.22', bug #10546.
- # <azarah@gentoo.org> (23 Oct 2002)
- local flmajor="`flex --version | cut -d. -f1`"
- local flminor="`flex --version | cut -d. -f2`"
- local flmicro="`flex --version | cut -d. -f3`"
- if [ "${flmajor/flex* }" -ge 2 -a \
- "${flminor/flex* }" -ge 5 -a \
- "${flmicro/flex* }" -ge 22 ]
- then
- sed -i -e 's:flex -I8:flex -I:g' \
- configure
- fi
-}
-
-src_compile() {
- tc-export CC AR RANLIB
- local myconf=""
- use static && append-ldflags -static
- use readline && myconf="--with-readline"
- econf ${myconf} || die
- emake || die
-}
-
-src_install() {
- dobin bc/bc dc/dc || die
-
- doinfo doc/*.info
- doman doc/*.1
- dodoc AUTHORS FAQ NEWS README ChangeLog
-}
diff --git a/sys-devel/bc/files/bc-1.06-info-fix.diff b/sys-devel/bc/files/bc-1.06-info-fix.diff
deleted file mode 100644
index e70736c03b1a..000000000000
--- a/sys-devel/bc/files/bc-1.06-info-fix.diff
+++ /dev/null
@@ -1,101 +0,0 @@
-diff -r -C2 bc-1.06.orig/doc/bc.texi bc-1.06/doc/bc.texi
-*** bc-1.06.orig/doc/bc.texi Wed Sep 27 20:22:24 2000
---- bc-1.06/doc/bc.texi Fri Aug 3 16:44:49 2001
-***************
-*** 14,29 ****
- @c end tex
-
-! @titlepage
-! @title @command{bc}
-! @subtitle an arbitrary precision calculator language
-! @subtitle version 1.06
-!
-! @author Philip A. Nelson
-! @page
-
- This manual documents @command{bc}, an arbitrary precision calculator language.
-
- This manual is part of GNU @command{bc}.@*
-! @sp4
- Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
---- 14,26 ----
- @c end tex
-
-! @ifinfo
-! @direntry
-! * bc: (bc). An arbitrary precision calculator language.
-! @end direntry
-
- This manual documents @command{bc}, an arbitrary precision calculator language.
-
- This manual is part of GNU @command{bc}.@*
-!
- Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-***************
-*** 33,42 ****
- are preserved on all copies.
-
-! @iftex
- Permission is granted to process this file through TeX and print the
- results, provided the printed document carries copying permission
- notice identical to this one except for the removal of this paragraph
- (this paragraph not being relevant to the printed manual).
-! @end iftex
-
- Permission is granted to copy and distribute modified versions of this
---- 30,39 ----
- are preserved on all copies.
-
-! @ignore
- Permission is granted to process this file through TeX and print the
- results, provided the printed document carries copying permission
- notice identical to this one except for the removal of this paragraph
- (this paragraph not being relevant to the printed manual).
-! @end ignore
-
- Permission is granted to copy and distribute modified versions of this
-***************
-*** 49,52 ****
---- 46,59 ----
- except that this permission notice may be stated in a translation approved
- by the Foundation.
-+ @end ifinfo
-+
-+ @titlepage
-+ @title @command{bc}
-+ @subtitle an arbitrary precision calculator language
-+ @subtitle version 1.06
-+
-+ @author Philip A. Nelson
-+ @page
-+
-
- You may contact the author by:
-diff -r -C2 bc-1.06.orig/doc/dc.texi bc-1.06/doc/dc.texi
-*** bc-1.06.orig/doc/dc.texi Thu Aug 31 11:57:43 2000
---- bc-1.06/doc/dc.texi Fri Aug 3 16:42:34 2001
-***************
-*** 42,47 ****
- notice identical to this one except for the removal of this paragraph
- (this paragraph not being relevant to the printed manual).
--
- @end ignore
- Permission is granted to copy and distribute modified versions of this
- manual under the conditions for verbatim copying, provided that the entire
---- 42,47 ----
- notice identical to this one except for the removal of this paragraph
- (this paragraph not being relevant to the printed manual).
- @end ignore
-+
- Permission is granted to copy and distribute modified versions of this
- manual under the conditions for verbatim copying, provided that the entire
-***************
-*** 86,90 ****
-
- @end titlepage
-- @page
-
- @node Top, Introduction, (dir), (dir)
---- 86,89 ----
diff --git a/sys-devel/bc/files/bc-1.06-longopts.patch b/sys-devel/bc/files/bc-1.06-longopts.patch
deleted file mode 100644
index f450e3fa0b2e..000000000000
--- a/sys-devel/bc/files/bc-1.06-longopts.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-a bug in the argument processing of 'bc' (v1.06) prevents it from properly
-reading long-format options.
-
-patch by joe bruin
-
-http://bugs.gentoo.org/show_bug.cgi?id=51525
-
---- bc-1.06.orig/bc/main.c
-+++ bc-1.06/bc/main.c
-@@ -63,7 +63,7 @@
- printf ("usage: %s [options] [file ...]\n%s%s%s%s%s%s%s", progname,
- " -h --help print this usage and exit\n",
- " -i --interactive force interactive mode\n",
-- " -l --mathlib use the predefine math routnes\n",
-+ " -l --mathlib use the predefined math routines\n",
- " -q --quiet don't print initial banner\n",
- " -s --standard non-standard bc constructs are errors\n",
- " -w --warn warn about non-standard bc constructs\n",
-@@ -93,6 +93,9 @@
-
- switch (optch)
- {
-+ case 0: /* Long option setting a var. */
-+ break;
-+
- case 'c': /* compile only */
- compile_only = TRUE;
- break;
diff --git a/sys-devel/bc/files/bc-1.06-readline42.diff b/sys-devel/bc/files/bc-1.06-readline42.diff
deleted file mode 100644
index 97856d58e3ed..000000000000
--- a/sys-devel/bc/files/bc-1.06-readline42.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-this lets bc use readline-4.2, borrowed from redhat apparently. :)
-
---- bc-1.06/bc/scan.l.sux Fri May 11 14:27:20 2001
-+++ bc-1.06/bc/scan.l Fri May 11 14:27:32 2001
-@@ -143,7 +143,6 @@
-
- /* Definitions for readline access. */
- extern FILE *rl_instream;
--_PROTOTYPE(char *readline, (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
diff --git a/sys-devel/bc/files/bc-1.06-static-save.patch b/sys-devel/bc/files/bc-1.06-static-save.patch
deleted file mode 100644
index 0ee543b262ac..000000000000
--- a/sys-devel/bc/files/bc-1.06-static-save.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-ripped from fedora !
-
---- bc-1.06/bc/load.c.s390 Wed Sep 13 20:22:38 2000
-+++ bc-1.06/bc/load.c Wed Sep 5 16:10:18 2001
-@@ -156,7 +156,10 @@
- long label_no;
- long vaf_name; /* variable, array or function number. */
- long func;
-- program_counter save_adr;
-+ /* Make save_adr static. Otherwise the whole address save stuff doesn't make
-+ any sense at all and break e.g. on S390.
-+ 09/05/01 Phil Knirsch <pknirsch@redhat.de> */
-+ static program_counter save_adr;
-
- /* Initialize. */
- str = code;