mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
patchupdate.py: Replace '.' with underscore for patchinstall.sh script.
This commit is contained in:
parent
39787f3608
commit
340a8a9e73
2
debian/tools/patchupdate.py
vendored
2
debian/tools/patchupdate.py
vendored
@ -505,7 +505,7 @@ def generate_script(all_patches):
|
||||
lines.append("patch_enable_all ()\n")
|
||||
lines.append("{\n")
|
||||
for i, patch in sorted([(i, all_patches[i]) for i in resolved], key=lambda x:x[1].name):
|
||||
patch.variable = "enable_%s" % patch.name.replace("-","_")
|
||||
patch.variable = "enable_%s" % patch.name.replace("-","_").replace(".","_")
|
||||
lines.append("\t%s=\"$1\"\n" % patch.variable)
|
||||
lines.append("}\n")
|
||||
lines.append("\n")
|
||||
|
@ -179,7 +179,7 @@ patch_enable_all ()
|
||||
enable_user32_WndProc="$1"
|
||||
enable_vcomp_Stub_Functions="$1"
|
||||
enable_windowscodecs_TGA_Decoder="$1"
|
||||
enable_wine.inf_Performance="$1"
|
||||
enable_wine_inf_Performance="$1"
|
||||
enable_wineboot_HKEY_DYN_DATA="$1"
|
||||
enable_winebuild_LinkerVersion="$1"
|
||||
enable_winecfg_Libraries="$1"
|
||||
@ -565,7 +565,7 @@ patch_enable ()
|
||||
enable_windowscodecs_TGA_Decoder="$2"
|
||||
;;
|
||||
wine.inf-Performance)
|
||||
enable_wine.inf_Performance="$2"
|
||||
enable_wine_inf_Performance="$2"
|
||||
;;
|
||||
wineboot-HKEY_DYN_DATA)
|
||||
enable_wineboot_HKEY_DYN_DATA="$2"
|
||||
@ -3075,7 +3075,7 @@ fi
|
||||
# | Modified files:
|
||||
# | * loader/wine.inf.in
|
||||
# |
|
||||
if test "$enable_wine.inf_Performance" -eq 1; then
|
||||
if test "$enable_wine_inf_Performance" -eq 1; then
|
||||
patch_apply wine.inf-Performance/0001-wine.inf-Add-registry-keys-for-Windows-Performance-L.patch
|
||||
(
|
||||
echo '+ { "Daniel Jelinski", "wine.inf: Add registry keys for Windows Performance Library.", 1 },';
|
||||
|
Loading…
x
Reference in New Issue
Block a user