To apply the nspr_4.8_sctp.patch, first download a copy of NSPR 4.8 (ftp://ftp.mozilla.org/pub/mozilla.org/). Next copy the patch file into the same directory as NSPR 4.8's nsprpub directory, and run
You will need to run autoconf 2.13 from within the nsprpub directory to generate the new configure script. To build NSPR with SCTP enabled, run the configure script with the --enable-sctp option. This patch has been tested on FreeBSD 7.0 through 7.2, Mac OS X 10.5.6, Linux 2.6.28, Solaris 5.10 and OpenSolaris 5.11. The patch should also work on some older versions of Linux, Solaris, and OpenSolaris.
Copy the patch file into the same directory as nsprpub and then run the following commands:
N.B. Autoconf 2.13 may be called autoconf213, autoconf2.13, or some other variant, depending on how it was installed. On Mac OS X and Linux, use make instead of gmake. To run the sctp executable (or any other executable) on Mac OS X use the following command: