1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/x11/nvidia-driver/files/extra-patch-src-nv-misc.h
Marius Strobl 773fd2d837 - Update nvidia-driver to 331.67.
- For i386, allow to build the non-legacy NVIDIA drivers with PAE support
  via an option, defaulting to disabled. This is tricky in two ways. First
  off, while their binary part is PAE-capable since around version 285,
  their build glue and wrapper only partially is. Second, for modules
  built along the kernel, enabled PAE support would be picked up via the
  generated opt_global.h from KERNBUILDDIR, which isn't available when
  compiling modules stand-alone. Nevertheless, these source modifications
  are modeled in a way so they also do the right thing when integrating a
  nvidia-driver module into a kernel build.

Approved by:	maintainer timeout (2 weeks)
Sponsored by:   Bally Wulff Games & Entertainment GmbH
2014-05-20 13:23:15 +00:00

12 lines
249 B
C

--- src/nv-misc.h.orig 2014-02-13 05:07:44.000000000 +0100
+++ src/nv-misc.h 2014-05-05 18:45:44.000000000 +0200
@@ -11,6 +11,8 @@
#ifndef _NV_MISC_H_
#define _NV_MISC_H_
+#include "opt_global.h"
+
#include "nvtypes.h"
#include "rmretval.h"