diff options
Diffstat (limited to 'media/libs')
-rwxr-xr-x | media/libs/faac/faac.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libs/faac/faac.SlackBuild b/media/libs/faac/faac.SlackBuild index 8f6e1306..48c44fa4 100755 --- a/media/libs/faac/faac.SlackBuild +++ b/media/libs/faac/faac.SlackBuild @@ -98,6 +98,10 @@ for patch in $patches; do patch -Np1 < "$CWD/$patch" || exit $ERROR_PATCH elif [ -f "$CWD/patches/$patch" ]; then patch -Np1 < "$CWD/patches/$patch" || exit $ERROR_PATCH + elif [ -f "$CWD/$patch.gz" ]; then + gzip -dc "$CWD/$patch.gz" | patch -Np1 || exit $ERROR_PATCH + elif [ -f "$CWD/patches/$patch.gz" ]; then + gzip -dc "$CWD/patches/$patch.gz" | patch -Np1 || exit $ERROR_PATCH fi done |