stress testkeleri, başladığım hali bitmedi eksik v.s ama svnde dursun
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright © 2005 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
WorkDir = "bc-1.06"
|
||||
|
||||
def setup():
|
||||
autotools.configure("--with-readline")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
pisitools.dobin("bc/bc")
|
||||
pisitools.dobin("dc/dc")
|
||||
pisitools.doman("man/*.1")
|
||||
pisitools.doinfo("doc/*.info")
|
||||
pisitools.dodoc("AUTHORS", "FAQ", "NEWS", "README", "ChangeLog")
|
||||
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
|
||||
def postInstall():
|
||||
os.system("ls -al > /tmp/SIK")
|
||||
@@ -0,0 +1,101 @@
|
||||
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 ----
|
||||
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
@@ -0,0 +1,12 @@
|
||||
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
|
||||
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ab</Name>
|
||||
<Homepage>http://www.gnu.org/software/bc/bc.htm</Homepage>
|
||||
<Packager>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Packager>
|
||||
<License>GPL-2</License>
|
||||
<IsA>category</IsA>
|
||||
<Summary>Handy console-based calculator utility</Summary>
|
||||
<Summary xml:lang="tr">Şık görünümlü bir konsol temelli hesap makinesı</Summary>
|
||||
<Description>Handy console-based calculator utility</Description>
|
||||
<Description xml:lang="tr">Konsolda çalışan şık görünümlü bir hesap makinesı</Description>
|
||||
<Archive sha1sum="c8f258a7355b40a485007c40865480349c157292" type="targz">ftp://ftp.ulak.net.tr/gnu/gnu/bc/bc-1.06.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">bc-1.06-info-fix.diff</Patch>
|
||||
<Patch level="1">bc-1.06-longopts.patch</Patch>
|
||||
<Patch level="1">bc-1.06-readline42.diff</Patch>
|
||||
<Patch level="1">bc-1.06-static-save.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ab</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2005-12-18</Date>
|
||||
<Version>1.06</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright © 2005 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--with-readline")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
pisitools.dobin("bc/bc")
|
||||
pisitools.dobin("dc/dc")
|
||||
pisitools.doman("man/*.1")
|
||||
pisitools.doinfo("doc/*.info")
|
||||
pisitools.dodoc("AUTHORS", "FAQ", "NEWS", "README", "ChangeLog")
|
||||
@@ -0,0 +1,101 @@
|
||||
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 ----
|
||||
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
@@ -0,0 +1,12 @@
|
||||
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
|
||||
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>bc</Name>
|
||||
<Homepage>http://www.gnu.org/software/bc/bc.htm</Homepage>
|
||||
<Packager>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Packager>
|
||||
<License>GPL-2</License>
|
||||
<IsA>category</IsA>
|
||||
<Summary>Handy console-based calculator utility</Summary>
|
||||
<Summary xml:lang="tr">Şık görünümlü bir konsol temelli hesap makinesı</Summary>
|
||||
<Description>Handy console-based calculator utility</Description>
|
||||
<Description xml:lang="tr">Konsolda çalışan şık görünümlü bir hesap makinesı</Description>
|
||||
<Archive sha1sum="c8f258a7355b40a485007c40865480349c157292" type="targz">ftp://ftp.ulak.net.tr/gnu/gnu/bc/bc-1.06.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>ab</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">bc-1.06-info-fix.diff</Patch>
|
||||
<Patch level="1">bc-1.06-longopts.patch</Patch>
|
||||
<Patch level="1">bc-1.06-readline42.diff</Patch>
|
||||
<Patch level="1">bc-1.06-static-save.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>bc</Name>
|
||||
<RuntimeDependency>
|
||||
<Dependency>ab</Dependency>
|
||||
</RuntimeDependency>
|
||||
<Files>
|
||||
<Path fileType="executable">/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2005-12-18</Date>
|
||||
<Version>1.06</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright © 2005 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
WorkDir = "bc-1.06"
|
||||
|
||||
def setup():
|
||||
autotools.configure("--with-readline")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
pisitools.dobin("bc/bc")
|
||||
pisitools.dobin("dc/dc")
|
||||
pisitools.doman("man/*.1")
|
||||
pisitools.doinfo("doc/*.info")
|
||||
pisitools.dodoc("AUTHORS", "FAQ", "NEWS", "README", "ChangeLog")
|
||||
@@ -0,0 +1,101 @@
|
||||
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 ----
|
||||
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
@@ -0,0 +1,12 @@
|
||||
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
|
||||
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cd</Name>
|
||||
<Homepage>http://www.gnu.org/software/bc/bc.htm</Homepage>
|
||||
<Packager>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Packager>
|
||||
<License>GPL-2</License>
|
||||
<IsA>category</IsA>
|
||||
<Summary>Handy console-based calculator utility</Summary>
|
||||
<Summary xml:lang="tr">Şık görünümlü bir konsol temelli hesap makinesı</Summary>
|
||||
<Description>Handy console-based calculator utility</Description>
|
||||
<Description xml:lang="tr">Konsolda çalışan şık görünümlü bir hesap makinesı</Description>
|
||||
<Archive sha1sum="c8f258a7355b40a485007c40865480349c157292" type="targz">ftp://ftp.ulak.net.tr/gnu/gnu/bc/bc-1.06.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>ab</Dependency>
|
||||
<Dependency>bc</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">bc-1.06-info-fix.diff</Patch>
|
||||
<Patch level="1">bc-1.06-longopts.patch</Patch>
|
||||
<Patch level="1">bc-1.06-readline42.diff</Patch>
|
||||
<Patch level="1">bc-1.06-static-save.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cd</Name>
|
||||
<RuntimeDependecy>
|
||||
<Dependency>ab</Dependency>
|
||||
<Dependency>bc</Dependency>
|
||||
</RuntimeDependecy>
|
||||
<Files>
|
||||
<Path fileType="executable">/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2005-12-18</Date>
|
||||
<Version>1.06</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,6 @@
|
||||
<PISI>
|
||||
<Name>test.comp</Name>
|
||||
<LocalName xml:lang="tr">...</LocalName>
|
||||
<Summary xml:lang="tr">...</Summary>
|
||||
<Description xml:lang="tr">...</Description>
|
||||
</PISI>
|
||||
@@ -0,0 +1,6 @@
|
||||
<PISI>
|
||||
<Name>test</Name>
|
||||
<LocalName xml:lang="tr">...</LocalName>
|
||||
<Summary xml:lang="tr">...</Summary>
|
||||
<Description xml:lang="tr">...</Description>
|
||||
</PISI>
|
||||
@@ -0,0 +1,6 @@
|
||||
<PISI>
|
||||
<Name>test.lang</Name>
|
||||
<LocalName xml:lang="tr">...</LocalName>
|
||||
<Summary xml:lang="tr">...</Summary>
|
||||
<Description xml:lang="tr">...</Description>
|
||||
</PISI>
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright © 2005 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
WorkDir = "bc-1.06"
|
||||
|
||||
def setup():
|
||||
autotools.configure("--with-readline")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
pisitools.dobin("bc/bc")
|
||||
pisitools.dobin("dc/dc")
|
||||
pisitools.doman("man/*.1")
|
||||
pisitools.doinfo("doc/*.info")
|
||||
pisitools.dodoc("AUTHORS", "FAQ", "NEWS", "README", "ChangeLog")
|
||||
@@ -0,0 +1,101 @@
|
||||
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 ----
|
||||
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
@@ -0,0 +1,12 @@
|
||||
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
|
||||
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>de</Name>
|
||||
<Homepage>http://www.gnu.org/software/bc/bc.htm</Homepage>
|
||||
<Packager>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Packager>
|
||||
<License>GPL-2</License>
|
||||
<IsA>category</IsA>
|
||||
<Summary>Handy console-based calculator utility</Summary>
|
||||
<Summary xml:lang="tr">Şık görünümlü bir konsol temelli hesap makinesı</Summary>
|
||||
<Description>Handy console-based calculator utility</Description>
|
||||
<Description xml:lang="tr">Konsolda çalışan şık görünümlü bir hesap makinesı</Description>
|
||||
<Archive sha1sum="c8f258a7355b40a485007c40865480349c157292" type="targz">ftp://ftp.ulak.net.tr/gnu/gnu/bc/bc-1.06.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cd</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">bc-1.06-info-fix.diff</Patch>
|
||||
<Patch level="1">bc-1.06-longopts.patch</Patch>
|
||||
<Patch level="1">bc-1.06-readline42.diff</Patch>
|
||||
<Patch level="1">bc-1.06-static-save.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>de</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>ab</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2005-12-18</Date>
|
||||
<Version>1.06</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright © 2005 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
WorkDir = "bc-1.06"
|
||||
|
||||
def setup():
|
||||
autotools.configure("--with-readline")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
pisitools.dobin("bc/bc")
|
||||
pisitools.dobin("dc/dc")
|
||||
pisitools.doman("man/*.1")
|
||||
pisitools.doinfo("doc/*.info")
|
||||
pisitools.dodoc("AUTHORS", "FAQ", "NEWS", "README", "ChangeLog")
|
||||
@@ -0,0 +1,101 @@
|
||||
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 ----
|
||||
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
@@ -0,0 +1,12 @@
|
||||
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
|
||||
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.uludag.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ef</Name>
|
||||
<Homepage>http://www.gnu.org/software/bc/bc.htm</Homepage>
|
||||
<Packager>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Packager>
|
||||
<License>GPL-2</License>
|
||||
<IsA>category</IsA>
|
||||
<Summary>Handy console-based calculator utility</Summary>
|
||||
<Summary xml:lang="tr">Şık görünümlü bir konsol temelli hesap makinesı</Summary>
|
||||
<Description>Handy console-based calculator utility</Description>
|
||||
<Description xml:lang="tr">Konsolda çalışan şık görünümlü bir hesap makinesı</Description>
|
||||
<Archive sha1sum="c8f258a7355b40a485007c40865480349c157292" type="targz">ftp://ftp.ulak.net.tr/gnu/gnu/bc/bc-1.06.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>de</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">bc-1.06-info-fix.diff</Patch>
|
||||
<Patch level="1">bc-1.06-longopts.patch</Patch>
|
||||
<Patch level="1">bc-1.06-readline42.diff</Patch>
|
||||
<Patch level="1">bc-1.06-static-save.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ef</Name>
|
||||
<BuildDependencies>
|
||||
<Dependency>de</Dependency>
|
||||
</BuildDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2005-12-18</Date>
|
||||
<Version>1.06</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Pardus Testcioğlu</Name>
|
||||
<Email>bilgi@uludag.org.tr</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Executable
+37
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -rf minime
|
||||
mkdir minime
|
||||
rm -f *.pisi
|
||||
|
||||
pisi build comp/ab/pspec.xml -D./minime
|
||||
pisi it ab-1.06-1.pisi -D./minime
|
||||
|
||||
pisi build comp/bc/pspec.xml -D./minime
|
||||
pisi it bc-1.06-1.pisi -D./minime
|
||||
|
||||
pisi build comp/cd/pspec.xml -D./minime
|
||||
pisi it cd-1.06-1.pisi -D./minime
|
||||
|
||||
for i in `seq 1 10`
|
||||
do
|
||||
pisi it ab-1.06-1.pisi -D./minime --yes-all
|
||||
done
|
||||
|
||||
for i in `seq 1 10`
|
||||
do
|
||||
pisi remove cd -D./minime
|
||||
pisi it cd-1.06-1.pisi -D./minime
|
||||
done
|
||||
|
||||
pisi build lang/de/pspec.xml -D./minime
|
||||
pisi it de-1.06-1.pisi -D./minime
|
||||
|
||||
pisi build lang/ef/pspec.xml -D./minime
|
||||
pisi it ef-1.06-1.pisi -D./minime
|
||||
|
||||
pisi rebuild-db -D./minime --yes-all
|
||||
|
||||
pisi remove ab -D./minime --yes-all
|
||||
|
||||
pisi li -D./minime
|
||||
Reference in New Issue
Block a user