Accepting request 887336 from Emulators
- Added upstream fix wine-winegcc-missing-includes.patch and deleted wine-6.6_revert_commit_4f78781.patch. - This fixes carla and lmms builds. (forwarded request 887226 from plater) OBS-URL: https://build.opensuse.org/request/show/887336 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wine?expand=0&rev=337
This commit is contained in:
commit
ec056fb1bd
24
wine-winegcc-missing-includes.patch
Normal file
24
wine-winegcc-missing-includes.patch
Normal file
@ -0,0 +1,24 @@
|
||||
--- a/tools/winegcc/winegcc.c
|
||||
+++ b/tools/winegcc/winegcc.c
|
||||
@@ -904,6 +904,7 @@ no_compat_defines:
|
||||
const char *incl_dirs[] = { INCLUDEDIR, "/usr/include", "/usr/local/include" };
|
||||
const char *root = opts->isysroot ? opts->isysroot : opts->sysroot ? opts->sysroot : "";
|
||||
const char *isystem = gcc_defs ? "-isystem" : "-I";
|
||||
+ const char *idirafter = gcc_defs ? "-idirafter" : "-I";
|
||||
|
||||
if (opts->use_msvcrt)
|
||||
{
|
||||
@@ -921,11 +922,11 @@ no_compat_defines:
|
||||
if (j && !strcmp( incl_dirs[0], incl_dirs[j] )) continue;
|
||||
strarray_add(comp_args, strmake( "%s%s%s/wine/windows", isystem, root, incl_dirs[j] ));
|
||||
}
|
||||
- if (includedir) strarray_add( comp_args, strmake( "%s%s", isystem, includedir ));
|
||||
+ if (includedir) strarray_add( comp_args, strmake( "%s%s", idirafter, includedir ));
|
||||
for (j = 0; j < ARRAY_SIZE(incl_dirs); j++)
|
||||
{
|
||||
if (j && !strcmp( incl_dirs[0], incl_dirs[j] )) continue;
|
||||
- strarray_add(comp_args, strmake( "%s%s%s", isystem, root, incl_dirs[j] ));
|
||||
+ strarray_add(comp_args, strmake( "%s%s%s", idirafter, root, incl_dirs[j] ));
|
||||
}
|
||||
}
|
||||
else if (opts->wine_objdir)
|
12
wine.changes
12
wine.changes
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 21 06:40:00 UTC 2021 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Added upstream fix wine-winegcc-missing-includes.patch and
|
||||
deleted wine-6.6_revert_commit_4f78781.patch.
|
||||
- This fixes carla and lmms builds.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 10:51:51 UTC 2021 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Added wine-6.6_revert_commit_4f78781.patch to fix boo#1184951.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 10 06:06:28 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
|
@ -137,6 +137,8 @@ Source6: wine-msi.desktop
|
||||
Source5: ubuntuwine.tar.bz2
|
||||
Source7: baselibs.conf
|
||||
Source8: wine-rpmlintrc
|
||||
# PATCH FIX UPSTREAM wine-winegcc-missing-includes.patch fix https://bugs.winehq.org/show_bug.cgi?id=50996
|
||||
Patch0: wine-winegcc-missing-includes.patch
|
||||
# SUSE specific patches
|
||||
# - currently none, but add them here
|
||||
#Patch0: susefixes.patch
|
||||
@ -216,7 +218,7 @@ libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -n wine-%{realver}
|
||||
#patch0 -p1
|
||||
%autopatch -p1
|
||||
#
|
||||
cp %{S:3} .
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user