[Lunar-commits] <moonbase> setserial: The config.sub is to old, use the system one and adding a
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Sat Aug 21 16:29:48 CEST 2010
commit 5412cb5990e6fac994434b118507e973c14ca08a
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Sat Aug 21 10:29:48 2010 -0400
setserial: The config.sub is to old, use the system one and adding a
undef for compilation with current kernels.
---
utils/setserial/BUILD | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/utils/setserial/BUILD b/utils/setserial/BUILD
index c8b41c5..ce4ec67 100644
--- a/utils/setserial/BUILD
+++ b/utils/setserial/BUILD
@@ -1,6 +1,13 @@
(
+
+# Its config.sub is to ancient for current detection. Use the system.
+ cp /usr/share/automake/config.sub $SOURCE_DIRECTORY &&
+
patch_it $SOURCE2 1 &&
sedit "s:usr/man:usr/share/man:g" Makefile.in &&
+
+ sed -i "26i #undef TIOCGHAYESESP" setserial.c &&
+
default_build &&
install -m 700 rc.serial /etc/init.d/serial.sh &&
More information about the Lunar-commits
mailing list