patch -p0 < 01-defines-to-enums-4.patch patching file libhb/common.c patching file libhb/common.h Hunk #2 FAILED at 188. Hunk #3 succeeded at 260 (offset 1 line). Hunk #4 succeeded at 274 (offset 1 line). Hunk #5 succeeded at 317 (offset 1 line). Hunk #6 succeeded at 490 (offset 2 lines). Hunk #7 succeeded at 522 (offset 2 lines). 1 out of 7 hunks FAILED -- saving rejects to file libhb/common.h.rej patching file libhb/deca52.c Hunk #1 succeeded at 219 with fuzz 1 (offset 4 lines). patching file libhb/muxavi.c patching file libhb/muxcommon.c patching file libhb/muxmp4.c patching file libhb/muxogm.c Hunk #1 FAILED at 259. 1 out of 1 hunk FAILED -- saving rejects to file libhb/muxogm.c.rej patching file libhb/sync.c Hunk #1 FAILED at 144. Hunk #3 succeeded at 630 with fuzz 2 (offset -29 lines). Hunk #4 FAILED at 793. Hunk #5 FAILED at 910. 3 out of 5 hunks FAILED -- saving rejects to file libhb/sync.c.rej patching file libhb/work.c Hunk #1 succeeded at 268 with fuzz 2 (offset 4 lines). Hunk #2 succeeded at 350 (offset 4 lines). Hunk #3 succeeded at 360 (offset 4 lines). Hunk #4 succeeded at 374 (offset 4 lines). Hunk #5 succeeded at 550 (offset 4 lines). Hunk #6 succeeded at 584 (offset 4 lines). Hunk #7 succeeded at 659 (offset 4 lines). Hunk #8 succeeded at 686 (offset 4 lines). Hunk #9 succeeded at 709 (offset 4 lines).