Prakash Surya 37fd6e00a6 Add script to fix file names in upstream patches
Added a simple sed script to do a search and replace on the Illumos
ZFS file names and replace them with the ZFS on Linux equivalent.

Example usage:

    # Replace Illumos paths with Linux paths
    $ ./scripts/zfs2zol-patch.sed arc.c.patch > arc.c.patch.linux

    # Ensure the script worked as expected
    $ diff arc.c.patch arc.c.patch.linux

    # Apply the patch using Linux paths
    $ patch -p1 < arc.c.patch.linux

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1679
2013-10-29 10:30:43 -07:00
..
2012-08-27 11:47:44 -07:00
2013-03-06 15:46:40 -08:00
2013-03-18 15:33:17 -07:00
2013-08-01 09:48:07 -07:00
2011-10-11 14:45:37 -07:00
2011-06-13 13:50:21 -07:00
2010-08-31 13:42:01 -07:00
2010-08-31 13:41:27 -07:00