From c3db92d75d625c4f2be45327a117340c2018c139 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Sun, 27 Nov 2022 13:39:48 +1100 Subject: [PATCH] Updated nvcuda-CUDA_Support patchset --- .../0002-nvcuda-Add-stub-dll.patch | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/patches/nvcuda-CUDA_Support/0002-nvcuda-Add-stub-dll.patch b/patches/nvcuda-CUDA_Support/0002-nvcuda-Add-stub-dll.patch index a29013ac..090ad269 100644 --- a/patches/nvcuda-CUDA_Support/0002-nvcuda-Add-stub-dll.patch +++ b/patches/nvcuda-CUDA_Support/0002-nvcuda-Add-stub-dll.patch @@ -1,25 +1,25 @@ -From b3f2f6d8a32de3c4db5c9a132e5cf43528e63f4b Mon Sep 17 00:00:00 2001 +From 318d8401fdfa9209b6493360d721bf87a5727e12 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 3 Jan 2015 03:32:12 +0100 Subject: [PATCH] nvcuda: Add stub dll. --- configure.ac | 1 + - dlls/nvcuda/Makefile.in | 5 + - dlls/nvcuda/nvcuda.c | 35 +++++ + dlls/nvcuda/Makefile.in | 8 ++ + dlls/nvcuda/nvcuda.c | 34 +++++ dlls/nvcuda/nvcuda.rc | 33 +++++ dlls/nvcuda/nvcuda.spec | 308 ++++++++++++++++++++++++++++++++++++++++ - 5 files changed, 382 insertions(+) + 5 files changed, 384 insertions(+) create mode 100644 dlls/nvcuda/Makefile.in create mode 100644 dlls/nvcuda/nvcuda.c create mode 100644 dlls/nvcuda/nvcuda.rc create mode 100644 dlls/nvcuda/nvcuda.spec diff --git a/configure.ac b/configure.ac -index 49d414e1d17..9c2efc4d35e 100644 +index 7313fde9a4e..912d1b4ab83 100644 --- a/configure.ac +++ b/configure.ac -@@ -2903,6 +2903,7 @@ WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe) +@@ -2924,6 +2924,7 @@ WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe) WINE_CONFIG_MAKEFILE(dlls/ntoskrnl.exe/tests) WINE_CONFIG_MAKEFILE(dlls/ntprint) WINE_CONFIG_MAKEFILE(dlls/ntprint/tests) @@ -29,21 +29,24 @@ index 49d414e1d17..9c2efc4d35e 100644 WINE_CONFIG_MAKEFILE(dlls/odbcbcp) diff --git a/dlls/nvcuda/Makefile.in b/dlls/nvcuda/Makefile.in new file mode 100644 -index 00000000000..f80da630710 +index 00000000000..5ea9bc64f1c --- /dev/null +++ b/dlls/nvcuda/Makefile.in -@@ -0,0 +1,5 @@ +@@ -0,0 +1,8 @@ +MODULE = nvcuda.dll +EXTRADLLFLAGS = -mcygwin + +C_SRCS = \ + nvcuda.c ++ ++RC_SRCS = \ ++ nvcuda.rc diff --git a/dlls/nvcuda/nvcuda.c b/dlls/nvcuda/nvcuda.c new file mode 100644 -index 00000000000..f89ebc9d3e2 +index 00000000000..ef1d8c2a2db --- /dev/null +++ b/dlls/nvcuda/nvcuda.c -@@ -0,0 +1,35 @@ +@@ -0,0 +1,34 @@ +/* + * Copyright (C) 2014-2015 Sebastian Lackner + * @@ -62,7 +65,6 @@ index 00000000000..f89ebc9d3e2 + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + -+#include "config.h" +#include + +#include "windef.h" @@ -433,5 +435,5 @@ index 00000000000..279f7ab803b +@ stub cuTexRefSetMipmappedArray +@ stub cuWGLGetDevice -- -2.35.1 +2.38.1