nixpkgs/pkgs/os-specific/linux/nvidia-x11/acpixf.patch

28 lines
1.1 KiB
Diff
Raw Normal View History

diff -pur 96.43.20/conftest.sh 96.43.20-3.4/conftest.sh
--- 96.43.20/conftest.sh 2011-07-18 10:51:11.000000000 +0400
+++ 96.43.20-3.4/conftest.sh 2012-06-16 00:04:22.870746239 +0400
@@ -908,6 +908,7 @@ compile_test() {
#
echo "$CONFTEST_PREAMBLE
#include <acpi/acpi.h>
+ #include <acpi/acpixf.h>
void conftest_acpi_walk_namespace(void) {
acpi_walk_namespace();
}" > conftest$$.c
@@ -923,6 +924,7 @@ compile_test() {
echo "$CONFTEST_PREAMBLE
#include <acpi/acpi.h>
+ #include <acpi/acpixf.h>
void conftest_acpi_walk_namespace(void) {
acpi_walk_namespace(0, NULL, 0, NULL, NULL, NULL, NULL);
}" > conftest$$.c
@@ -939,6 +941,7 @@ compile_test() {
echo "$CONFTEST_PREAMBLE
#include <acpi/acpi.h>
+ #include <acpi/acpixf.h>
void conftest_acpi_walk_namespace(void) {
acpi_walk_namespace(0, NULL, 0, NULL, NULL, NULL);
}" > conftest$$.c