mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
2.1 KiB

diff -Nur nedit-5.5-orig/makefiles/Makefile.linux nedit-5.5/makefiles/Makefile.linux
--- nedit-5.5-orig/makefiles/Makefile.linux 2005-01-03 16:27:48.636034664 +0100
+++ nedit-5.5/makefiles/Makefile.linux 2005-01-03 16:30:00.425999544 +0100
@@ -17,11 +17,11 @@
# To test if the Motif library exports the runtime version
# add -DHAVE__XMVERSIONSTRING to CFLAGS
#
-CFLAGS=-O -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
+CFLAGS=-O -I/usr/X11R6/include -D__LINUX__ -DUSE_DIRENT -DUSE_LPR_PRINT_CMD
ARFLAGS=-urs
-LIBS= -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXp -lXpm -lXext -lXt -lSM -lICE -lX11 -lm
+LIBS= -L/usr/X11R6/lib -lXm -lXp -lXext -lXt -lSM -lICE -lX11 -lm
include Makefile.common
diff -Nur nedit-5.5-orig/source/preferences.c nedit-5.5/source/preferences.c
--- nedit-5.5-orig/source/preferences.c 2005-01-03 16:27:48.711023264 +0100
+++ nedit-5.5/source/preferences.c 2005-01-03 16:32:42.992285712 +0100
@@ -335,14 +335,14 @@
#ifndef VMS
#ifdef linux
{"shellCommands", "ShellCommands", PREF_ALLOC_STRING, "spell:Alt+B:s:EX:\n\
- cat>spellTmp; xterm -e ispell -x spellTmp; cat spellTmp; rm spellTmp\n\
+ cat>spellTmp; xterm -e aspell -c -x spellTmp; cat spellTmp; rm spellTmp\n\
wc::w:ED:\nwc | awk '{print $1 \" lines, \" $2 \" words, \" $3 \" characters\"}'\n\
sort::o:EX:\nsort\nnumber lines::n:AW:\nnl -ba\nmake:Alt+Z:m:W:\nmake\n\
expand::p:EX:\nexpand\nunexpand::u:EX:\nunexpand\n",
&TempStringPrefs.shellCmds, NULL, True},
#elif __FreeBSD__
{"shellCommands", "ShellCommands", PREF_ALLOC_STRING, "spell:Alt+B:s:EX:\n\
- cat>spellTmp; xterm -e ispell -x spellTmp; cat spellTmp; rm spellTmp\n\
+ cat>spellTmp; xterm -e aspell -c -x spellTmp; cat spellTmp; rm spellTmp\n\
wc::w:ED:\nwc | awk '{print $2 \" lines, \" $1 \" words, \" $3 \" characters\"}'\n\
sort::o:EX:\nsort\nnumber lines::n:AW:\npr -tn\nmake:Alt+Z:m:W:\nmake\n\
expand::p:EX:\nexpand\nunexpand::u:EX:\nunexpand\n",
@@ -928,6 +928,8 @@
{"shell", "Shell", PREF_STRING,
#if defined(__MVS__) || defined(__EMX__)
"/bin/sh",
+#elif __LINUX__
+ "/bin/sh",
#else
"/bin/csh",
#endif