Patch to fix compilations problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Linux ia64]     [DCCP]     [Linux for ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux