-
Notifications
You must be signed in to change notification settings - Fork 267
Custom Patches
Lars The edited this page Jul 8, 2019
·
4 revisions
Here you can found useful information to create/edit/configure your *_extra.sh
files.
If you use do_patch
with a patch that adds a new file, you will be in trouble the second time you run the suite. The problem is because the update process doesn't remove new files, and when applying the patch it fails because the file already exists.
As a workaround you can remove the file. Example ffmpeg_extra.sh
:
#!/bin/bash
_pre_configure(){
rm -rf "$LOCALBUILDDIR/ffmpeg-git/libavcodec/my_filter.c"
do_patch "https://patchwork.ffmpeg.org/patch/99999999/mbox/ my_filter.patch" am
}