Bug#578731: rudiments: FTBFS on GNU/kFreeBSD
Package: rudiments
Version: 0.32-1
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
Please find patch bellow with tweaks.
It would also be nice if you can ask upstream
to include this changes.
Thanks in advance
--- include/rudiments/serialportprofile.h
+++ include/rudiments/serialportprofile.h
@@ -130,8 +130,13 @@
#ifdef TABDLY
enum tabdelay_t {
td_none=TAB0,
+ #if defined(TAB1) && defined(TAB2)
td_depends=TAB1,
td_100=TAB2
+ #else
+ td_depends=TAB0,
+ td_100=TAB3
+ #endif
};
#endif
Reply to: