summaryrefslogtreecommitdiff
path: root/emulators/wine/files/patch-man
blob: 849a560ae899580543681b81cedbfc855913f70a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
This backports (parts of)

  commit 22a90656baebdbbe8ec30d3f00f86d6e34f1451e
  Author: Alexandre Julliard <julliard@winehq.org>
  Date:   Thu Feb 13 13:44:17 2025 +0100

    tools: Move the loader man pages to the new Wine loader directory.

and

  commit 6d28db86c9c2559e67a4820175416aff20f7abec
  Author: Alexandre Julliard <julliard@winehq.org>
  Date:   Thu Feb 13 13:40:44 2025 +0100

    tools: Add a simpler Wine launcher in the bin directory.

with some tweaks and hacks in the port Makefile. Luckily all of this
will be obsolete with the next major version.
    
--- UTC
--- configure
+++ configure
@@ -1762,6 +1762,7 @@ enable_server
 enable_tools
 enable_sfnt2fon
 enable_widl
+enable_wine
 enable_winebuild
 enable_winedump
 enable_winegcc
@@ -23212,6 +23214,7 @@ wine_fn_config_makefile server enable_server
 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
+test "x$enable_tools" = xno || wine_fn_config_makefile tools/wine enable_wine
 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
--- UTC
--- configure.ac
+++ configure.ac
@@ -3554,6 +3555,7 @@ WINE_CONFIG_MAKEFILE(server)
 WINE_CONFIG_MAKEFILE(tools,,[test "x$enable_tools" = xno])
 WINE_CONFIG_MAKEFILE(tools/sfnt2fon,,[test "x$enable_tools" = xno])
 WINE_CONFIG_MAKEFILE(tools/widl,,[test "x$enable_tools" = xno])
+WINE_CONFIG_MAKEFILE(tools/wine,,[test "x$enable_tools" = xno])
 WINE_CONFIG_MAKEFILE(tools/winebuild,,[test "x$enable_tools" = xno])
 WINE_CONFIG_MAKEFILE(tools/winedump,,[test "x$enable_tools" = xno])
 WINE_CONFIG_MAKEFILE(tools/winegcc,,[test "x$enable_tools" = xno])
diff --git a/tools/wine/Makefile.in b/tools/wine/Makefile.in
new file mode 100644
index 00000000000..445e1dde9d0
--- UTC
--- /dev/null
+++ tools/wine/Makefile.in
@@ -0,0 +1,8 @@
+PROGRAMS = wine
+
+SOURCES = \
+	wine.c \
+	wine.de.UTF-8.man.in \
+	wine.fr.UTF-8.man.in \
+	wine.man.in \
+	wine.pl.UTF-8.man.in
+
+wine_EXTRADEFS = -DBINDIR="\"${bindir}\"" -DLIBDIR="\"${libdir}\""
+
+INSTALL_LIB = $(PROGRAMS)
--- UTC
--- loader/Makefile.in
+++ loader/Makefile.in
@@ -2,12 +2,8 @@ SOURCES = \
 	main.c \
 	preloader.c \
 	preloader_mac.c \
-	wine.de.UTF-8.man.in \
 	wine.desktop \
-	wine.fr.UTF-8.man.in \
 	wine.inf.in \
-	wine.man.in \
-	wine.pl.UTF-8.man.in \
 	wine_info.plist.in
 
 PROGRAMS = $(WINELOADER_PROGRAMS)
--- UTC
--- /dev/null
+++ tools/wine/wine.c
@@ -0,0 +1,6 @@
+#include <stdarg.h>
+
+int main( int argc, char *argv[] )
+{
+return 99;
+}