diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/libpciaccess/nvhpc.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/libpciaccess/nvhpc.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libpciaccess/nvhpc.patch b/var/spack/repos/builtin/packages/libpciaccess/nvhpc.patch new file mode 100644 index 0000000000..522a7edf62 --- /dev/null +++ b/var/spack/repos/builtin/packages/libpciaccess/nvhpc.patch @@ -0,0 +1,11 @@ +--- a/include/pciaccess.h 2020-08-07 11:43:47.395032509 -0700 ++++ b/include/pciaccess.h 2020-08-07 11:44:13.384136014 -0700 +@@ -59,7 +59,7 @@ + + #include <inttypes.h> + +-#if (__GNUC__ >= 3) || (__SUNPRO_C >= 0x5130) ++#if (((__GNUC__ >= 3) || (__SUNPRO_C >= 0x5130)) && !defined __NVCOMPILER) + #define __deprecated __attribute__((deprecated)) + #else + #define __deprecated |