Making a patch

I usually fix the SlackBuilds I maintain by sed, as it makes things much more transparent. However, sed is not always an option, especially for some big fixes or fixes that contain “weird” characters, for example something like this:

unless (defined(@$slist) && defined($hlist_sel)) {

The above is an excerpt from perlprimer.pl, that had to be fixed. The problem in question has been discussed here. I wanted to provide a fix for my perlprimer.SlackBuild, therefore I decided to make a patch.
Read the rest of this entry »