From b471290a81f84bb22f8a7671842cf1bd0fadf90d Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sat, 13 Jan 2024 13:33:21 -0600 Subject: [PATCH] odbc-remove-unixodbc: Use SOURCES. --- .../0004-odbc32-Add-initial-tests.patch | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/patches/odbc-remove-unixodbc/0004-odbc32-Add-initial-tests.patch b/patches/odbc-remove-unixodbc/0004-odbc32-Add-initial-tests.patch index 4cfc477f..51897e07 100644 --- a/patches/odbc-remove-unixodbc/0004-odbc32-Add-initial-tests.patch +++ b/patches/odbc-remove-unixodbc/0004-odbc32-Add-initial-tests.patch @@ -1,22 +1,22 @@ -From 648d4f13e26a076feca219b76111c03262504d95 Mon Sep 17 00:00:00 2001 +From 9491dc2b72947bef59d8fb191fdc27a96bcc1c68 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Fri, 3 Feb 2023 14:16:21 +1100 -Subject: [PATCH 04/42] odbc32: Add initial tests +Subject: [PATCH] odbc32: Add initial tests --- configure | 1 + configure.ac | 1 + - dlls/odbc32/tests/Makefile.in | 4 + + dlls/odbc32/tests/Makefile.in | 5 + dlls/odbc32/tests/connection.c | 165 +++++++++++++++++++++++++++++++++ - 4 files changed, 171 insertions(+) + 4 files changed, 172 insertions(+) create mode 100644 dlls/odbc32/tests/Makefile.in create mode 100644 dlls/odbc32/tests/connection.c diff --git a/configure b/configure -index 66e607337db..40b93ce0490 100755 +index ca6e87d4740..027f3fbe53d 100755 --- a/configure +++ b/configure -@@ -21634,6 +21634,7 @@ wine_fn_config_makefile dlls/ntprint enable_ntprint +@@ -22137,6 +22137,7 @@ wine_fn_config_makefile dlls/ntprint enable_ntprint wine_fn_config_makefile dlls/ntprint/tests enable_tests wine_fn_config_makefile dlls/objsel enable_objsel wine_fn_config_makefile dlls/odbc32 enable_odbc32 @@ -25,10 +25,10 @@ index 66e607337db..40b93ce0490 100755 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32 wine_fn_config_makefile dlls/odbccp32/tests enable_tests diff --git a/configure.ac b/configure.ac -index 1033af2e613..249ea8b3f05 100644 +index cba55126869..fc09d145ee7 100644 --- a/configure.ac +++ b/configure.ac -@@ -2898,6 +2898,7 @@ WINE_CONFIG_MAKEFILE(dlls/ntprint) +@@ -2954,6 +2954,7 @@ WINE_CONFIG_MAKEFILE(dlls/ntprint) WINE_CONFIG_MAKEFILE(dlls/ntprint/tests) WINE_CONFIG_MAKEFILE(dlls/objsel) WINE_CONFIG_MAKEFILE(dlls/odbc32) @@ -38,14 +38,15 @@ index 1033af2e613..249ea8b3f05 100644 WINE_CONFIG_MAKEFILE(dlls/odbccp32/tests) diff --git a/dlls/odbc32/tests/Makefile.in b/dlls/odbc32/tests/Makefile.in new file mode 100644 -index 00000000000..4d8716ed2ed +index 00000000000..d7a300417a0 --- /dev/null +++ b/dlls/odbc32/tests/Makefile.in -@@ -0,0 +1,4 @@ +@@ -0,0 +1,5 @@ +TESTDLL = odbc32.dll +IMPORTS = odbc32 + -+C_SRCS = connection.c ++SOURCES = \ ++ connection.c diff --git a/dlls/odbc32/tests/connection.c b/dlls/odbc32/tests/connection.c new file mode 100644 index 00000000000..b04d93c42c5 @@ -218,5 +219,5 @@ index 00000000000..b04d93c42c5 + test_SQLGetDiagRec(); +} -- -2.39.1 +2.43.0