* Patch to fix compilations problems
@ 2012-01-11 0:32 Juan Perez-Sanchez
0 siblings, 0 replies; only message in thread
From: Juan Perez-Sanchez @ 2012-01-11 0:32 UTC (permalink / raw)
To: linux-8086
Hi,
I recently got a cvs copy of ELKS sources and found several
compilation problems.
This patch fixes those problems.
Juan,
diff -Nurb elks.orig/arch/i86/drivers/char/Config.in
elks/arch/i86/drivers/char/Config.in
--- elks.orig/arch/i86/drivers/char/Config.in 2006-11-23
20:45:37.000000000 -0600
+++ elks/arch/i86/drivers/char/Config.in 2012-01-09 17:55:07.000000000 -0600
@@ -3,7 +3,7 @@
#
mainmenu_option next_comment
- comment 'Character device drivers (SUBMENU IS CURRENTLY BROKEN!)'
+ comment 'Character device drivers'
if [ "$CONFIG_ARCH_SIBO" != "y" ]; then
choice 'Select console driver' \
diff -Nurb elks.orig/arch/i86/drivers/char/KeyMaps/mkcfg
elks/arch/i86/drivers/char/KeyMaps/mkcfg
--- elks.orig/arch/i86/drivers/char/KeyMaps/mkcfg 2002-04-24
17:03:53.000000000 -0500
+++ elks/arch/i86/drivers/char/KeyMaps/mkcfg 2012-01-09 17:51:33.000000000 -0600
@@ -23,4 +23,4 @@
printf '"\t\tAmerican\n\n# EOF.\n' >&3
}
-codes | sort +1f | process 3> Config.in 4> keymaps.h
+codes | sort -k 2 | process 3> Config.in 4> keymaps.h
diff -Nurb elks.orig/Makefile elks/Makefile
--- elks.orig/Makefile 2004-09-16 15:09:50.000000000 -0500
+++ elks/Makefile 2012-01-09 17:44:32.000000000 -0600
@@ -142,7 +142,7 @@
include/linuxmt/compiler-generated.h:
printf > include/linuxmt/compiler-generated.h \
'#define %s %s\n' \
- UTS_VERSION "\"#$(DIST) $(shell date)\""
+ UTS_VERSION "\"#$(DIST) $(shell date)\""
#########################################################################
# lint rule
diff -Nurb elks.orig/Makefile-rules elks/Makefile-rules
--- elks.orig/Makefile-rules 2003-07-12 22:04:04.000000000 -0500
+++ elks/Makefile-rules 2012-01-09 18:09:40.000000000 -0600
@@ -91,7 +91,7 @@
DIST = $(shell printf '%u.%u.%u-pre%u' \
$(VERSION) $(PATCHLEVEL) $(SUBLEVEL) $(PRE))
-VSNCODE = $(shell printf '0x%06X%02X' $$[$(VSNCODE1)-1] $(PRE))
+VSNCODE = $(shell printf '0x%06X%02X' $$(($(VSNCODE1)-1)) $(PRE))
endif
--
To unsubscribe from this list: send the line "unsubscribe linux-8086" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-11 0:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 0:32 Patch to fix compilations problems Juan Perez-Sanchez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.