This commit is contained in:
parent
52e298701a
commit
47d5158d40
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 22 12:19:49 CET 2007 - ssommer@suse.de
|
||||||
|
|
||||||
|
- fixed invalid operation error and deobfuscated the code a bit
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 25 21:41:21 CET 2006 - mls@suse.de
|
Wed Jan 25 21:41:21 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
12
sbl.spec
12
sbl.spec
@ -1,11 +1,11 @@
|
|||||||
#
|
#
|
||||||
# spec file for package sbl (Version 2.2)
|
# spec file for package sbl (Version 2.2)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
@ -13,11 +13,12 @@
|
|||||||
Name: sbl
|
Name: sbl
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
Version: 2.2
|
Version: 2.2
|
||||||
Release: 28
|
Release: 58
|
||||||
License: GPL
|
License: GNU General Public License (GPL)
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Source: sblsrc-2.2.tgz
|
Source: sblsrc-2.2.tgz
|
||||||
Patch: sblsrc-2.2.dif
|
Patch: sblsrc-2.2.dif
|
||||||
|
Patch1: sblsrc-2.2-invalid-operation.patch
|
||||||
Summary: SuSE blinux
|
Summary: SuSE blinux
|
||||||
PreReq: %insserv_prereq
|
PreReq: %insserv_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -35,6 +36,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -n sblsrc-2.2/prog
|
%setup -n sblsrc-2.2/prog
|
||||||
%patch -p2
|
%patch -p2
|
||||||
|
%patch1 -p2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" LIB_CFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -fPIC"
|
make CFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE" LIB_CFLAGS="$RPM_OPT_FLAGS -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -fPIC"
|
||||||
@ -67,6 +69,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config /etc/suse-blinux.conf
|
%config /etc/suse-blinux.conf
|
||||||
|
|
||||||
%changelog -n sbl
|
%changelog -n sbl
|
||||||
|
* Mon Jan 22 2007 - ssommer@suse.de
|
||||||
|
- fixed invalid operation error and deobfuscated the code a bit
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Sat Jan 14 2006 - schwab@suse.de
|
* Sat Jan 14 2006 - schwab@suse.de
|
||||||
|
20
sblsrc-2.2-invalid-operation.patch
Normal file
20
sblsrc-2.2-invalid-operation.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff -Naur sblsrc-2.2.org/prog/Alva/brlmain.cc sblsrc-2.2/prog/Alva/brlmain.cc
|
||||||
|
--- sblsrc-2.2.org/prog/Alva/brlmain.cc 2007-01-22 11:57:37.511031000 +0100
|
||||||
|
+++ sblsrc-2.2/prog/Alva/brlmain.cc 2007-01-22 12:05:03.354199000 +0100
|
||||||
|
@@ -488,10 +488,12 @@
|
||||||
|
}
|
||||||
|
if (i < j) /* there is something different */
|
||||||
|
{
|
||||||
|
- for (k = 0;
|
||||||
|
- k < (j - i);
|
||||||
|
- rawdata[k++] = TransTable[(prevdata[i + k] = brl->disp[i + k])]);
|
||||||
|
- WriteToBrlDisplay (model->NbStCells + i, j - i, rawdata);
|
||||||
|
+ for (k = 0; k < (j - i); k++)
|
||||||
|
+ {
|
||||||
|
+ prevdata[i + k] = brl->disp[i + k];
|
||||||
|
+ rawdata[k] = TransTable[prevdata[i + k]];
|
||||||
|
+ WriteToBrlDisplay (model->NbStCells + i, j - i, rawdata);
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user