diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec index 193c217..b7545d2 100644 --- a/xorg-x11-server.spec +++ b/xorg-x11-server.spec @@ -20,7 +20,7 @@ Summary: X.Org X11 X server Name: xorg-x11-server Version: 1.4.99.1 -Release: 0.11%{?dist} +Release: 0.12%{?dist} URL: http://www.x.org License: MIT Group: User Interface/X @@ -521,6 +521,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Dec 03 2007 Adam Jackson 1.4.99.1-0.12 +- xserver-1.4.99-apm-typedefs.patch: Temporary hack for broken kernels that + don't publish the /dev/apm_bios types. + * Wed Nov 28 2007 Adam Jackson 1.4.99.1-0.11 - Today's rebase. - BR on git-core instead of git. diff --git a/xserver-1.4.99-apm-typedefs.patch b/xserver-1.4.99-apm-typedefs.patch new file mode 100644 index 0000000..9d18b5a --- /dev/null +++ b/xserver-1.4.99-apm-typedefs.patch @@ -0,0 +1,26 @@ +From b9119f9e0b0166c46114f9715a8064582131ab1d Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Mon, 3 Dec 2007 14:00:25 -0500 +Subject: [PATCH] apm_event_t workaround + +--- + hw/xfree86/os-support/linux/lnx_apm.c | 3 +++ + 1 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/hw/xfree86/os-support/linux/lnx_apm.c b/hw/xfree86/os-support/linux/lnx_apm.c +index 16ac80d..6bcae47 100644 +--- a/hw/xfree86/os-support/linux/lnx_apm.c ++++ b/hw/xfree86/os-support/linux/lnx_apm.c +@@ -39,6 +39,9 @@ static PMClose lnxAPMOpen(void); + static void lnxCloseAPM(void); + static pointer APMihPtr = NULL; + ++/* XXX this is wrong, do not ever commit me upstream */ ++#define apm_event_t unsigned short ++ + static struct { + apm_event_t apmLinux; + pmEvent xf86; +-- +1.5.2.4 +