--- config.guess.orig	Tue Apr 16 02:15:59 2002
+++ config.guess	Fri Jun 28 17:19:43 2002
@@ -166,7 +166,7 @@
 		;;
 	esac
 	# The OS release
-	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*$//'`
 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
 	# contains redundant information, the shorter form:
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
--- gcc/config/t-freebsd.orig	Tue Oct  1 20:37:02 2002
+++ gcc/config/t-freebsd	Tue Oct  1 20:36:10 2002
@@ -2,4 +2,7 @@
 STMP_FIXPROTO =
 
+# We don't need GCC's own include files.
+USER_H =
+
 # Compile crtbeginS.o and crtendS.o with pic.
 CRTSTUFF_T_CFLAGS_S = -fPIC
