Commit 45b33951 by Richard Stallman

*** empty log message ***

From-SVN: r1194
parent 12fe670b
...@@ -146,7 +146,7 @@ while [ $# != 0 ]; do ...@@ -146,7 +146,7 @@ while [ $# != 0 ]; do
/#[a-z]*if.*[ (]ns32000/ s/\([^_]\)ns32000/\1__ns32000__/g /#[a-z]*if.*[ (]ns32000/ s/\([^_]\)ns32000/\1__ns32000__/g
/#[a-z]*if.*[ (]pyr/ s/\([^_]\)pyr/\1__pyr__/g /#[a-z]*if.*[ (]pyr/ s/\([^_]\)pyr/\1__pyr__/g
/#[a-z]*if.*[ (]is68k/ s/\([^_]\)is68k/\1__is68k__/g /#[a-z]*if.*[ (]is68k/ s/\([^_]\)is68k/\1__is68k__/g
/#define.NULL[ ]/ i\ /^#define.NULL[ ]/ i\
#undef NULL #undef NULL
' $2/$file > $2/$file.sed ' $2/$file > $2/$file.sed
mv $2/$file.sed $2/$file mv $2/$file.sed $2/$file
...@@ -237,7 +237,7 @@ fi ...@@ -237,7 +237,7 @@ fi
if [ -r ${LIB}/$file ]; then if [ -r ${LIB}/$file ]; then
echo Fixing $file echo Fixing $file
ex ${LIB}/$file <<EOF ex ${LIB}/$file <<EOF
/size_t.*;/ /typedef.*size_t.*;/
i i
#ifndef _GCC_SIZE_T #ifndef _GCC_SIZE_T
#define _GCC_SIZE_T #define _GCC_SIZE_T
...@@ -287,7 +287,7 @@ fi ...@@ -287,7 +287,7 @@ fi
if [ -r ${LIB}/$file ]; then if [ -r ${LIB}/$file ]; then
echo Fixing $file, definition of nodeent echo Fixing $file, definition of nodeent
ex ${LIB}/$file <<EOF ex ${LIB}/$file <<EOF
g/na_addr/s//&;/ g/char.*na_addr *$/s//&;/
wq wq
EOF EOF
if cmp $file ${LIB}/$file >/dev/null 2>&1; then if cmp $file ${LIB}/$file >/dev/null 2>&1; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment