forked from dirkmueller/bc
This commit is contained in:
parent
1db973af99
commit
a22b3df869
25
bc-1.06_getopt.patch
Normal file
25
bc-1.06_getopt.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
--- bc/main.c
|
||||||
|
+++ bc/main.c
|
||||||
|
@@ -44,14 +44,14 @@
|
||||||
|
/* long option support */
|
||||||
|
static struct option long_options[] =
|
||||||
|
{
|
||||||
|
- {"compile", 0, &compile_only, TRUE},
|
||||||
|
- {"help", 0, 0, 'h'},
|
||||||
|
- {"interactive", 0, 0, 'i'},
|
||||||
|
- {"mathlib", 0, &use_math, TRUE},
|
||||||
|
- {"quiet", 0, &quiet, TRUE},
|
||||||
|
- {"standard", 0, &std_only, TRUE},
|
||||||
|
- {"version", 0, 0, 'v'},
|
||||||
|
- {"warn", 0, &warn_not_std, TRUE},
|
||||||
|
+ {"compile", 0, 0, 'c'},
|
||||||
|
+ {"help", 0, 0, 'h'},
|
||||||
|
+ {"interactive", 0, 0, 'i'},
|
||||||
|
+ {"mathlib", 0, 0, 'l'},
|
||||||
|
+ {"quiet", 0, 0, 'q'},
|
||||||
|
+ {"standard", 0, 0, 's'},
|
||||||
|
+ {"version", 0, 0, 'v'},
|
||||||
|
+ {"warn", 0, 0, 'w'},
|
||||||
|
|
||||||
|
{0, 0, 0, 0}
|
||||||
|
};
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 12 14:33:31 CEST 2007 - pgajdos@suse.cz
|
||||||
|
|
||||||
|
- repared acceptance of some long commandline options
|
||||||
|
[#282747]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 29 12:07:56 CEST 2007 - rguenther@suse.de
|
Thu Mar 29 12:07:56 CEST 2007 - rguenther@suse.de
|
||||||
|
|
||||||
|
7
bc.spec
7
bc.spec
@ -18,13 +18,14 @@ Group: Productivity/Scientific/Math
|
|||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
Version: 1.06
|
Version: 1.06
|
||||||
Release: 793
|
Release: 809
|
||||||
Summary: GNU Command Line Calculator
|
Summary: GNU Command Line Calculator
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch: %{name}-%{version}.dif
|
Patch: %{name}-%{version}.dif
|
||||||
Patch1: %{name}-%{version}-flex.diff
|
Patch1: %{name}-%{version}-flex.diff
|
||||||
Patch2: %name-1.06-decl.diff
|
Patch2: %name-1.06-decl.diff
|
||||||
Patch3: %name-1.06-strict-aliasing.diff
|
Patch3: %name-1.06-strict-aliasing.diff
|
||||||
|
Patch4: %{name}-%{version}_getopt.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -57,6 +58,7 @@ Authors:
|
|||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
@ -92,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 12 2007 - pgajdos@suse.cz
|
||||||
|
- repared acceptance of some long commandline options
|
||||||
|
[#282747]
|
||||||
* Thu Mar 29 2007 - rguenther@suse.de
|
* Thu Mar 29 2007 - rguenther@suse.de
|
||||||
- add flex BuildRequires
|
- add flex BuildRequires
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user