summaryrefslogtreecommitdiff
path: root/micro-emacs/micro-emacs-20040301
diff options
context:
space:
mode:
Diffstat (limited to 'micro-emacs/micro-emacs-20040301')
-rw-r--r--micro-emacs/micro-emacs-20040301/zaurus_make.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/micro-emacs/micro-emacs-20040301/zaurus_make.patch b/micro-emacs/micro-emacs-20040301/zaurus_make.patch
index e69de29bb2..f6994cceb7 100644
--- a/micro-emacs/micro-emacs-20040301/zaurus_make.patch
+++ b/micro-emacs/micro-emacs-20040301/zaurus_make.patch
@@ -0,0 +1,25 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- me040301/src/zaurus.gmk~zaurus_make 2004-03-27 10:02:09.000000000 -0700
++++ me040301/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)