forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emulation/gallium-nine-standalone: Upstream patch about libwine
Bug: iXit/wine-nine-standalone#92 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: James Le Cuirot <[email protected]>
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
app-emulation/gallium-nine-standalone/files/0.7-no-libwine.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From bddb53abdd1a77b1c019457f7eea4a6404a5e492 Mon Sep 17 00:00:00 2001 | ||
From: Andre Heider <[email protected]> | ||
Date: Sun, 17 Jan 2021 11:42:57 +0100 | ||
Subject: [PATCH] meson: stop checking for libwine | ||
|
||
From the WINE 6.0 release notes: | ||
The libwine library is no longer used, but it's still provided to | ||
support running Winelib modules built against older versions. It is | ||
deprecated however, and will be removed in a future Wine release. | ||
|
||
libwine wasn't used anymore anyway, this just ensures that this tree can | ||
be built against future WINE versions. | ||
--- | ||
meson.build | 4 +--- | ||
1 file changed, 1 insertion(+), 3 deletions(-) | ||
|
||
diff --git a/meson.build b/meson.build | ||
index 0969777..47ee51a 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -35,12 +35,10 @@ code = '''#ifndef __WINE__ | ||
#error 1 | ||
#endif''' | ||
|
||
-if not cc.compiles(code, name: 'winelib check') | ||
+if not cc.compiles(code, name: 'winegcc check') | ||
error('A WINE cross compiler is required') | ||
endif | ||
|
||
-dep_wine = cc.find_library('wine') | ||
- | ||
if not cc.has_header_symbol('windows.h', 'wine_get_unix_file_name') | ||
error('WINE headers not found') | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters