Hello community,
here is the log from the commit of package sc for openSUSE:Factory
checked in at Mon Sep 5 17:14:18 CEST 2011.
New Changes file:
--- /dev/null 2010-08-26 16:28:41.0 +0200
+++ sc/sc.changes 2011-08-27 21:09:13.0 +0200
@@ -0,0 +1,5 @@
+---
+Sun Aug 21 20:16:19 UTC 2011 - g...@opensuse.org
+
+- initial packaging
+
calling whatdependson for head-i586
New:
sc-7.16.tar.gz
sc-do-not-use-reserved-symbols.patch
sc-fix-conflicting-macro.patch
sc-fix-eval-parser.patch
sc-fix-execl-call.patch
sc-fix-malloc-redefinition.patch
sc-fix-missing-includes.patch
sc-fix-missing-prototypes.patch
sc-fix-missing-return-value.patch
sc-fix-parentheses.patch
sc-fix-uninitialized-variables.patch
sc.changes
sc.spec
Other differences:
--
++ sc.spec ++
#
# spec file for package sc
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: sc
Version:7.16
Release:1
License:Public Domain
Summary:Spreadsheet Calculator
Url:http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/
Group: Productivity/Office/Spreadsheets
Source:
http://ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-%{version}.tar.gz
Patch0: sc-fix-malloc-redefinition.patch
Patch1: sc-fix-missing-includes.patch
Patch2: sc-fix-uninitialized-variables.patch
Patch3: sc-fix-execl-call.patch
Patch4: sc-fix-missing-return-value.patch
Patch5: sc-fix-conflicting-macro.patch
Patch6: sc-fix-missing-prototypes.patch
Patch7: sc-fix-parentheses.patch
Patch8: sc-do-not-use-reserved-symbols.patch
Patch9: sc-fix-eval-parser.patch
BuildRequires: ncurses-devel
BuildRequires: bison
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
sc is a free curses-based spreadsheet program that uses key bindings similar to
vi and less.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%build
make %{?_smp_mflags} LIBDIR="%{_docdir}/%{name}" CFLAGS="%{optflags} -DSYSV3"
all sc.1 psc.1
%install
install -p -D -m 755 sc "%{buildroot}%{_bindir}/sc"
install -p -D -m 755 psc "%{buildroot}%{_bindir}/psc"
install -p -D -m 755 scqref "%{buildroot}%{_bindir}/pscqref"
install -p -D -m 644 sc.1 "%{buildroot}%{_mandir}/man1/sc.1"
install -p -D -m 644 psc.1 "%{buildroot}%{_mandir}/man1/psc.1"
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc CHANGES README tutorial.sc
%doc %{_mandir}/man1/sc.1*
%doc %{_mandir}/man1/psc.1*
%{_bindir}/sc
%{_bindir}/psc
%{_bindir}/pscqref
%changelog
++ sc-do-not-use-reserved-symbols.patch ++
Index: sc-7.16/vi.c
===
--- sc-7.16.orig/vi.c
+++ sc-7.16/vi.c
@@ -42,7 +42,7 @@ void gotobottom();
#define istext(a) (isalnum(a) || ((a) == '_'))
-#define bool int
+#define booleanint
#define true 1
#define false 0
@@ -74,7 +74,7 @@ static void replace_mode();
static void restore_it();
static void savedot(int c);
static void save_hist();
-static void search_again(bool reverse);
+static void search_again(boolean reverse);
static void search_hist();
static void search_mode(char sind);
static void stop_edit();
@@ -1565,7 +1565,7 @@ search_hist()
}
static void
-search_again(bool reverse)
+search_again(boolean reverse)
{
int prev_match;
int found_it;
++ sc-fix-conflicting-macro.patch ++
Index: sc-7.16/cmds.c
===
--- sc-7.16.orig/cmds.c
+++ sc-7.16/cmds.c
@@ -2407,7 +2407,7 @@ syncref(register struct enode *e)
} else {
switch (e->op) {
case 'v':
- if (e->e.v.vp->flags & is_cleared) {
+ if (e->e.v.vp->flags & is_cleared_sc) {
e->op = ERR_;
e->e.o.left = NULL;
e->e.o.right = NULL;
Index: sc-7.16/interp.c
===
--- sc-7.16.orig/interp.c
+++ sc-7.16/interp.c
@@ -215