diff --git a/libzio.changes b/libzio.changes index 3d0daed..3a798b2 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 28 09:07:36 UTC 2017 - schwab@linux-m68k.org + +- Include as required by pthread_sigmask + ------------------------------------------------------------------- Mon Feb 27 15:48:10 UTC 2017 - werner@suse.de diff --git a/libzio.spec b/libzio.spec index 685777c..ecb1a7c 100644 --- a/libzio.spec +++ b/libzio.spec @@ -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 diff --git a/pthread-sigmask.patch b/pthread-sigmask.patch new file mode 100644 index 0000000..95f1ab8 --- /dev/null +++ b/pthread-sigmask.patch @@ -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 ++# include + weak_symbol(pthread_sigmask); + #endif +