Skip to content

Commit

Permalink
wine-tkg-git: Don't check for _use_dxvk to allow _dxvk_winelib_fix to…
Browse files Browse the repository at this point in the history
… be enabled. Fixes a loophole when you want to build DXVK but require a fixed build in the first place.
  • Loading branch information
Tk-Glitch committed Nov 23, 2018
1 parent ae951bd commit b941497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wine-tkg-git/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname=wine-tkg-git
pkgver=3.20.r26.gd373c19f
pkgrel=94
pkgrel=95
_winesrcdir='wine-git'
_stgsrcdir='wine-staging-git'
_pbasrcdir='wine-pba'
Expand Down Expand Up @@ -454,7 +454,7 @@ prepare() {
export LDFLAGS="${LDFLAGS/,-z,now/}"

# Revert 0e279d2 to fix DXVK winelib compilation on 3.20 devel - https://github.com/wine-mirror/wine/commit/0e279d26b8386fc878f17bd6768e46e1cf9c5128
if [ $_use_dxvk == "true" ] && [ $_dxvk_winelib_fix == "true" ] && [ 0 -eq $(git log | grep 0e279d26b8386fc878f17bd6768e46e1cf9c5128 > /dev/null 2> /dev/null; echo $?) ]; then # winegcc: Add -I for the prefix's include dir.
if [ $_dxvk_winelib_fix == "true" ] && [ 0 -eq $(git log | grep 0e279d26b8386fc878f17bd6768e46e1cf9c5128 > /dev/null 2> /dev/null; echo $?) ]; then # winegcc: Add -I for the prefix's include dir.
git revert --no-commit 0e279d26b8386fc878f17bd6768e46e1cf9c5128 && echo "Reverted 0e279d2 (3.20 DXVK winelib fix)" >> $_where/last_build_config.log
fi

Expand Down

0 comments on commit b941497

Please sign in to comment.