forked from pool/libzio
Accepting request 460822 from home:AndreasSchwab:f
- Include <signal.h> as required by pthread_sigmask OBS-URL: https://build.opensuse.org/request/show/460822 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libzio?expand=0&rev=29
This commit is contained in:
parent
7ce47dc2bb
commit
5411d26947
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 28 09:07:36 UTC 2017 - schwab@linux-m68k.org
|
||||||
|
|
||||||
|
- Include <signal.h> as required by pthread_sigmask
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 27 15:48:10 UTC 2017 - werner@suse.de
|
Mon Feb 27 15:48:10 UTC 2017 - werner@suse.de
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Group: System/Libraries
|
|||||||
Url: http://libzio.sourceforge.net/
|
Url: http://libzio.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
Patch: pthread-sigmask.patch
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: xz-devel
|
BuildRequires: xz-devel
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
@ -57,6 +58,7 @@ and static library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} noweak
|
make %{?_smp_mflags} noweak
|
||||||
|
13
pthread-sigmask.patch
Normal file
13
pthread-sigmask.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: libzio-1.03/lzw.h
|
||||||
|
===================================================================
|
||||||
|
--- libzio-1.03.orig/lzw.h
|
||||||
|
+++ libzio-1.03/lzw.h
|
||||||
|
@@ -48,7 +48,7 @@
|
||||||
|
#include "zioP.h"
|
||||||
|
|
||||||
|
#if defined _REENTRANT || defined _THREAD_SAFE
|
||||||
|
-# include <pthread.h>
|
||||||
|
+# include <signal.h>
|
||||||
|
weak_symbol(pthread_sigmask);
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user