As it says in the link, linux/hayesesp.h was apparently removed in 2.6.33, included in the linux is a patch...which pretty much just does a #undef TIOCGHAYESESP For those that have old Hayes modems might be mad...but I can confirm it fixes the problem. This is both x86 and amd64. gary Reproducible: Always Steps to Reproduce: 1. Upgrade to linux headers 2.6.33 (in ~x86) 2. Try to install setserial 3. Fail on a error: storage size of 'esp' isn't known because hayesesp.h doesn't exist Actual Results: Crashes with error: storage size of 'esp' isn't known problem Expected Results: compile fully #undef TIOCGHAYESESP on line 32 of setserial.c fixes it. Of anyone still does serial stuff it is a nice set of tools to have.
Created attachment 224787 [details, diff] patch for ebuild
Created attachment 224789 [details] modified ebuild to apply patch
Same here, fixed with the attached files.
Comment on attachment 224789 [details] modified ebuild to apply patch post ebuild unified diffs, not entire ebuilds
Comment on attachment 224787 [details, diff] patch for ebuild post unified diffs, not context -- these are terrible for reading and/or reviewing
Created attachment 225257 [details, diff] setserial.c patch
Created attachment 225259 [details, diff] Ebuild patch
From linux-2.6 git repo: commit f53a2ade0bb9f2a81f473e6469155172a96b7c38 Author: Alan Cox <alan@linux.intel.com> Date: Fri Oct 9 12:56:41 2009 +0100 tty: esp: remove broken driver The ESP driver has been marked broken for years. It's an old ISA device that clearly nobody cares about any more. Remove it Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- Documentation/serial/hayes-esp.txt | 154 --- drivers/char/Kconfig | 13 - drivers/char/Makefile | 1 - drivers/char/esp.c | 2533 ------------------------------------ include/linux/Kbuild | 1 - include/linux/hayesesp.h | 114 -- 6 files changed, 0 insertions(+), 2816 deletions(-)
So, are these patches good? Bump?
ive gone with a different patch: http://sources.gentoo.org/sys-apps/setserial/setserial-2.17-r4.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/sys-apps/setserial/files/setserial-2.17-hayes-esp.patch?rev=1.1