From 1a79976d4ec19bc9002a329b93be1fe9a495d7ab Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Tue, 17 Nov 2020 21:30:35 +0200 Subject: [PATCH] Apply OpenAL sound patch as file replacement instead of sed calls --- .github/workflows/windows.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 80c0206..a833268 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -36,10 +36,8 @@ jobs: working-directory: ./openFrameworks/scripts/msys2 run: ./install_dependencies.sh --noconfirm - name: Apply Open AL Sound Player patch - working-directory: ./openFrameworks/libs/openFrameworks/sound - run: | - sed -i 's/typedef struct ALCdevice_struct ALCdevice/struct ALCdevice/g' ofOpenALSoundPlayer.h - sed -i 's/typedef struct ALCcontext_struct ALCcontext/struct ALCcontext/g' ofOpenALSoundPlayer.h + working-directory: ./openFrameworks/addons/ofxPiMapper/ + run: cp --force ./ofpatch/msys2/sound/ofOpenALSoundPlayer.* ../../libs/openFrameworks/sound/ - name: Apply makefileCommon patch working-directory: ./openFrameworks/addons/ofxPiMapper/ run: cp --force ./ofpatch/msys2/makefileCommon/config.addons.mk ../../libs/openFrameworksCompiled/project/makefileCommon/config.addons.mk