as win32sux said, you don't need to use the splice.c.diff.gz file at all unless you are planning to re-compile a Slackware kernel package.
Upgrading any package in Slackware is a s simple as downloading the fixed package from your favorite mirror and upgrading the old package with it. The only difference with the kernel package is that it is generally necessary to run "/sbin/lilo" after the upgrade.
In your case, First determine the kernel that you are using:
Code:
nelson@slaptop:~$ ls -l /boot/vmlinuz
lrwxrwxrwx 1 root root 32 2008-02-18 09:24 /boot/vmlinuz -> vmlinuz-generic-smp-2.6.21.5-smp
nelson@slaptop:~$
You can see that I am using the generic-smp kernel.
Next, download the correct updated package from your mirror (I will use a Finnish Mirror in this example):
Code:
nelson@slaptop:~$ wget ftp://elektroni.phys.tut.fi/slackware-12.0/patches/packages/kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz
--22:27:50-- ftp://elektroni.phys.tut.fi/slackware-12.0/patches/packages/kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz
=> `kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz'
Resolving elektroni.phys.tut.fi... 130.230.131.11
Connecting to elektroni.phys.tut.fi|130.230.131.11|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /slackware-12.0/patches/packages ... done.
==> PASV ... done. ==> RETR kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz ... done.
Length: 2,309,948 (2.2M) (unauthoritative)
100%[====================================>] 2,309,948 222.61K/s ETA 00:00
22:28:05 (188.27 KB/s) - `kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz' saved [2309948]
nelson@slaptop:~$
Now you can upgrade the kernel package:
Code:
nelson@slaptop:~$ su
password:
root@slaptop:nelson# upgradepkg kernel-generic-smp-2.6.21.5_smp-i686-2_slack12.0.tgz
<snipped>
root@slaptop:nelson# /sbin/lilo
Warning: LBA32 addressing assumed
Added Slack *
Added Linux
One warning was issued.
root@slaptop:nelson#
From there you should be Finished!
Also, remember to always read the Slackware ChangeLog.txt before preforming an upgrade, and when upgrading your kernel -- even with an updated official one -- always keep a backup of your old kernel just in case something goes wrong
Hope that helps a bit!