SHA256
3
0
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:
Ismail Dönmez 2017-02-28 09:41:13 +00:00 committed by Git OBS Bridge
parent 7ce47dc2bb
commit 5411d26947
3 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -26,6 +26,7 @@ Group: System/Libraries
Url: http://libzio.sourceforge.net/
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
Patch: pthread-sigmask.patch
BuildRequires: libbz2-devel
BuildRequires: xz-devel
BuildRequires: zlib-devel
@ -57,6 +58,7 @@ and static library.
%prep
%setup -q
%patch -p1
%build
make %{?_smp_mflags} noweak

13
pthread-sigmask.patch Normal file
View 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