Checking patch sysdeps/gnu/Makefile... error: while searching for: endif ifeq ($(subdir),sysvipc) sysdep_headers += bits/ipc-perm.h endif error: patch failed: sysdeps/gnu/Makefile:46 Checking patch sysdeps/gnu/bits/msq.h... error: while searching for: typedef unsigned short int msgqnum_t; typedef unsigned short int msglen_t; /* Structure of record for one message inside the kernel. The type `struct msg' is opaque. */ struct msqid_ds { struct ipc_perm msg_perm; /* structure describing operation permission */ struct msg *__msg_first; /* pointer to first message on queue */ struct msg *__msg_last; /* pointer to last message on queue */ __time_t msg_stime; /* time of last msgsnd command */ __time_t msg_rtime; /* time of last msgrcv command */ __time_t msg_ctime; /* time of last change */ struct __wait_queue *__wwait; /* ??? */ struct __wait_queue *__rwait; /* ??? */ unsigned short int __msg_cbytes;/* current number of bytes on queue */ msgqnum_t msg_qnum; /* number of messages currently on queue */ msglen_t msg_qbytes; /* max number of bytes allowed on queue */ __ipc_pid_t msg_lspid; /* pid of last msgsnd() */ __ipc_pid_t msg_lrpid; /* pid of last msgrcv() */ }; #ifdef __USE_MISC error: patch failed: sysdeps/gnu/bits/msq.h:32 Checking patch sysdeps/gnu/bits/shm.h... error: while searching for: /* Type to count number of attaches. */ typedef unsigned short int shmatt_t; /* Data structure describing a shared memory segment. */ struct shmid_ds { struct ipc_perm shm_perm; /* operation permission struct */ size_t shm_segsz; /* size of segment in bytes */ __time_t shm_atime; /* time of last shmat() */ __time_t shm_dtime; /* time of last shmdt() */ __time_t shm_ctime; /* time of last change by shmctl() */ __ipc_pid_t shm_cpid; /* pid of creator */ __ipc_pid_t shm_lpid; /* pid of last shmop */ shmatt_t shm_nattch; /* number of current attaches */ unsigned short int __shm_npages; /* size of segment (pages) */ unsigned long int *__shm_pages; /* array of ptrs to frames -> SHMMAX */ struct __vm_area_struct *__attaches; /* descriptors for attaches */ }; #ifdef __USE_MISC error: patch failed: sysdeps/gnu/bits/shm.h:45 Checking patch sysdeps/gnu/bits/types/struct_msqid_ds.h... error: sysdeps/gnu/bits/types/struct_msqid_ds.h: already exists in working directory Checking patch sysdeps/gnu/bits/types/struct_shmid_ds.h... error: sysdeps/gnu/bits/types/struct_shmid_ds.h: already exists in working directory Checking patch sysdeps/mach/hurd/i386/bits/types/struct_msqid_ds.h... error: sysdeps/mach/hurd/i386/bits/types/struct_msqid_ds.h: already exists in working directory Checking patch sysdeps/mach/hurd/i386/bits/types/struct_shmid_ds.h... error: sysdeps/mach/hurd/i386/bits/types/struct_shmid_ds.h: already exists in working directory Checking patch sysdeps/unix/sysv/linux/Makefile... error: while searching for: bits/timerfd.h \ bits/types/struct_msqid64_ds.h \ bits/types/struct_msqid64_ds_helper.h \ bits/types/struct_msqid_ds.h \ bits/types/struct_semid64_ds.h \ bits/types/struct_semid64_ds_helper.h \ bits/types/struct_semid_ds.h \ bits/types/struct_shmid64_ds.h \ bits/types/struct_shmid64_ds_helper.h \ bits/types/struct_shmid_ds.h \ scsi/scsi.h \ scsi/scsi_ioctl.h \ scsi/sg.h \ error: patch failed: sysdeps/unix/sysv/linux/Makefile:156 Applying patch sysdeps/gnu/Makefile with 1 reject... Rejected hunk #1. Applying patch sysdeps/gnu/bits/msq.h with 1 reject... Rejected hunk #1. Applying patch sysdeps/gnu/bits/shm.h with 1 reject... Rejected hunk #1. Applying patch sysdeps/unix/sysv/linux/Makefile with 1 reject... Rejected hunk #1.