- inputproto-1.4.2-card32.patch: Make sure CARD32 is defined on lp64.

This commit is contained in:
Adam Jackson 2007-11-13 16:55:59 +00:00
parent 80d03e5f3f
commit 68a3f8795d
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,15 @@
diff -up inputproto-1.4.2/XI.h.jx inputproto-1.4.2/XI.h
--- inputproto-1.4.2/XI.h.jx 2007-04-24 08:40:11.000000000 -0400
+++ inputproto-1.4.2/XI.h 2007-11-13 11:53:37.000000000 -0500
@@ -50,9 +50,10 @@ SOFTWARE.
/* Definitions used by the server, library and client */
#ifndef _XI_H_
-
#define _XI_H_
+#include <X11/X.h> /* CARD32 */
+
#define sz_xGetExtensionVersionReq 8
#define sz_xGetExtensionVersionReply 32
#define sz_xListInputDevicesReq 4

View File

@ -10,7 +10,7 @@
Summary: X.Org X11 Protocol headers
Name: xorg-x11-proto-devel
Version: 7.3
Release: 6%{?dist}
Release: 7%{?dist}
License: MIT
Group: Development/System
URL: http://www.x.org
@ -60,6 +60,8 @@ Source29: ftp://ftp.x.org/pub/individual/proto/xproto-7.0.10.tar.bz2
Provides: xproto = 7.0.10
Source30: ftp://ftp.x.org/pub/individual/proto/xproxymanagementprotocol-1.0.2.tar.bz2
Patch1: inputproto-1.4.2-card32.patch
BuildRequires: pkgconfig
BuildRequires: xorg-x11-util-macros >= 1.0.2-1
@ -82,6 +84,8 @@ X.Org X11 Protocol headers
%prep
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30
%patch1 -p0 -b .card32
%build
# Proceed through each proto package directory, building them all
@ -294,6 +298,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pkgconfig/xproxymngproto.pc
%changelog
* Tue Nov 13 2007 Adam Jackson <ajax@redhat.com> 7.3-7
- inputproto-1.4.2-card32.patch: Make sure CARD32 is defined on lp64.
* Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 7.3-6
- renderproto 0.9.3