Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
2965b536
Commit
2965b536
authored
Jan 02, 1995
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove special patch for <netinet/in.h>
From-SVN: r8715
parent
8145f082
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
26 deletions
+27
-26
gcc/fixinc.svr4
+27
-26
No files found.
gcc/fixinc.svr4
View file @
2965b536
...
@@ -1007,32 +1007,33 @@ if [ \! -z "$file_to_fix" ]; then
...
@@ -1007,32 +1007,33 @@ if [ \! -z "$file_to_fix" ]; then
fi
fi
# Conditionalize some of <netinet/in.h> on _KERNEL being defined.
# Conditionalize some of <netinet/in.h> on _KERNEL being defined.
# This has been taken out because it breaks on some versions of
file
=
netinet/in.h
# DYNIX/ptx, and it does not seem to do much good on any system.
base
=
`
basename
$file
`
# file=netinet/in.h
if
[
-r
${
LIB
}
/
$file
]
;
then
# base=`basename $file`
file_to_fix
=
${
LIB
}
/
$file
# if [ -r ${LIB}/$file ]; then
else
# file_to_fix=${LIB}/$file
if
[
-r
${
INPUT
}
/
$file
]
;
then
# else
file_to_fix
=
${
INPUT
}
/
$file
# if [ -r ${INPUT}/$file ]; then
else
# file_to_fix=${INPUT}/$file
file_to_fix
=
""
# else
fi
# file_to_fix=""
fi
# fi
if
[
\!
-z
"
$file_to_fix
"
]
;
then
# fi
echo
Checking
$file_to_fix
# if [ \! -z "$file_to_fix" ]; then
if
grep
_KERNEL
$file_to_fix
>
/dev/null
;
then
# echo Checking $file_to_fix
true
# if grep _KERNEL $file_to_fix > /dev/null; then
else
# true
sed
-e
'/#ifdef INKERNEL/i\
# else
#ifdef _KERNEL'
\
# sed -e '/#ifdef INKERNEL/i\
-e
'/#endif[ ]*\/\* INKERNEL \*\//a\
# #ifdef _KERNEL' \
#endif /* _KERNEL */'
\
# -e '/#endif[ ]*\/\* INKERNEL \*\//a\
$file_to_fix
>
${
LIB
}
/
${
file
}
.sed
# #endif /* _KERNEL */' \
rm
-f
${
LIB
}
/
$file
;
mv
${
LIB
}
/
${
file
}
.sed
${
LIB
}
/
$file
# $file_to_fix > ${LIB}/${file}.sed
echo
Fixed
$file_to_fix
# rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
fi
# echo Fixed $file_to_fix
fi
# fi
# fi
# Conditionalize some of <sys/endian.h> on __GNUC__ and __GNUG__.
# Conditionalize some of <sys/endian.h> on __GNUC__ and __GNUG__.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment