diff options
author | root <root@rshg054.dnsready.net> | 2011-08-31 23:14:52 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-31 23:14:52 +0000 |
commit | 31f40feaa17912cf0ebfa72dd9368264633b3830 (patch) | |
tree | 28b258545d8ddf3acab854d97fc315f4d88f0e29 /testing/xf86-video-sisimedia/0010-change-to-use-abi-version-check.patch | |
parent | b82f11fd76e83d60504649838e60a235b394160f (diff) |
Wed Aug 31 23:14:52 UTC 2011
Diffstat (limited to 'testing/xf86-video-sisimedia/0010-change-to-use-abi-version-check.patch')
-rw-r--r-- | testing/xf86-video-sisimedia/0010-change-to-use-abi-version-check.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/xf86-video-sisimedia/0010-change-to-use-abi-version-check.patch b/testing/xf86-video-sisimedia/0010-change-to-use-abi-version-check.patch new file mode 100644 index 000000000..cb9fd7ea5 --- /dev/null +++ b/testing/xf86-video-sisimedia/0010-change-to-use-abi-version-check.patch @@ -0,0 +1,34 @@ +From 8c3eca873717e877048c2bde345c02b1e9099e50 Mon Sep 17 00:00:00 2001 +From: Dave Airlie <airlied@redhat.com> +Date: Tue, 28 Jul 2009 05:22:41 +0000 +Subject: sis: change to using ABI version check + +--- +diff --git a/src/sis.h b/src/sis.h +index e859c78..400b83f 100644 +--- a/src/sis.h ++++ b/src/sis.h +@@ -77,7 +77,7 @@ + #include "xf86Pci.h" + #include "xf86Priv.h" + #include "xf86_OSproc.h" +-#ifndef XSERVER_LIBPCIACCESS ++#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 + #include "xf86Resources.h" + #endif + #include "xf86.h" +diff --git a/src/sis_driver.c b/src/sis_driver.c +index bb11cbb..994b02d 100644 +--- a/src/sis_driver.c ++++ b/src/sis_driver.c +@@ -49,7 +49,7 @@ + + #include "sis.h" + +-#ifndef XSERVER_LIBPCIACCESS ++#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 + #include "xf86RAC.h" + #endif + #include "dixstruct.h" +-- +cgit v0.8.3-6-g21f6 |