Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0bcf8a07ea3e4e8015e23355dcd821c0e7f9d86f
commit 0bcf8a07ea3e4e8015e23355dcd821c0e7f9d86f Author: Michel Hermier <[email protected]> Date: Thu Mar 12 21:21:37 2009 +0100 nvidia-71xx-71.86.09-1-i686 * Bump version. diff --git a/source/x11-extra/nvidia-71xx/FrugalBuild b/source/x11-extra/nvidia-71xx/FrugalBuild index e8d2567..3b6d4d2 100644 --- a/source/x11-extra/nvidia-71xx/FrugalBuild +++ b/source/x11-extra/nvidia-71xx/FrugalBuild @@ -2,14 +2,12 @@ # Maintainer: Michel Hermier <[email protected]> pkgname=nvidia-71xx -pkgver=71.86.07 -pkgrel=5 +pkgver=71.86.09 +pkgrel=1 archs=('i686' 'x86_64' '!ppc') _F_nvidia_legacyver="71.86.xx" Finclude nvidia -source=($source kernel-2.6.28.patch) case "$_F_nvidia_arch" in - x86) sha1sums=('c340beacc6d875303c5f7926c5ba59ce2f930c81');; - x86_64) sha1sums=('de7c6951bfc524d2decbe729346e3af351f1d8cb');; +x86) sha1sums=('5ce6c5ba1fd07e922bb4e67d36a461ed09af4b42');; +x86_64) sha1sums=('b4947a883505b5e557161f0c8dd2f1047e3fdd1a');; esac -sha1sums=($sha1sums '00e80897de74d057a0f2324e0f6e42cbf2b9164c') diff --git a/source/x11-extra/nvidia-71xx/kernel-2.6.28.patch b/source/x11-extra/nvidia-71xx/kernel-2.6.28.patch deleted file mode 100644 index eaba0f3..0000000 --- a/source/x11-extra/nvidia-71xx/kernel-2.6.28.patch +++ /dev/null @@ -1,146 +0,0 @@ -http://www.nvnews.net/vbulletin/showthread.php?t=121790&page=2#post1823327 -http://www.nvnews.net/vbulletin/showthread.php?t=121790&page=3#post1843626 - ---- a/usr/src/nv/Makefile.kbuild -+++ b/usr/src/nv.2990799/Makefile.kbuild -@@ -185,14 +185,16 @@ - acquire_console_sem \ - kmem_cache_create \ - on_each_cpu \ -- smp_call_function -+ smp_call_function \ -+ acpi_evaluate_integer - else - COMPILE_TESTS = \ - remap_page_range \ - vmap \ - change_page_attr \ - i2c_adapter \ -- smp_call_function -+ smp_call_function \ -+ acpi_evaluate_integer - endif - - # ---- a/usr/src/nv/Makefile.nvidia -+++ b/usr/src/nv.2990799/Makefile.nvidia -@@ -59,7 +59,8 @@ - vmap \ - change_page_attr \ - i2c_adapter \ -- smp_call_function -+ smp_call_function \ -+ acpi_evaluate_integer - - DEFINES+=$(EXTRA_DEFINES) - ---- a/usr/src/nv/conftest.sh -+++ b/usr/src/nv.2990799/conftest.sh -@@ -67,6 +67,8 @@ - } - - build_cflags() { -+ ARCH=`uname -m | sed -e 's/i.86/i386/'` -+ - BASE_CFLAGS="-D__KERNEL__ \ - -DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \ - -nostdinc -isystem $ISYSTEM" -@@ -80,16 +82,20 @@ - test_xen - - if [ "$OUTPUT" != "$SOURCES" ]; then -- ARCH=`uname -m | sed -e 's/i.86/i386/'` - MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-default" - if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then - MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default" -+ MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default" - fi - if [ "$XEN_PRESENT" != "0" ]; then - MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-xen $MACH_CFLAGS" - fi - else - MACH_CFLAGS="-I$HEADERS/asm/mach-default" -+ if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then -+ MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default" -+ MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default" -+ fi - if [ "$XEN_PRESENT" != "0" ]; then - MACH_CFLAGS="-I$HEADERS/asm/mach-xen $MACH_CFLAGS" - fi -@@ -97,6 +103,9 @@ - - CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS" - -+ if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then -+ CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include" -+ fi - if [ -n "$BUILD_PARAMS" ]; then - CFLAGS="$CFLAGS -D$BUILD_PARAMS" - fi -@@ -858,7 +867,7 @@ - - if [ -f conftest$$.o ]; then - rm -f conftest$$.o -- echo "#undef NV_ON_EACH_CPU" >> conftest.h -+ echo "#undef NV_ON_EACH_CPU_PRESENT" >> conftest.h - return - fi - -@@ -897,6 +906,57 @@ - fi - ;; - -+ acpi_evaluate_integer) -+ # -+ # Determine if the acpi_evaluate_integer() function is -+ # present and the type of its 'data' argument. -+ # -+ -+ echo "$CONFTEST_PREAMBLE -+ #include <acpi/acpi_bus.h> -+ acpi_status acpi_evaluate_integer(acpi_handle h, acpi_string s, -+ struct acpi_object_list *l, unsigned long long *d) { -+ return AE_OK; -+ }" > conftest$$.c -+ -+ $CC $CFLAGS -c conftest$$.c > /dev/null 2>&1 -+ rm -f conftest$$.c -+ -+ if [ -f conftest$$.o ]; then -+ rm -f conftest$$.o -+ echo "#define NV_ACPI_EVALUATE_INTEGER_PRESENT" >> conftest.h -+ echo "typedef unsigned long long nv_acpi_integer_t;" >> conftest.h -+ return -+ fi -+ -+ echo "$CONFTEST_PREAMBLE -+ #include <acpi/acpi_bus.h> -+ acpi_status acpi_evaluate_integer(acpi_handle h, acpi_string s, -+ struct acpi_object_list *l, unsigned long *d) { -+ return AE_OK; -+ }" > conftest$$.c -+ -+ $CC $CFLAGS -c conftest$$.c > /dev/null 2>&1 -+ rm -f conftest$$.c -+ -+ if [ -f conftest$$.o ]; then -+ rm -f conftest$$.o -+ echo "#define NV_ACPI_EVALUATE_INTEGER_PRESENT" >> conftest.h -+ echo "typedef unsigned long nv_acpi_integer_t;" >> conftest.h -+ return -+ else -+ # -+ # We can't report a compile test failure here because -+ # this is a catch-all for both kernels that don't -+ # have acpi_evaluate_integer() and kernels that have -+ # broken header files that make it impossible to -+ # tell if the function is present. -+ # -+ echo "#undef NV_ACPI_EVALUATE_INTEGER_PRESENT" >> conftest.h -+ echo "typedef unsigned long nv_acpi_integer_t;" >> conftest.h -+ fi -+ ;; -+ - esac - } - _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
