summaryrefslogtreecommitdiff
path: root/packages/micro-emacs/micro-emacs-20060909/zaurus_make.patch
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-07-15 22:42:44 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-07-15 22:42:44 +0000
commitc32e4a4934ec35a525daf5b5032a870ccb3b24ca (patch)
treecd1099128b09ab372e370120b6e6069d8db2f89a /packages/micro-emacs/micro-emacs-20060909/zaurus_make.patch
parente2b2d27f7de4807fc146a51a90eaca53c758f18c (diff)
micro-emacs: upgrade to latest release. Fixes 2004.
Diffstat (limited to 'packages/micro-emacs/micro-emacs-20060909/zaurus_make.patch')
-rw-r--r--packages/micro-emacs/micro-emacs-20060909/zaurus_make.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/micro-emacs/micro-emacs-20060909/zaurus_make.patch b/packages/micro-emacs/micro-emacs-20060909/zaurus_make.patch
new file mode 100644
index 0000000000..eeb76964de
--- /dev/null
+++ b/packages/micro-emacs/micro-emacs-20060909/zaurus_make.patch
@@ -0,0 +1,25 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- me060909/src/zaurus.gmk~zaurus_make 2004-03-27 10:02:09.000000000 -0700
++++ me060909/src/zaurus.gmk 2004-03-29 17:23:12.000000000 -0700
+@@ -67,7 +67,7 @@
+ # termcap
+ test = $(shell echo "main() { printf(\"HW\n\"); }" > _t.c ; $(LD) $(LDFLAGS) -o /dev/null -ltermcap _t.c 2>&1 ; rm _t.c)
+ ifneq "$(strip $(test))" ""
+-CONSOLE_LIBS = -lncurses
++CONSOLE_LIBS = -lncurses -lgcc -lm
+ else
+ CONSOLE_LIBS = -ltermcap
+ endif
+@@ -163,7 +163,7 @@
+
+ mec: $(OBJ_C)
+ $(RM) $@
+- $(LD) $(LDFLAGS) $(LDOPTIMISE) -o $@ $(OBJ_C) $(CONSOLE_LIBS) $(LIBS)
++ $(CC) $(LDFLAGS) $(LDOPTIMISE) -o $@ $(OBJ_C) $(CONSOLE_LIBS) $(LIBS)
+ $(STRIP) $@
+
+ mew: $(OBJ_W)