=== Applying patches on top of PostgreSQL commit ID 5af699066f81547aa75c093544fbd57289d30284 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./v1-0001-Allow-to-use-multiple-shared-memory-mappings.patch patching file src/backend/port/posix_sema.c patching file src/backend/port/sysv_sema.c Hunk #1 succeeded at 313 (offset 6 lines). Hunk #2 succeeded at 334 (offset 6 lines). patching file src/backend/port/sysv_shmem.c patching file src/backend/port/win32_sema.c patching file src/backend/storage/ipc/ipc.c patching file src/backend/storage/ipc/ipci.c Hunk #1 succeeded at 85 (offset -3 lines). Hunk #2 succeeded at 204 (offset 2 lines). Hunk #3 succeeded at 363 (offset 1 line). patching file src/backend/storage/ipc/shmem.c Hunk #2 FAILED at 94. Hunk #3 succeeded at 104 (offset -5 lines). Hunk #4 succeeded at 119 (offset -5 lines). Hunk #5 succeeded at 146 (offset -5 lines). Hunk #6 succeeded at 186 (offset -5 lines). Hunk #7 FAILED at 216. Hunk #8 succeeded at 244 (offset -5 lines). Hunk #9 FAILED at 265. Hunk #10 succeeded at 287 (offset -5 lines). Hunk #11 succeeded at 354 (offset -5 lines). Hunk #12 succeeded at 382 (offset -5 lines). Hunk #13 succeeded at 417 (offset -5 lines). Hunk #14 succeeded at 432 (offset -5 lines). Hunk #15 succeeded at 455 (offset -5 lines). Hunk #16 succeeded at 472 (offset -5 lines). Hunk #17 succeeded at 498 (offset -5 lines). Hunk #18 succeeded at 517 (offset -5 lines). Hunk #19 succeeded at 583 (offset -5 lines). Hunk #20 succeeded at 595 (offset -5 lines). 3 out of 20 hunks FAILED -- saving rejects to file src/backend/storage/ipc/shmem.c.rej patching file src/backend/storage/lmgr/lwlock.c patching file src/include/storage/buf_internals.h Hunk #1 succeeded at 22 with fuzz 1 (offset -1 lines). patching file src/include/storage/ipc.h patching file src/include/storage/pg_sema.h patching file src/include/storage/pg_shmem.h patching file src/include/storage/shmem.h Hunk #1 FAILED at 28. 1 out of 1 hunk FAILED -- saving rejects to file src/include/storage/shmem.h.rej