Patches applied in the Debian version of libedit: ../debian/patches/01-Makefile.dpatch: Add the necessary includes and other things to the libedit Makefile, so it will compile on GNU systems, with our supplied glue code ../debian/patches/02-el.c-issetugid.dpatch: issetugid(2) is not implemented on GNU systems, so #ifdef it out ../debian/patches/03-el.c-MAXPATHLEN.dpatch: on systems without MAXPATHLEN, allocate memory dynamically ../debian/patches/04-readline.h-stdio.dpatch: since readline.h uses types defined in stdio.h, that header should be included