use posix locks on sparc arches
This commit is contained in:
parent
ad763f246d
commit
728b0b66d4
20
pegasus-2.10.0-sparc-posix-lock.patch
Normal file
20
pegasus-2.10.0-sparc-posix-lock.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- pegasus/src/Pegasus/Common/Platform_LINUX_SPARCV9_GNU.h.orig 2011-03-30 15:59:54.000000000 -0500
|
||||
+++ pegasus/src/Pegasus/Common/Platform_LINUX_SPARCV9_GNU.h 2011-03-30 16:00:52.000000000 -0500
|
||||
@@ -90,4 +90,7 @@
|
||||
# define PEGASUS_HAS_GETIFADDRS
|
||||
#endif
|
||||
|
||||
+/* use POSIX read-write locks on this platform */
|
||||
+#define PEGASUS_USE_POSIX_RWLOCK
|
||||
+
|
||||
#endif /* Pegasus_Platform_LINUX_SPARCV9_GNU_h */
|
||||
--- pegasus/src/Pegasus/Common/Platform_LINUX_SPARC64_GNU.h.orig 2011-03-30 15:59:30.000000000 -0500
|
||||
+++ pegasus/src/Pegasus/Common/Platform_LINUX_SPARC64_GNU.h 2011-03-30 16:01:05.000000000 -0500
|
||||
@@ -90,4 +90,7 @@
|
||||
# define PEGASUS_HAS_GETIFADDRS
|
||||
#endif
|
||||
|
||||
+/* use POSIX read-write locks on this platform */
|
||||
+#define PEGASUS_USE_POSIX_RWLOCK
|
||||
+
|
||||
#endif /* Pegasus_Platform_LINUX_SPARC64_GNU_h */
|
@ -8,7 +8,7 @@
|
||||
|
||||
Name: tog-pegasus
|
||||
Version: %{major_ver}.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Epoch: 2
|
||||
Summary: OpenPegasus WBEM Services for Linux
|
||||
|
||||
@ -60,6 +60,8 @@ Patch15: pegasus-2.9.0-openssl.patch
|
||||
Patch16: pegasus-2.9.1-getpagesize.patch
|
||||
# 18: Let the makefile install initscript we want to use
|
||||
Patch18: pegasus-2.9.1-makefile-initscript.patch
|
||||
# 19: use posix locks on sparc arches
|
||||
Patch19: pegasus-2.10.0-sparc-posix-lock.patch
|
||||
|
||||
BuildRequires: bash, sed, grep, coreutils, procps, gcc, gcc-c++
|
||||
BuildRequires: libstdc++, make, pam-devel
|
||||
@ -184,6 +186,7 @@ The OpenPegasus WBEM tests for the OpenPegasus %{version} Linux rpm.
|
||||
%patch0 -p1 -b .initscript
|
||||
%patch16 -p1 -b .getpagesize
|
||||
%patch18 -p1 -b .makefile-initscript
|
||||
%patch19 -p1 -b .sparc-locks
|
||||
|
||||
|
||||
%build
|
||||
@ -411,6 +414,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Mar 30 2011 Dennis Gilmore <dennis@ausil.us> - 2:2.10.1-4
|
||||
- use posix locks on sparc linux arches
|
||||
|
||||
* Tue Mar 22 2011 Vitezslav Crhonek <vcrhonek@redhat.com> - 2:2.10.1-3
|
||||
- Use %%ghost for /var/run/tog-pegasus
|
||||
Resolves: #656705
|
||||
|
Loading…
Reference in New Issue
Block a user