This commit is contained in:
parent
c819969e99
commit
b6159b4bdf
@ -1,17 +0,0 @@
|
||||
--- lzw.h
|
||||
+++ lzw.h 2006-12-15 10:43:48.000000000 +0100
|
||||
@@ -67,11 +67,12 @@ static inline int sigucmask(int how, con
|
||||
static inline unsigned long int sig_ia64_mask(const sigset_t set)
|
||||
{
|
||||
unsigned long int mask = 0;
|
||||
- int cnt = sizeof(unsigned long int);
|
||||
+ int cnt = (8 * sizeof(unsigned long int));
|
||||
+ if (cnt > NSIG) cnt = NSIG;
|
||||
while (--cnt >= 0) {
|
||||
if (!sigismember(&set, cnt))
|
||||
continue;
|
||||
- mask |= sigmask(cnt);
|
||||
+ mask |= (1 << (cnt - 1)); /* sigmask macro is is not usable for BSD way */
|
||||
}
|
||||
return mask;
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea056e3ce5c6d4fa079134d0ead39dcfdab493fe030938a72c422c6ebf267f12
|
||||
size 16367
|
3
libzio-0.4.tar.bz2
Normal file
3
libzio-0.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b4733deba4407f18ee05154f9463f33dd0f77d1cd4595d153149d00e2ad4fc33
|
||||
size 16788
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 20 14:08:59 CET 2006 - werner@suse.de
|
||||
|
||||
- Better weak symbol handling even for -ansi -pedantic
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 15 10:44:07 CET 2006 - werner@suse.de
|
||||
|
||||
|
15
libzio.spec
15
libzio.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libzio (Version 0.3)
|
||||
# spec file for package libzio (Version 0.4)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -14,8 +14,8 @@ Name: libzio
|
||||
License: GNU General Public License (GPL)
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
Version: 0.3
|
||||
Release: 3
|
||||
Version: 0.4
|
||||
Release: 1
|
||||
Summary: A Library for Accessing Compressed Text Files
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: libzio-%{version}.tar.bz2
|
||||
@ -37,6 +37,11 @@ Authors:
|
||||
|
||||
%build
|
||||
make
|
||||
make testt
|
||||
for comp in gzip bzip2; do
|
||||
$comp -c < fzopen.3.in > fzopen.test
|
||||
./testt fzopen.test | cmp fzopen.3.in -
|
||||
done
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir}
|
||||
@ -53,11 +58,13 @@ make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir}
|
||||
%{_libdir}/libzio.a
|
||||
%{_libdir}/libzio.so
|
||||
%{_libdir}/libzio.so.0
|
||||
%{_libdir}/libzio.so.0.3
|
||||
%{_libdir}/libzio.so.0.4
|
||||
%{_mandir}/man3/fzopen.3*
|
||||
/usr/include/zio.h
|
||||
|
||||
%changelog -n libzio
|
||||
* Wed Dec 20 2006 - werner@suse.de
|
||||
- Better weak symbol handling even for -ansi -pedantic
|
||||
* Fri Dec 15 2006 - werner@suse.de
|
||||
- Can not use sigmask() macro in ia64 because its definition is
|
||||
for sigset_t array only but not for single ulong
|
||||
|
Loading…
Reference in New Issue
Block a user