You don't have to do anything. Whenever there's a patch included in a SlackBuild, the SlackBuild script does all that for you. Just run the SlackBuild. In the case of blas, it happens here:
Code:
# Fix lots of bugs with the cmake build system and .pc files.
# More importantly, allow building only the BLAS component.
patch -p1 < $CWD/patches/generate-pkgconfig.diff
patch -p1 < $CWD/patches/link-dependencies.diff
patch -p1 < $CWD/patches/target-cleanup.diff
patch -p1 < $CWD/patches/cmake-piecewise.diff
But to answer the question you asked, imagine you have two files. To see the differences between an original file and a new modified version, you use the diff command. Ok so far? You can save the output of the diff command in a file. The patch command performs the reverse process: by reading the file containing the output of the diff command, and a copy of the original file, it outputs a copy of the new modified version.