- Add additional selinux requests. (#461844)
This commit is contained in:
parent
7300927c4c
commit
50e09c5a76
27
xcb-proto-1.2-selinux.patch
Normal file
27
xcb-proto-1.2-selinux.patch
Normal file
@ -0,0 +1,27 @@
|
||||
commit 91b5a1b56c744c2aa2740eb814d39ec48cbd27af
|
||||
Author: Eamon Walsh <ewalsh@tycho.nsa.gov>
|
||||
Date: Tue Sep 2 17:38:30 2008 -0400
|
||||
|
||||
xcb-xselinux: Add GetClientContext request.
|
||||
|
||||
diff --git a/src/xselinux.xml b/src/xselinux.xml
|
||||
index 30a8a27..7751470 100644
|
||||
--- a/src/xselinux.xml
|
||||
+++ b/src/xselinux.xml
|
||||
@@ -261,4 +261,16 @@ authorization from the authors.
|
||||
</reply>
|
||||
</request>
|
||||
|
||||
+ <request name="GetClientContext" opcode="22">
|
||||
+ <field type="CARD32" name="resource" />
|
||||
+ <reply>
|
||||
+ <pad bytes="1" />
|
||||
+ <field type="CARD32" name="context_len" />
|
||||
+ <pad bytes="20" />
|
||||
+ <list type="char" name="context">
|
||||
+ <fieldref>context_len</fieldref>
|
||||
+ </list>
|
||||
+ </reply>
|
||||
+ </request>
|
||||
+
|
||||
</xcb>
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
Name: xcb-proto
|
||||
Version: 1.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: XCB protocol descriptions
|
||||
|
||||
Group: Development/Libraries
|
||||
@ -16,6 +16,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: python
|
||||
Requires: pkgconfig
|
||||
|
||||
Patch0: xcb-proto-1.2-selinux.patch
|
||||
|
||||
%description
|
||||
XCB is a project to enable efficient language bindings to the X11 protocol.
|
||||
This package contains the protocol descriptions themselves. Language
|
||||
@ -24,6 +26,7 @@ the protocol.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .selinux
|
||||
|
||||
%build
|
||||
# Bit of a hack to get the pc file in /usr/share, no we can be noarch.
|
||||
@ -47,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{python_sitearch}/xcbgen
|
||||
|
||||
%changelog
|
||||
* Thu Sep 11 2008 Adam Jackson <ajax@redhat.com> 1.2-2
|
||||
- Add additional selinux requests. (#461844)
|
||||
|
||||
* Wed Sep 10 2008 Adam Jackson <ajax@redhat.com> 1.2-1
|
||||
- xcb-proto 1.2
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user