pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/g95: remove (mechanical cleanup) Parameters considered: - pkgsrc/lang/ g95 exists - pkgsrc (0.93nb7) >= wip (0.93nb2) - doc/CHANGES-2013: Updated to 0.93nb4 [joerg 2013-09-20] - doc/CHANGES-2014: Updated to 0.93nb5 [jperkin 2014-02-17] - wip/g95 last touched [ makoto 2013-06-21] - package does not appear to be actively used to stage updates - manual inspection of diff revealed no uncommitted improvements



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Wed Sep 23 04:34:06 2015 +0200
Changeset:	e5a727aa5e787ebbbba6c08ea1f5470c4876a0f7

Removed Files:
	g95/DESCR
	g95/Makefile
	g95/PLIST
	g95/PLIST.Darwin
	g95/PLIST.DragonFly
	g95/PLIST.Linux
	g95/PLIST.SunOS
	g95/buildlink3.mk
	g95/distinfo
	g95/patches/patch-ab
	g95/patches/patch-ac
	g95/patches/patch-configure
	g95/patches/patch-configure.in
	g95/patches/patch-g95-093_kinds_c
	g95/patches/patch-g95-config.h.in
	g95/patches/patch-gcc_config.gcc
	g95/patches/patch-gcc_config_dragonfly-spec.h
	g95/patches/patch-gcc_config_dragonfly.h
	g95/patches/patch-gcc_config_i386_dragonfly.h
	g95/patches/patch-gcc_config_i386_dragonfly64.h
	g95/patches/patch-gcc_config_netbsd.h
	g95/patches/patch-gcc_config_t-dragonfly
	g95/patches/patch-gcc_config_t-dragonfly-thread
	g95/patches/patch-gcc_ginclude_stddef.h
	g95/patches/patch-gcc_toplev.h
	g95/patches/patch-libf95.a-0.92_configure
	g95/patches/patch-libf95.a-0.92_io_atof.c
	g95/patches/patch-libf95.a-0.93_intrinsics_dot__product10.c
	g95/patches/patch-libf95.a-0.93_intrinsics_matmul10.c
	g95/patches/patch-libf95.a-0.93_intrinsics_random.c
	g95/patches/patch-libf95.a-0.93_io_read.c
	g95/patches/patch-libf95.a-0.93_math_ff.c
	g95/patches/patch-libf95.a-0.93_math_x87.S
	g95/patches/patch-libf95.a-0.93_quad_power16.c

Log Message:
wip/g95: remove (mechanical cleanup)
Parameters considered:
- pkgsrc/lang/g95 exists
- pkgsrc (0.93nb7) >= wip (0.93nb2)
- doc/CHANGES-2013: Updated to 0.93nb4 [joerg 2013-09-20]
- doc/CHANGES-2014: Updated to 0.93nb5 [jperkin 2014-02-17]
- wip/g95 last touched [makoto 2013-06-21]
- package does not appear to be actively used to stage updates
- manual inspection of diff revealed no uncommitted improvements

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e5a727aa5e787ebbbba6c08ea1f5470c4876a0f7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 g95/DESCR                                          |   4 -
 g95/Makefile                                       |  60 --------
 g95/PLIST                                          |  13 --
 g95/PLIST.Darwin                                   |   4 -
 g95/PLIST.DragonFly                                |   5 -
 g95/PLIST.Linux                                    |   6 -
 g95/PLIST.SunOS                                    |   4 -
 g95/buildlink3.mk                                  |  12 --
 g95/distinfo                                       |  33 -----
 g95/patches/patch-ab                               |  27 ----
 g95/patches/patch-ac                               |  15 --
 g95/patches/patch-configure                        |  28 ----
 g95/patches/patch-configure.in                     |  17 ---
 g95/patches/patch-g95-093_kinds_c                  |  15 --
 g95/patches/patch-g95-config.h.in                  |  16 ---
 g95/patches/patch-gcc_config.gcc                   |  53 -------
 g95/patches/patch-gcc_config_dragonfly-spec.h      | 124 -----------------
 g95/patches/patch-gcc_config_dragonfly.h           |  94 -------------
 g95/patches/patch-gcc_config_i386_dragonfly.h      | 152 ---------------------
 g95/patches/patch-gcc_config_i386_dragonfly64.h    |  52 -------
 g95/patches/patch-gcc_config_netbsd.h              |  62 ---------
 g95/patches/patch-gcc_config_t-dragonfly           |  12 --
 g95/patches/patch-gcc_config_t-dragonfly-thread    |   9 --
 g95/patches/patch-gcc_ginclude_stddef.h            |  52 -------
 g95/patches/patch-gcc_toplev.h                     |  20 ---
 g95/patches/patch-libf95.a-0.92_configure          |  15 --
 g95/patches/patch-libf95.a-0.92_io_atof.c          |  14 --
 ...patch-libf95.a-0.93_intrinsics_dot__product10.c |  58 --------
 .../patch-libf95.a-0.93_intrinsics_matmul10.c      | 112 ---------------
 .../patch-libf95.a-0.93_intrinsics_random.c        |  13 --
 g95/patches/patch-libf95.a-0.93_io_read.c          |  13 --
 g95/patches/patch-libf95.a-0.93_math_ff.c          |  31 -----
 g95/patches/patch-libf95.a-0.93_math_x87.S         |  58 --------
 g95/patches/patch-libf95.a-0.93_quad_power16.c     |  17 ---
 34 files changed, 1220 deletions(-)

diffs:
diff --git a/g95/DESCR b/g95/DESCR
deleted file mode 100644
index c7c5deb..0000000
--- a/g95/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-G95 is a stable, production Fortran 95 compiler available for multiple
-CPU architectures and operating systems. Innovations and optimizations
-continue to be worked on. Parts of the F2003 standard have been
-implemented in g95.
diff --git a/g95/Makefile b/g95/Makefile
deleted file mode 100644
index e2ffd98..0000000
--- a/g95/Makefile
+++ /dev/null
@@ -1,60 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-DISTNAME=	g95_source
-PKGNAME=	g95-0.93
-PKGREVISION=	2
-CATEGORIES=	lang
-MASTER_SITES=	http://ftp.g95.org/v${PKGVERSION_NOREV}/
-EXTRACT_SUFX=	.tgz
-DISTFILES=	${DEFAULT_DISTFILES} gcc-core-${GCC_VER}.tar.bz2
-SITES.gcc-core-4.1.2.tar.bz2=	${MASTER_SITE_GNU:=gcc/gcc-${GCC_VER}/}
-
-MAINTAINER=	wennmach%NetBSD.org@localhost
-HOMEPAGE=	http://www.g95.org/
-COMMENT=	Fortran 95 compiler from g95.org
-LICENSE=	gnu-gpl-v2
-
-USE_TOOLS+=		gmake gtar
-GNU_CONFIGURE=		yes
-CONFIGURE_ARGS+=	--with-gcc-dir=${GCC_DIR}
-WRKSRC=			${WRKDIR}/${PKGNAME_NOREV}
-PLIST_SUBST+=		MACHINE_GNU_PLATFORM=${MACHINE_GNU_PLATFORM:Q}
-
-GCC_VER=		4.1.2
-GCC_DIR=		${WRKDIR}/gcc-${GCC_VER}
-GCC_G95_DIR=		${GCC_DIR}/g95
-GCC_CONFIGURE_SCRIPT=	../configure
-GCC_CONFIGURE_ARGS=	${CONFIGURE_ARGS}
-GCC_CONFIGURE_ARGS+=	--enable-languages=c
-GCC_CONFIGURE_ARGS+=	--disable-multilib
-
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS"
-GCC_CONFIGURE_ENV+=	OBJDUMP=/usr/sfw/bin/gobjdump
-GCC_CONFIGURE_ARGS+=	--without-gnu-ld --with-ld=/usr/ccs/bin/ld
-.  if !exists(/usr/sfw/bin/gas)
-GCC_CONFIGURE_ARGS+=	--without-gnu-as --with-as=/usr/ccs/bin/as
-.  else
-GCC_CONFIGURE_ARGS+=	--with-gnu-as --with-as=/usr/sfw/bin/gas
-.  endif
-.endif
-
-post-extract:
-	${MKDIR} ${GCC_G95_DIR}
-	cd ${WRKSRC} && ${GTAR} -xzf libf95.a-${PKGVERSION_NOREV}.tar.gz
-
-pre-configure:
-	rm -f ${GCC_DIR}/config.sub ${GCC_DIR}/config.guess
-	ln -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${GCC_DIR}/config.sub
-	ln -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${GCC_DIR}/config.guess
-	cd ${GCC_G95_DIR} && ${GCC_CONFIGURE_SCRIPT} ${GCC_CONFIGURE_ARGS} && ${GMAKE}
-
-post-build:
-	cd ${WRKSRC}/libf95.a-${PKGVERSION_NOREV} && ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} && ${GMAKE}
-
-post-install:
-	cd ${WRKSRC}/libf95.a-${PKGVERSION_NOREV} && ${GMAKE} install DESTDIR=${DESTDIR:Q}
-	cd ${DESTDIR}${PREFIX}/bin && ${LN} -sf ${MACHINE_GNU_PLATFORM:Q}-g95 g95
-	cd ${DESTDIR}${PREFIX}/bin && ${LN} -sf ${MACHINE_GNU_PLATFORM:Q}-g95 f95
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/g95/PLIST b/g95/PLIST
deleted file mode 100644
index eff11f9..0000000
--- a/g95/PLIST
+++ /dev/null
@@ -1,13 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2013/06/21 07:38:52 makoto Exp $
-bin/f95
-bin/g95
-bin/${MACHINE_GNU_PLATFORM}-g95
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/cc1
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/f951
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/libgcc_eh.a
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/libgcc_s.so
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/libgcc_s.so.1
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/libgcc.a
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/libf95.a
-share/doc/g95/G95Manual.pdf
-share/doc/g95/INSTALL
diff --git a/g95/PLIST.Darwin b/g95/PLIST.Darwin
deleted file mode 100644
index 73c7298..0000000
--- a/g95/PLIST.Darwin
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST.Darwin,v 1.1 2013/06/21 07:38:52 makoto Exp $
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crt2.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/libgcc_s.10.4.dylib
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/libgcc_s.10.5.dylib
diff --git a/g95/PLIST.DragonFly b/g95/PLIST.DragonFly
deleted file mode 100644
index b03fd6e..0000000
--- a/g95/PLIST.DragonFly
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST.DragonFly,v 1.1 2013/06/21 07:38:52 makoto Exp $
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtbegin.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtbeginS.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtend.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtendS.o
diff --git a/g95/PLIST.Linux b/g95/PLIST.Linux
deleted file mode 100644
index 49400ae..0000000
--- a/g95/PLIST.Linux
+++ /dev/null
@@ -1,6 +0,0 @@
-@comment $NetBSD: PLIST.Linux,v 1.1 2013/06/21 07:38:52 makoto Exp $
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtbegin.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtbeginS.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtbeginT.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtend.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtendS.o
diff --git a/g95/PLIST.SunOS b/g95/PLIST.SunOS
deleted file mode 100644
index 700e767..0000000
--- a/g95/PLIST.SunOS
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD: PLIST.SunOS,v 1.1 2013/06/21 07:38:52 makoto Exp $
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtbegin.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/crtend.o
-lib/gcc-lib/${MACHINE_GNU_PLATFORM}/4.1.2/gmon.o
diff --git a/g95/buildlink3.mk b/g95/buildlink3.mk
deleted file mode 100644
index b43f177..0000000
--- a/g95/buildlink3.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-BUILDLINK_TREE+=	g95
-
-.if !defined(G95_BUILDLINK3_MK)
-G95_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.g95+=	g95>=0.91
-BUILDLINK_PKGSRCDIR.g95?=	../../lang/g95
-.endif # G95_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-g95
diff --git a/g95/distinfo b/g95/distinfo
deleted file mode 100644
index 3fa1055..0000000
--- a/g95/distinfo
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: distinfo,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-SHA1 (g95_source.tgz) = b5e503fd6459b65cbda73190685f9490230d9cff
-RMD160 (g95_source.tgz) = 98d03e9a1835f4b3553a72a798bdf1d90a757176
-Size (g95_source.tgz) = 1355198 bytes
-SHA1 (gcc-core-4.1.2.tar.bz2) = d6875295f6df1bec4a6f4ab8f0da54bfb8d97306
-RMD160 (gcc-core-4.1.2.tar.bz2) = 612cbd5b795f7095fb3f565e6a8eaaee82c472c5
-Size (gcc-core-4.1.2.tar.bz2) = 17485561 bytes
-SHA1 (patch-ab) = 74187ee99e3e383333219cbc53676c07ca03ff19
-SHA1 (patch-ac) = b20a90cc2f9078cf0048980b75fa6836da0f28a8
-SHA1 (patch-configure) = 26aaad8ac844facbcabe34635928fc6195bb54e8
-SHA1 (patch-configure.in) = 27895e65d04d53281f836be4183d16b810833628
-SHA1 (patch-g95-093_kinds_c) = b6b35bbb765965c7835027749a13cf056db5ac09
-SHA1 (patch-g95-config.h.in) = 6a160e36d9d6cda4cc8b6ae5f5566f9f45eb1ea8
-SHA1 (patch-gcc_config.gcc) = 9da8f32372c64b1590d97e3f26aec0d5652cc959
-SHA1 (patch-gcc_config_dragonfly-spec.h) = bf0c97caa314714542cf8cc63fdf0c73bda80511
-SHA1 (patch-gcc_config_dragonfly.h) = 6d46b7b4637a20b36e19a15e1eaffdfff6638de9
-SHA1 (patch-gcc_config_i386_dragonfly.h) = 7d60d29b5ae636d69650e8c412a94f7a6045f6d9
-SHA1 (patch-gcc_config_i386_dragonfly64.h) = 9d2d8512a913e58055fa5c1b7d85a109117dcfba
-SHA1 (patch-gcc_config_netbsd.h) = a1a69f04feac46dbbcb134c72c8c0a505c2f84bd
-SHA1 (patch-gcc_config_t-dragonfly) = dd8d5919af737dfb9e3c18be9a41b4e2c6f31155
-SHA1 (patch-gcc_config_t-dragonfly-thread) = ebdb58dacf0dc5d0bf2f1f1707a7c6ab29ee308c
-SHA1 (patch-gcc_ginclude_stddef.h) = 60f51a470e03173803b5e20b1fa4d6882e8d1fe9
-SHA1 (patch-gcc_toplev.h) = 4894b45bf0fd30de0610a36827ef1089e0ec6bd5
-SHA1 (patch-libf95.a-0.92_configure) = e23998692b410acaabaf24f591b659d2b229bcca
-SHA1 (patch-libf95.a-0.92_io_atof.c) = 0c3a209815be3a97d984cb9a15ee888f93110d1d
-SHA1 (patch-libf95.a-0.93_intrinsics_dot__product10.c) = a2fe19bab2a6f719f541692fd4ef7e67766a18e5
-SHA1 (patch-libf95.a-0.93_intrinsics_matmul10.c) = 30609c3183a98610e4005fd4c0d12cccec0855a1
-SHA1 (patch-libf95.a-0.93_intrinsics_random.c) = 5445f78b267f742a2bf711aa0f5e06683dda1a68
-SHA1 (patch-libf95.a-0.93_io_read.c) = 594bcfb15e59dcaaec5a6a21a58af17e8f41eae9
-SHA1 (patch-libf95.a-0.93_math_ff.c) = 353121bc08a86765d18b0e6f051ba91f7e65e9c2
-SHA1 (patch-libf95.a-0.93_math_x87.S) = d1eb02bd2358b6abb9b8dc3e32629cba540adcc4
-SHA1 (patch-libf95.a-0.93_quad_power16.c) = fc7375aa90ecf75bb8ba26d41739614040b16e09
diff --git a/g95/patches/patch-ab b/g95/patches/patch-ab
deleted file mode 100644
index c0d6769..0000000
--- a/g95/patches/patch-ab
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-Use $(host_alias) as the program prefix so it matches ${MACHINE_GNU_PLATFORM}
-
---- Makefile.in.orig	2010-04-22 04:23:24.000000000 +0000
-+++ Makefile.in
-@@ -1418,7 +1418,7 @@ clean-local:
- 	rm -f options.tmp options.c options.h version.c
- 
- install-exec-hook:
--	mv $(DESTDIR)$(bindir)/g95$(EXEEXT) $(DESTDIR)$(bindir)/$(host)-g95$(EXEEXT)
-+	mv $(DESTDIR)$(bindir)/g95$(EXEEXT) $(DESTDIR)$(bindir)/$(host_alias)-g95$(EXEEXT)
- 
- install-data-hook:
- 	-ln -sf f951$(EXEEXT) $(DESTDIR)@DEST_LIBDIR@/cc1
-@@ -1429,8 +1429,9 @@ install-data-hook:
- 	  ranlib $(DESTDIR)@DEST_LIBDIR@/libgcc_eh.a ; \
- 	  ranlib $(DESTDIR)@DEST_LIBDIR@/libgcc.a ; \
- 	fi
--	cp INSTALL $(DESTDIR)@DEST_LIBDIR@/../../../..
--	cp G95Manual.pdf $(DESTDIR)@DEST_LIBDIR@/../../../..
-+	test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
-+	$(INSTALL_DATA) INSTALL $(DESTDIR)$(docdir)
-+	$(INSTALL_DATA) G95Manual.pdf $(DESTDIR)$(docdir)
- 	if test -n "`ls @GCC_DIR@/g95/gcc/libgcc_s.*`" ; then \
- 	   (cd @GCC_DIR@/g95/gcc; tar cf - libgcc_s.*) | \
-            (cd $(DESTDIR)@DEST_LIBDIR@; tar xf -) ; \
diff --git a/g95/patches/patch-ac b/g95/patches/patch-ac
deleted file mode 100644
index 9808c59..0000000
--- a/g95/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-Use $host_alias in the gcc-libdir path so it matches ${MACHINE_GNU_PLATFORM}
-
---- configure.orig	2010-04-22 04:07:13.000000000 +0000
-+++ configure
-@@ -4647,7 +4647,7 @@ _ACEOF
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
- $as_echo "$gcc_version" >&6; }
- 
--   DEST_LIBDIR=$prefix/lib/gcc-lib/$host/$gcc_version
-+   DEST_LIBDIR=$prefix/lib/gcc-lib/$host_alias/$gcc_version
-    SAVE_DIR=`pwd`
-    PREFIX=$prefix
- 
diff --git a/g95/patches/patch-configure b/g95/patches/patch-configure
deleted file mode 100644
index 36b64c6..0000000
--- a/g95/patches/patch-configure
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-configure,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-Add NetBSD/powerpc (generetd by autoconf 2.65).
-
---- configure.orig	2013-06-21 15:17:33.000000000 +0900
-+++ configure	2013-06-21 15:55:22.000000000 +0900
-@@ -4647,7 +4647,7 @@
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
- $as_echo "$gcc_version" >&6; }
- 
--   DEST_LIBDIR=$prefix/lib/gcc-lib/$host_alias/$gcc_version
-+   DEST_LIBDIR=$prefix/lib/gcc-lib/$host/$gcc_version
-    SAVE_DIR=`pwd`
-    PREFIX=$prefix
- 
-@@ -4911,6 +4911,12 @@
- 
-      ;;
- 
-+     *netbsd*)
-+
-+$as_echo "#define FPU_PPC_NETBSD 1" >>confdefs.h
-+
-+     ;;
-+
-      *)
-        echo host = $host
-        as_fn_error "Unknown powerpc architecture" "$LINENO" 5
diff --git a/g95/patches/patch-configure.in b/g95/patches/patch-configure.in
deleted file mode 100644
index 3dd61a4..0000000
--- a/g95/patches/patch-configure.in
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-configure.in,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-Add NetBSD/powerpc.
-
---- configure.in.orig	2013-06-21 13:42:42.000000000 +0900
-+++ configure.in	2013-06-21 13:42:17.000000000 +0900
-@@ -271,6 +271,10 @@
-        AC_DEFINE(FPU_PPC_LINUX, 1,[Define if compiling for a PPC fpu on Linux])
-      ;;
- 
-+     *netbsd*)
-+       AC_DEFINE(FPU_PPC_NETBSD, 1,[Define if compiling for a PPC fpu on NetBSD])
-+     ;;
-+
-      *)
-        echo host = $host
-        AC_ERROR(Unknown powerpc architecture)
diff --git a/g95/patches/patch-g95-093_kinds_c b/g95/patches/patch-g95-093_kinds_c
deleted file mode 100644
index 3c9e0ec..0000000
--- a/g95/patches/patch-g95-093_kinds_c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-g95-093_kinds_c,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-Add NetBSD/powerpc.
-
---- kinds.c.orig	2008-08-20 00:38:46.000000000 +0900
-+++ kinds.c	2013-06-21 15:07:09.000000000 +0900
-@@ -91,7 +91,7 @@ g95_ff g95_real_kinds[] = {
- 
- 
- #elif defined (FPU_PPC_OSX) || defined(FPU_PPC_AIX) || defined(FPU_MIPS) || \
--      defined(FPU_PPC_LINUX) || defined(FPU_HPPA) || defined(FPU_SPARC)
-+      defined(FPU_PPC_LINUX) || defined(FPU_HPPA) || defined(FPU_SPARC) || defined(FPU_PPC_NETBSD) 
- 
-     { 4, 2, END_BIG, 32, 0, 1, 8, 127, 255, 9, 23, MSB_IMPLICIT },
- 
diff --git a/g95/patches/patch-g95-config.h.in b/g95/patches/patch-g95-config.h.in
deleted file mode 100644
index 361cadc..0000000
--- a/g95/patches/patch-g95-config.h.in
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-g95-config.h.in,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-Add NetBSD/powerpc.
-
---- g95-config.h.in.orig	2013-06-21 14:06:56.000000000 +0900
-+++ g95-config.h.in	2013-06-21 14:17:14.000000000 +0900
-@@ -29,6 +29,9 @@
- /* Define if compiling for a PPC fpu on Linux */
- #undef FPU_PPC_LINUX
- 
-+/* Define if compiling for a PPC fpu on NetBSD */
-+#undef FPU_PPC_NETBSD
-+
- /* Define if compiling for a PPC fpu on Darwin */
- #undef FPU_PPC_OSX
- 
diff --git a/g95/patches/patch-gcc_config.gcc b/g95/patches/patch-gcc_config.gcc
deleted file mode 100644
index b6a8d1f..0000000
--- a/g95/patches/patch-gcc_config.gcc
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-gcc_config.gcc,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-Darwin 64-bit support.
-DragonFly BSD support.
-
---- ../gcc-4.1.2/gcc/config.gcc.orig	2006-10-15 23:12:23.000000000 +0000
-+++ ../gcc-4.1.2/gcc/config.gcc
-@@ -440,6 +440,23 @@ case ${target} in
-   esac
-   fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h"
-   ;;
-+*-*-dragonfly*)
-+  gas=yes
-+  gnu_ld=yes
-+  extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
-+  tmake_file="t-slibgcc-elf-ver t-dragonfly"
-+  case ${enable_threads} in
-+    "" | yes | posix)
-+      thread_file='posix'
-+      tmake_file="${tmake_file} t-dragonfly-thread"
-+      ;;
-+    *)
-+      echo 'Unknown thread configuration for FreeBSD'
-+      exit 1
-+      ;;
-+  esac
-+  dfly_tm_file="${dfly_tm_file} dragonfly-spec.h dragonfly.h"
-+  ;;
- *-*-linux*libc1* | *-*-linux*aout*)
-   # Avoid the generic linux case.
-   ;;
-@@ -981,6 +998,8 @@ hppa[12]*-*-hpux11*)
- i[34567]86-*-darwin*)
- 	# All the configuration is presently done generically.
- 	;;
-+x86_64-*-darwin*)
-+	;;
- i[34567]86-*-elf*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"
- 	tmake_file="i386/t-i386elf t-svr4"
-@@ -1012,6 +1031,12 @@ i[34567]86-*-freebsd*)
- x86_64-*-freebsd*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/x86-64.h i386/freebsd.h i386/freebsd64.h"
- 	;;
-+i[34567]86-*-dragonfly*)
-+        tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${dfly_tm_file} i386/dragonfly.h"
-+        ;;
-+x86_64-*-dragonfly*)
-+        tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${dfly_tm_file} i386/x86-64.h i386/dragonfly.h i386/dragonfly64.h"
-+        ;;
- i[34567]86-*-netbsdelf*)
- 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
- 	;;
diff --git a/g95/patches/patch-gcc_config_dragonfly-spec.h b/g95/patches/patch-gcc_config_dragonfly-spec.h
deleted file mode 100644
index fd91736..0000000
--- a/g95/patches/patch-gcc_config_dragonfly-spec.h
+++ /dev/null
@@ -1,124 +0,0 @@
-$NetBSD: patch-gcc_config_dragonfly-spec.h,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-DragonFly BSD support.
-
---- ../gcc-4.1.2/gcc/config/dragonfly-spec.h.orig	2013-05-19 08:50:27.000000000 +0000
-+++ ../gcc-4.1.2/gcc/config/dragonfly-spec.h
-@@ -0,0 +1,117 @@
-+/* Base configuration file for all DragonFly targets.
-+   Copyright (C) 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
-+
-+This file is part of GCC.
-+
-+GCC is free software; you can redistribute it and/or modify
-+it under the terms of the GNU General Public License as published by
-+the Free Software Foundation; either version 2, or (at your option)
-+any later version.
-+
-+GCC is distributed in the hope that it will be useful,
-+but WITHOUT ANY WARRANTY; without even the implied warranty of
-+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+GNU General Public License for more details.
-+
-+You should have received a copy of the GNU General Public License
-+along with GCC; see the file COPYING.  If not, write to
-+the Free Software Foundation, 59 Temple Place - Suite 330,
-+Boston, MA 02111-1307, USA.  */
-+
-+/* Common DragonFly configuration. 
-+   All DragonFly architectures should include this file, which will specify
-+   their commonalities.
-+   Adapted from gcc/config/freebsd.h by 
-+   David O'Brien <obrien%FreeBSD.org@localhost>
-+   Loren J. Rittle <ljrittle%acm.org@localhost>.  */
-+
-+
-+/* In case we need to know.  */
-+#define USING_CONFIG_DRAGONFLY_SPEC 1
-+
-+/* This defines which switch letters take arguments.  On DragonFly, most of
-+   the normal cases (defined in gcc.c) apply, and we also have -h* and
-+   -z* options (for the linker) (coming from SVR4).
-+   We also have -R (alias --rpath), no -z, --soname (-h), --assert etc.  */
-+
-+#define DFLY_SWITCH_TAKES_ARG(CHAR)					\
-+  (DEFAULT_SWITCH_TAKES_ARG (CHAR)					\
-+    || (CHAR) == 'h'							\
-+    || (CHAR) == 'z' /* ignored by ld */				\
-+    || (CHAR) == 'R')
-+
-+/* This defines which multi-letter switches take arguments.  */
-+
-+#define DFLY_WORD_SWITCH_TAKES_ARG(STR)					\
-+  (DEFAULT_WORD_SWITCH_TAKES_ARG (STR)					\
-+   || !strcmp ((STR), "rpath") || !strcmp ((STR), "rpath-link")		\
-+   || !strcmp ((STR), "soname") || !strcmp ((STR), "defsym") 		\
-+   || !strcmp ((STR), "assert") || !strcmp ((STR), "dynamic-linker"))
-+
-+#define DFLY_TARGET_OS_CPP_BUILTINS()					\
-+  do									\
-+    {									\
-+	builtin_define ("__DragonFly__");				\
-+	builtin_define_std ("unix");					\
-+	builtin_define ("__KPRINTF_ATTRIBUTE__");		       	\
-+	builtin_assert ("system=unix");					\
-+	builtin_assert ("system=bsd");					\
-+	builtin_assert ("system=DragonFly");				\
-+	DFLY_TARGET_CPU_CPP_BUILTINS();					\
-+    }									\
-+  while (0)
-+
-+/* Define the default DragonFly-specific per-CPU hook code.  */
-+#define DFLY_TARGET_CPU_CPP_BUILTINS() do {} while (0)
-+
-+/* Provide a CPP_SPEC appropriate for DragonFly.  We just deal with the GCC 
-+   option `-posix', and PIC issues.  */
-+
-+#define DFLY_CPP_SPEC "							\
-+  %(cpp_cpu)								\
-+  %(cpp_arch)								\
-+  %{fPIC|fpic|fPIE|fpie:-D__PIC__ -D__pic__}				\
-+  %{posix:-D_POSIX_SOURCE}"
-+
-+/* Provide a STARTFILE_SPEC appropriate for DragonFly.  Here we add
-+   the magical crtbegin.o file (see crtstuff.c) which provides part 
-+	of the support for getting C++ file-scope static object constructed 
-+	before entering `main'.  */
-+   
-+#define DFLY_STARTFILE_SPEC \
-+  "%{!shared: \
-+     %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
-+		       %{!p:%{profile:gcrt1.o%s} \
-+			 %{!profile:crt1.o%s}}}} \
-+   crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
-+
-+/* Provide a ENDFILE_SPEC appropriate for DragonFly.  Here we tack on
-+   the magical crtend.o file (see crtstuff.c) which provides part of 
-+	the support for getting C++ file-scope static object constructed 
-+	before entering `main', followed by a normal "finalizer" file, 
-+	`crtn.o'.  */
-+
-+#define DFLY_ENDFILE_SPEC \
-+  "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-+
-+/* Provide a LIB_SPEC appropriate for DragonFly.  Just select the appropriate
-+   libc, depending on whether we're doing profiling or need threads support.
-+   (similar to the default, except no -lg, and no -p).  */
-+
-+#ifdef DFLY_NO_THREADS
-+#define DFLY_LIB_SPEC "							\
-+  %{pthread: %eThe -pthread option is only supported on DragonFly when gcc \
-+is built with the --enable-threads configure-time option.}		\
-+  %{!shared:								\
-+    %{!pg: -lc}								\
-+    %{pg:  -lc_p}							\
-+  }"
-+#else
-+#define DFLY_LIB_SPEC "							\
-+  %{!shared:								\
-+    %{!pg: %{pthread:-lpthread} -lc}					\
-+    %{pg:  %{pthread:-lpthread_p} -lc_p}				\
-+  }"
-+#endif
-+
-+#define DFLY_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.2"
diff --git a/g95/patches/patch-gcc_config_dragonfly.h b/g95/patches/patch-gcc_config_dragonfly.h
deleted file mode 100644
index 22f5ac8..0000000
--- a/g95/patches/patch-gcc_config_dragonfly.h
+++ /dev/null
@@ -1,94 +0,0 @@
-$NetBSD: patch-gcc_config_dragonfly.h,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-DragonFly BSD support.
-
---- ../gcc-4.1.2/gcc/config/dragonfly.h.orig	2013-05-19 08:51:14.000000000 +0000
-+++ ../gcc-4.1.2/gcc/config/dragonfly.h
-@@ -0,0 +1,87 @@
-+/* Base configuration file for all DragonFly targets.
-+   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
-+
-+This file is part of GCC.
-+
-+GCC is free software; you can redistribute it and/or modify
-+it under the terms of the GNU General Public License as published by
-+the Free Software Foundation; either version 2, or (at your option)
-+any later version.
-+
-+GCC is distributed in the hope that it will be useful,
-+but WITHOUT ANY WARRANTY; without even the implied warranty of
-+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+GNU General Public License for more details.
-+
-+You should have received a copy of the GNU General Public License
-+along with GCC; see the file COPYING.  If not, write to
-+the Free Software Foundation, 59 Temple Place - Suite 330,
-+Boston, MA 02111-1307, USA.  */
-+
-+/* Common DragonFly configuration. 
-+   All DragonFly architectures should include this file, which will specify
-+   their commonalities.
-+   Adapted from gcc/config/i386/freebsd-elf.h by 
-+   David O'Brien <obrien%FreeBSD.org@localhost>.  
-+   Further work by David O'Brien <obrien%FreeBSD.org@localhost> and
-+   Loren J. Rittle <ljrittle%acm.org@localhost>.  */
-+
-+
-+/* In case we need to know.  */
-+#define USING_CONFIG_DRAGONFLY 1
-+
-+/* This defines which switch letters take arguments.  On DragonFly, most of
-+   the normal cases (defined in gcc.c) apply, and we also have -h* and
-+   -z* options (for the linker) (coming from SVR4).
-+   We also have -R (alias --rpath), no -z, --soname (-h), --assert etc.  */
-+
-+#undef  SWITCH_TAKES_ARG
-+#define SWITCH_TAKES_ARG(CHAR) (DFLY_SWITCH_TAKES_ARG(CHAR))
-+
-+#undef  WORD_SWITCH_TAKES_ARG
-+#define WORD_SWITCH_TAKES_ARG(STR) (DFLY_WORD_SWITCH_TAKES_ARG(STR))
-+
-+#undef  TARGET_OS_CPP_BUILTINS
-+#define TARGET_OS_CPP_BUILTINS() DFLY_TARGET_OS_CPP_BUILTINS()
-+
-+#undef  CPP_SPEC
-+#define CPP_SPEC DFLY_CPP_SPEC
-+
-+#undef  STARTFILE_SPEC
-+#define STARTFILE_SPEC DFLY_STARTFILE_SPEC
-+
-+#undef  ENDFILE_SPEC
-+#define ENDFILE_SPEC DFLY_ENDFILE_SPEC
-+
-+#undef  LIB_SPEC
-+#define LIB_SPEC DFLY_LIB_SPEC
-+
-+
-+/************************[  Target stuff  ]***********************************/
-+
-+/* All DragonFly Architectures support the ELF object file format.  */
-+#undef  OBJECT_FORMAT_ELF
-+#define OBJECT_FORMAT_ELF
-+
-+/* Don't assume anything about the header files.  */
-+#undef  NO_IMPLICIT_EXTERN_C
-+#define NO_IMPLICIT_EXTERN_C	1
-+
-+/* Make gcc agree with DragonFly's standard headers (<stddef.h>, etc...)  */
-+
-+#undef  WCHAR_TYPE
-+#define WCHAR_TYPE "int"
-+
-+#define MATH_LIBRARY_PROFILE    "-lm_p"
-+
-+/* Code generation parameters.  */
-+
-+/* Use periods rather than dollar signs in special g++ assembler names.
-+   This ensures the configuration knows our system correctly so we can link
-+   with libraries compiled with the native cc.  */
-+#undef NO_DOLLAR_IN_LABEL
-+
-+/* Used by libgcc2.c.  We support file locking with fcntl / F_SETLKW.
-+   This enables the test coverage code to use file locking when exiting a
-+   program, which avoids race conditions if the program has forked.  */
-+#define TARGET_HAS_F_SETLKW
diff --git a/g95/patches/patch-gcc_config_i386_dragonfly.h b/g95/patches/patch-gcc_config_i386_dragonfly.h
deleted file mode 100644
index 33f7ee9..0000000
--- a/g95/patches/patch-gcc_config_i386_dragonfly.h
+++ /dev/null
@@ -1,152 +0,0 @@
-$NetBSD: patch-gcc_config_i386_dragonfly.h,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-DragonFly BSD support.
-
---- /dev/null	2011-02-01 20:59:25 +0100
-+++ ../gcc-4.1.2/gcc/config/i386/dragonfly.h	2011-02-01 19:38:39 +0100
-@@ -0,0 +1,145 @@
-+/* Definitions for Intel 386 running DragonFly with ELF format
-+   Copyright (C) 1996, 2000, 2002, 2004 Free Software Foundation, Inc.
-+   Contributed by Eric Youngdale.
-+   Modified for stabs-in-ELF by H.J. Lu.
-+   Adapted from GNU/Linux version by John Polstra.
-+   Continued development by David O'Brien <obrien%freebsd.org@localhost>
-+
-+This file is part of GCC.
-+
-+GCC is free software; you can redistribute it and/or modify
-+it under the terms of the GNU General Public License as published by
-+the Free Software Foundation; either version 2, or (at your option)
-+any later version.
-+
-+GCC is distributed in the hope that it will be useful,
-+but WITHOUT ANY WARRANTY; without even the implied warranty of
-+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+GNU General Public License for more details.
-+
-+You should have received a copy of the GNU General Public License
-+along with GCC; see the file COPYING.  If not, write to
-+the Free Software Foundation, 59 Temple Place - Suite 330,
-+Boston, MA 02111-1307, USA.  */
-+
-+
-+#define TARGET_VERSION fprintf (stderr, " (i386 DragonFly/ELF)");
-+
-+/* Override the default comment-starter of "/".  */
-+#undef  ASM_COMMENT_START
-+#define ASM_COMMENT_START "#"
-+
-+#undef  ASM_APP_ON
-+#define ASM_APP_ON "#APP\n"
-+
-+#undef  ASM_APP_OFF
-+#define ASM_APP_OFF "#NO_APP\n"
-+
-+#undef  DBX_REGISTER_NUMBER
-+#define DBX_REGISTER_NUMBER(n) \
-+  (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
-+
-+#undef  NO_PROFILE_COUNTERS
-+#define NO_PROFILE_COUNTERS	1
-+
-+/* Tell final.c that we don't need a label passed to mcount.  */
-+
-+#undef  MCOUNT_NAME
-+#define MCOUNT_NAME ".mcount"
-+
-+/* Make gcc agree with <machine/ansi.h>.  */
-+
-+#if 0
-+#undef  SIZE_TYPE
-+#define SIZE_TYPE	(TARGET_64BIT ? "long unsigned int" : "unsigned int")
-+ 
-+#undef  PTRDIFF_TYPE
-+#define PTRDIFF_TYPE	(TARGET_64BIT ? "long int" : "int")
-+  
-+#undef  WCHAR_TYPE_SIZE
-+#define WCHAR_TYPE_SIZE	(TARGET_64BIT ? 32 : BITS_PER_WORD)
-+#endif
-+
-+#undef  SUBTARGET_EXTRA_SPECS	/* i386.h bogusly defines it.  */
-+#define SUBTARGET_EXTRA_SPECS \
-+  { "dfly_dynamic_linker", DFLY_DYNAMIC_LINKER }
-+    
-+/* Provide a STARTFILE_SPEC appropriate for DragonFly.  Here we add
-+   the magical crtbegin.o file (see crtstuff.c) which provides part 
-+	of the support for getting C++ file-scope static object constructed 
-+	before entering `main'.  */
-+   
-+#undef	STARTFILE_SPEC
-+#define STARTFILE_SPEC \
-+  "%{!shared: \
-+     %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
-+		       %{!p:%{profile:gcrt1.o%s} \
-+			 %{!profile:crt1.o%s}}}} \
-+   crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
-+
-+/* Provide a ENDFILE_SPEC appropriate for DragonFly.  Here we tack on
-+   the magical crtend.o file (see crtstuff.c) which provides part of 
-+	the support for getting C++ file-scope static object constructed 
-+	before entering `main', followed by a normal "finalizer" file, 
-+	`crtn.o'.  */
-+
-+#undef	ENDFILE_SPEC
-+#define ENDFILE_SPEC \
-+  "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
-+
-+/* Provide a LINK_SPEC appropriate for DragonFly.
-+   Here we provide support for the special GCC options -static and
-+   -shared, which allow us to link things in one of these three modes
-+   by applying the appropriate combinations of options at link-time.
-+   We like to support here for as many of the other GNU linker
-+   options as possible. But I don't have the time to search for
-+   those flags. I am sure how to add support for -soname
-+   shared_object_name. H.J.
-+
-+   I took out %{v:%{!V:-V}}. It is too much :-(. They can use
-+   -Wl,-V.
-+
-+   When the -shared link option is used a final link is not being
-+   done.  */
-+
-+#undef	LINK_SPEC
-+#define LINK_SPEC "\
-+  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
-+  %{Wl,*:%*} \
-+  %{v:-V} \
-+  %{assert*} %{R*} %{rpath*} %{defsym*} \
-+  %{shared:-Bshareable %{h*} %{soname*}} \
-+    %{!shared: \
-+      %{!static: \
-+        %{rdynamic:-export-dynamic} \
-+        %{!dynamic-linker:-dynamic-linker %(dfly_dynamic_linker) }} \
-+    %{static:-Bstatic}} \
-+  %{symbolic:-Bsymbolic}"
-+
-+/* A C statement to output to the stdio stream FILE an assembler
-+   command to advance the location counter to a multiple of 1<<LOG
-+   bytes if it is within MAX_SKIP bytes.
-+
-+   This is used to align code labels according to Intel recommendations.  */
-+
-+#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
-+#undef  ASM_OUTPUT_MAX_SKIP_ALIGN
-+#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE, LOG, MAX_SKIP)					\
-+  if ((LOG) != 0) {														\
-+    if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG));	\
-+    else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP));	\
-+  }
-+#endif
-+
-+/* Don't default to pcc-struct-return, we want to retain compatibility with
-+   older gcc versions AND pcc-struct-return is nonreentrant.
-+   (even though the SVR4 ABI for the i386 says that records and unions are
-+   returned in memory).  */
-+
-+#undef  DEFAULT_PCC_STRUCT_RETURN
-+#define DEFAULT_PCC_STRUCT_RETURN 0
-+
-+/* DragonFly sets the rounding precision of the FPU to 53 bits.  Let the
-+   compiler get the contents of <float.h> and std::numeric_limits correct.  */
-+#undef TARGET_96_ROUND_53_LONG_DOUBLE
-+#define TARGET_96_ROUND_53_LONG_DOUBLE (!TARGET_64BIT)
diff --git a/g95/patches/patch-gcc_config_i386_dragonfly64.h b/g95/patches/patch-gcc_config_i386_dragonfly64.h
deleted file mode 100644
index 8c69813..0000000
--- a/g95/patches/patch-gcc_config_i386_dragonfly64.h
+++ /dev/null
@@ -1,52 +0,0 @@
-$NetBSD: patch-gcc_config_i386_dragonfly64.h,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-DragonFly BSD support.
-
---- ../gcc-4.1.2/gcc/config/i386/dragonfly64.h.orig	2013-05-19 08:54:10.000000000 +0000
-+++ ../gcc-4.1.2/gcc/config/i386/dragonfly64.h
-@@ -0,0 +1,45 @@
-+/* Definitions for AMD x86-64 running DragonFly with ELF format
-+   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
-+   Contributed by David O'Brien <obrien%FreeBSD.org@localhost>
-+
-+This file is part of GCC.
-+
-+GCC is free software; you can redistribute it and/or modify
-+it under the terms of the GNU General Public License as published by
-+the Free Software Foundation; either version 2, or (at your option)
-+any later version.
-+
-+GCC is distributed in the hope that it will be useful,
-+but WITHOUT ANY WARRANTY; without even the implied warranty of
-+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-+GNU General Public License for more details.
-+
-+You should have received a copy of the GNU General Public License
-+along with GCC; see the file COPYING.  If not, write to
-+the Free Software Foundation, 59 Temple Place - Suite 330,
-+Boston, MA 02111-1307, USA.  */
-+
-+
-+#undef  TARGET_VERSION
-+#define TARGET_VERSION fprintf (stderr, " (DragonFly/x86-64 ELF)");
-+
-+#define SUBTARGET_EXTRA_SPECS \
-+  { "dfly_dynamic_linker", DFLY_DYNAMIC_LINKER }
-+
-+/* Provide a LINK_SPEC appropriate for the DragonFly/x86-64 ELF target.
-+   This is a copy of LINK_SPEC from <i386/freebsd.h> tweaked for
-+   the x86-64 target.  */
-+
-+#undef	LINK_SPEC
-+#define LINK_SPEC "\
-+  %{m32:-m elf_i386_fbsd} \
-+  %{Wl,*:%*} \
-+  %{v:-V} \
-+  %{assert*} %{R*} %{rpath*} %{defsym*} \
-+  %{shared:-Bshareable %{h*} %{soname*}} \
-+    %{!shared: \
-+      %{!static: \
-+        %{rdynamic:-export-dynamic} \
-+	%{!dynamic-linker:-dynamic-linker %(dfly_dynamic_linker) }} \
-+    %{static:-Bstatic}} \
-+  %{symbolic:-Bsymbolic}"
diff --git a/g95/patches/patch-gcc_config_netbsd.h b/g95/patches/patch-gcc_config_netbsd.h
deleted file mode 100644
index 6b068bd..0000000
--- a/g95/patches/patch-gcc_config_netbsd.h
+++ /dev/null
@@ -1,62 +0,0 @@
-$NetBSD: patch-gcc_config_netbsd.h,v 1.1 2013/06/21 07:38:52 makoto Exp $
-
-Configuring in powerpc--netbsd/libssp
-/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: 
-  Unsupported relocation type 10 in non-PLT relocations
-/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: 
-  Unsupported relocation type 10 in non-PLT relocations
-/usr/pkgsrc/lang/g95/work/gcc-4.1.2/g95/./gcc/libgcc_s.so.1: 
-  Unsupported relocation type 10 in non-PLT relocations
-
---- work/gcc-4.1.2/gcc/config/netbsd.h	2005-07-14 01:28:25.000000000 +0900
-+++ ../gcc-4.1.2/gcc/config/netbsd.h	2008-04-28 08:49:27.000000000 +0900
-@@ -28,6 +28,11 @@
-       builtin_assert ("system=bsd");		\
-       builtin_assert ("system=unix");		\
-       builtin_assert ("system=NetBSD");		\
-+      if (flag_pic)				\
-+        {					\
-+          builtin_define ("__PIC__");		\
-+          builtin_define ("__pic__");		\
-+        }					\
-     }						\
-   while (0)
- 
-@@ -122,24 +142,22 @@
- #undef LIB_SPEC
- #define LIB_SPEC NETBSD_LIB_SPEC
- 
--/* Provide a LIBGCC_SPEC appropriate for NetBSD.  We also want to exclude
--   libgcc with -symbolic.  */
-+/* Don't provide a LIBGCC_SPEC for NetBSD as the default
-+   is correct. In the --disabled-shared case -lgcc is perfect.  */
- 
--#ifdef NETBSD_NATIVE
--#define NETBSD_LIBGCC_SPEC	\
--  "%{!symbolic:			\
--     %{!shared:			\
--       %{!p:			\
--	 %{!pg: -lgcc}}}	\
--     %{shared: -lgcc_pic}	\
--     %{p: -lgcc_p}		\
--     %{pg: -lgcc_p}}"
--#else
--#define NETBSD_LIBGCC_SPEC "%{!shared:%{!symbolic: -lgcc}}"
-+#if defined(NETBSD_TOOLS) || defined(NETBSD_NATIVE)
-+#define	LIBGCC_PICSUFFIX	"_pic"
- #endif
- 
--#undef LIBGCC_SPEC
--#define LIBGCC_SPEC NETBSD_LIBGCC_SPEC
-+/* Pass -cxx-isystem to cc1/cc1plus.  */
-+#define NETBSD_CC1_AND_CC1PLUS_SPEC		\
-+  "%{cxx-isystem}"
-+
-+#undef CC1_SPEC
-+#define CC1_SPEC NETBSD_CC1_AND_CC1PLUS_SPEC
-+
-+#undef CC1PLUS_SPEC
-+#define CC1PLUS_SPEC NETBSD_CC1_AND_CC1PLUS_SPEC
- 
- /* When building shared libraries, the initialization and finalization 
-    functions for the library are .init and .fini respectively.  */
diff --git a/g95/patches/patch-gcc_config_t-dragonfly b/g95/patches/patch-gcc_config_t-dragonfly
deleted file mode 100644
index ea331b2..0000000
--- a/g95/patches/patch-gcc_config_t-dragonfly
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-gcc_config_t-dragonfly,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
-DragonFly BSD support.
-
---- ../gcc-4.1.2/gcc/config/t-dragonfly.orig	2013-05-19 08:54:45.000000000 +0000
-+++ ../gcc-4.1.2/gcc/config/t-dragonfly
-@@ -0,0 +1,5 @@
-+# Compile crtbeginS.o and crtendS.o with pic.
-+CRTSTUFF_T_CFLAGS_S = -fPIC
-+
-+# Compile libgcc.a with pic.
-+TARGET_LIBGCC2_CFLAGS += -fPIC
diff --git a/g95/patches/patch-gcc_config_t-dragonfly-thread b/g95/patches/patch-gcc_config_t-dragonfly-thread
deleted file mode 100644
index 1ea4007..0000000
--- a/g95/patches/patch-gcc_config_t-dragonfly-thread
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: patch-gcc_config_t-dragonfly-thread,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
-DragonFly BSD support.
-
---- ../gcc-4.1.2/gcc/config/t-dragonfly-thread.orig	2013-05-19 08:55:29.000000000 +0000
-+++ ../gcc-4.1.2/gcc/config/t-dragonfly-thread
-@@ -0,0 +1,2 @@
-+# This is currently needed to compile libgcc2 for threads support
-+TARGET_LIBGCC2_CFLAGS += -pthread
diff --git a/g95/patches/patch-gcc_ginclude_stddef.h b/g95/patches/patch-gcc_ginclude_stddef.h
deleted file mode 100644
index b00c628..0000000
--- a/g95/patches/patch-gcc_ginclude_stddef.h
+++ /dev/null
@@ -1,52 +0,0 @@
-$NetBSD: patch-gcc_ginclude_stddef.h,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
-DragonFly BSD support (_PTRDIFF_T_DECLARED is also needed on dfly).
-
---- ../gcc-4.1.2/gcc/ginclude/stddef.h.orig	2005-06-25 01:11:52.000000000 +0000
-+++ ../gcc-4.1.2/gcc/ginclude/stddef.h
-@@ -62,6 +62,10 @@ Boston, MA 02110-1301, USA.  */
- #include <sys/_types.h>
- #endif
- 
-+#if defined(__DragonFly__)
-+#include <sys/types.h>
-+#endif
-+
- /* In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
-    defined if the corresponding type is *not* defined.
-    FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_ */
-@@ -131,6 +135,7 @@ _TYPE_wchar_t;
-    or if we want this type in particular.  */
- #if defined (_STDDEF_H) || defined (__need_ptrdiff_t)
- #ifndef _PTRDIFF_T	/* in case <sys/types.h> has defined it. */
-+#ifndef _PTRDIFF_T_DECLARED
- #ifndef _T_PTRDIFF_
- #ifndef _T_PTRDIFF
- #ifndef __PTRDIFF_T
-@@ -139,6 +144,7 @@ _TYPE_wchar_t;
- #ifndef ___int_ptrdiff_t_h
- #ifndef _GCC_PTRDIFF_T
- #define _PTRDIFF_T
-+#define _PTRDIFF_T_DECLARED
- #define _T_PTRDIFF_
- #define _T_PTRDIFF
- #define __PTRDIFF_T
-@@ -157,6 +163,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
- #endif /* __PTRDIFF_T */
- #endif /* _T_PTRDIFF */
- #endif /* _T_PTRDIFF_ */
-+#endif /* _PTRDIFF_T_DECLARED */
- #endif /* _PTRDIFF_T */
- 
- /* If this symbol has done its job, get rid of it.  */
-@@ -202,8 +209,8 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
- #define ___int_size_t_h
- #define _GCC_SIZE_T
- #define _SIZET_
--#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
--/* __size_t is a typedef on FreeBSD 5!, must not trash it. */
-+#if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) || defined(__DragonFly__)
-+/* __size_t is a typedef on FreeBSD 5 and on DragonFly BSD!, must not trash it. */
- #else
- #define __size_t
- #endif
diff --git a/g95/patches/patch-gcc_toplev.h b/g95/patches/patch-gcc_toplev.h
deleted file mode 100644
index f80799c..0000000
--- a/g95/patches/patch-gcc_toplev.h
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-gcc_toplev.h,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
---- ../gcc-4.1.2/gcc/toplev.h.orig	2005-09-09 00:47:05.000000000 +0000
-+++ ../gcc-4.1.2/gcc/toplev.h
-@@ -171,13 +171,13 @@ extern int floor_log2                  (
- #  define CTZ_HWI __builtin_ctz
- # endif
- 
--extern inline int
-+extern __attribute__((__gnu_inline__)) inline int
- floor_log2 (unsigned HOST_WIDE_INT x)
- {
-   return x ? HOST_BITS_PER_WIDE_INT - 1 - (int) CLZ_HWI (x) : -1;
- }
- 
--extern inline int
-+extern __attribute__((__gnu_inline__)) inline int
- exact_log2 (unsigned HOST_WIDE_INT x)
- {
-   return x == (x & -x) && x ? (int) CTZ_HWI (x) : -1;
diff --git a/g95/patches/patch-libf95.a-0.92_configure b/g95/patches/patch-libf95.a-0.92_configure
deleted file mode 100644
index fddc776..0000000
--- a/g95/patches/patch-libf95.a-0.92_configure
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-libf95.a-0.92_configure,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
-Use $host_alias in the gcc-libdir path so it matches ${MACHINE_GNU_PLATFORM}
-
---- libf95.a-0.93/configure.orig	2010-04-15 05:26:01.000000000 +0000
-+++ libf95.a-0.93/configure
-@@ -6273,7 +6273,7 @@ fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5
- $as_echo "$gcc_version" >&6; }
- 
--DEST_LIBDIR=$prefix/lib/gcc-lib/$host/$gcc_version
-+DEST_LIBDIR=$prefix/lib/gcc-lib/$host_alias/$gcc_version
- 
- 
- 
diff --git a/g95/patches/patch-libf95.a-0.92_io_atof.c b/g95/patches/patch-libf95.a-0.92_io_atof.c
deleted file mode 100644
index f4aab40..0000000
--- a/g95/patches/patch-libf95.a-0.92_io_atof.c
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-libf95.a-0.92_io_atof.c,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
-Needs stdlib.h on netbsd to get alloca() declaration.
-
---- libf95.a-0.93/io/atof.c~	2009-04-22 17:44:56.000000000 +0000
-+++ libf95.a-0.93/io/atof.c
-@@ -2,6 +2,7 @@
- 
- 
- 
-+#include <stdlib.h>
- #include <string.h>
- #include "runtime.h"
- 
diff --git a/g95/patches/patch-libf95.a-0.93_intrinsics_dot__product10.c b/g95/patches/patch-libf95.a-0.93_intrinsics_dot__product10.c
deleted file mode 100644
index 3bfb7b9..0000000
--- a/g95/patches/patch-libf95.a-0.93_intrinsics_dot__product10.c
+++ /dev/null
@@ -1,58 +0,0 @@
-$NetBSD: patch-libf95.a-0.93_intrinsics_dot__product10.c,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
---- libf95.a-0.93/intrinsics/dot_product10.c.orig	2013-03-01 11:13:24.000000000 +0000
-+++ libf95.a-0.93/intrinsics/dot_product10.c
-@@ -225,7 +225,7 @@ char *ap, *bp;
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "movsbl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (bp), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (bp), "m" (temp) : EAX
- 
- #include "dot_product10.c"
- 
-@@ -237,7 +237,7 @@ char *ap, *bp;
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "movswl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (bp), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (bp), "m" (temp) : EAX
- 
- #include "dot_product10.c"
- 
-@@ -247,7 +247,7 @@ char *ap, *bp;
-                  "fldt ( %" EAX ")\n" : : "m" (ap) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
--                 "fild ( %" EAX ")\n" : : "m" (bp), "m" (temp) : EAX
-+                 "filds ( %" EAX ")\n" : : "m" (bp), "m" (temp) : EAX
- 
- #include "dot_product10.c"
- 
-@@ -286,7 +286,7 @@ char *ap, *bp;
- #define LOAD_A   "mov %0, %" EAX "\n" \
-                  "movsbl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (ap), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (ap), "m" (temp) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" : : "m" (bp) : EAX
-@@ -299,7 +299,7 @@ char *ap, *bp;
- #define LOAD_A   "mov %0, %" EAX "\n" \
-                  "movswl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (ap), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (ap), "m" (temp) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" : : "m" (bp) : EAX
-@@ -309,7 +309,7 @@ char *ap, *bp;
- #define SUBROUTINE     prefix(dot_product_i4_r10)
- 
- #define LOAD_A   "mov %0, %" EAX "\n" \
--                 "fild ( %" EAX ")\n" : : "m" (ap), "m" (temp) : EAX
-+                 "filds ( %" EAX ")\n" : : "m" (ap), "m" (temp) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" : : "m" (bp) : EAX
diff --git a/g95/patches/patch-libf95.a-0.93_intrinsics_matmul10.c b/g95/patches/patch-libf95.a-0.93_intrinsics_matmul10.c
deleted file mode 100644
index b32e83b..0000000
--- a/g95/patches/patch-libf95.a-0.93_intrinsics_matmul10.c
+++ /dev/null
@@ -1,112 +0,0 @@
-$NetBSD: patch-libf95.a-0.93_intrinsics_matmul10.c,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
---- libf95.a-0.93/intrinsics/matmul10.c.orig	2013-03-01 11:13:29.000000000 +0000
-+++ libf95.a-0.93/intrinsics/matmul10.c
-@@ -899,7 +899,7 @@ static char matrix_mismatch[] = "Matrix 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "movsbl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (q), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (q), "m" (temp) : EAX
- 
- #include "matmul10.c"
- 
-@@ -913,7 +913,7 @@ static char matrix_mismatch[] = "Matrix 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "movswl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (q), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (q), "m" (temp) : EAX
- 
- #include "matmul10.c"
- 
-@@ -925,7 +925,7 @@ static char matrix_mismatch[] = "Matrix 
-                  "fldt ( %" EAX ")\n" : : "m" (p) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
--                 "fild ( %" EAX ")\n" : : "m" (q) : EAX
-+                 "filds ( %" EAX ")\n" : : "m" (q) : EAX
- 
- #include "matmul10.c"
- 
-@@ -972,7 +972,7 @@ static char matrix_mismatch[] = "Matrix 
- #define LOAD_A   "mov %0, %" EAX "\n" \
-                  "movsbl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (p), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (p), "m" (temp) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" : : "m" (q) : EAX
-@@ -987,7 +987,7 @@ static char matrix_mismatch[] = "Matrix 
- #define LOAD_A   "mov %0, %" EAX "\n" \
-                  "movswl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (p), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (p), "m" (temp) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" : : "m" (q) : EAX
-@@ -999,7 +999,7 @@ static char matrix_mismatch[] = "Matrix 
- #define SUBROUTINE22     prefix(matmul22_i4r10)
- 
- #define LOAD_A   "mov %0, %" EAX "\n" \
--                 "fild ( %" EAX ")\n" : : "m" (p), "m" (temp) : EAX
-+                 "filds ( %" EAX ")\n" : : "m" (p), "m" (temp) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" : : "m" (q) : EAX
-@@ -1113,7 +1113,7 @@ static char matrix_mismatch[] = "Matrix 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "movsbl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (q), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (q), "m" (temp) : EAX
- 
- #define LOAD_RESULT "mov %0, %" EAX "\n" \
-                     "fldt (%" EAX ")\n" \
-@@ -1140,7 +1140,7 @@ static char matrix_mismatch[] = "Matrix 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "movswl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (q), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (q), "m" (temp) : EAX
- 
- #define LOAD_RESULT "mov %0, %" EAX "\n" \
-                     "fldt (%" EAX ")\n" \
-@@ -1166,7 +1166,7 @@ static char matrix_mismatch[] = "Matrix 
-                   : : "m" (p) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
--                 "fild (%" EAX ")\n" : : "m" (q) : EAX
-+                 "filds (%" EAX ")\n" : : "m" (q) : EAX
- 
- #define LOAD_RESULT "mov %0, %" EAX "\n" \
-                     "fldt (%" EAX ")\n" \
-@@ -1340,7 +1340,7 @@ static char matrix_mismatch[] = "Matrix 
- #define LOAD_A   "mov %0, %" EAX "\n" \
-                  "movsbl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (p), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (p), "m" (temp) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" \
-@@ -1368,7 +1368,7 @@ static char matrix_mismatch[] = "Matrix 
- #define LOAD_A   "mov %0, %" EAX "\n" \
-                  "movswl (%" EAX "), %%eax\n" \
-                  "mov %%eax, %1\n" \
--                 "fild %1\n" : : "m" (p), "m" (temp) : EAX
-+                 "filds %1\n" : : "m" (p), "m" (temp) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" \
-@@ -1394,7 +1394,7 @@ static char matrix_mismatch[] = "Matrix 
- #define SUBROUTINE22    prefix(matmul22_i4z10)
- 
- #define LOAD_A   "mov %0, %" EAX "\n" \
--                 "fild (%" EAX ")\n" : : "m" (p) : EAX
-+                 "filds (%" EAX ")\n" : : "m" (p) : EAX
- 
- #define LOAD_B   "mov %0, %" EAX "\n" \
-                  "fldt ( %" EAX ")\n" \
diff --git a/g95/patches/patch-libf95.a-0.93_intrinsics_random.c b/g95/patches/patch-libf95.a-0.93_intrinsics_random.c
deleted file mode 100644
index 55b55e7..0000000
--- a/g95/patches/patch-libf95.a-0.93_intrinsics_random.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libf95.a-0.93_intrinsics_random.c,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
---- libf95.a-0.93/intrinsics/random.c.orig	2013-03-01 11:13:35.000000000 +0000
-+++ libf95.a-0.93/intrinsics/random.c
-@@ -208,7 +208,7 @@ int scale;
-     harvest[0] = xorshf96();
-     harvest[1] = xorshf96() & 0x7FFFFFFF;
- 
--    asm("fild %0\n"
-+    asm("filds %0\n"
- 	"mov %1, %" EAX "\n"
- 	"fildll (%" EAX ")\n"
- 	"fscale\n"
diff --git a/g95/patches/patch-libf95.a-0.93_io_read.c b/g95/patches/patch-libf95.a-0.93_io_read.c
deleted file mode 100644
index caae973..0000000
--- a/g95/patches/patch-libf95.a-0.93_io_read.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-libf95.a-0.93_io_read.c,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
---- libf95.a-0.93/io/read.c.orig	2013-03-01 11:14:56.000000000 +0000
-+++ libf95.a-0.93/io/read.c
-@@ -102,7 +102,7 @@ void set_real(int value, void *dest, int
- 
- #if HAVE_REAL_10
-     case 10:
--	asm("fild %0\n"
-+	asm("filds %0\n"
- 	    "mov %1, %" EAX "\n"
- 	    "fstpt (%" EAX ")\n" : : "m" (value), "m" (dest) : EAX);
- 	break;
diff --git a/g95/patches/patch-libf95.a-0.93_math_ff.c b/g95/patches/patch-libf95.a-0.93_math_ff.c
deleted file mode 100644
index 4a43ce1..0000000
--- a/g95/patches/patch-libf95.a-0.93_math_ff.c
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-libf95.a-0.93_math_ff.c,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
---- libf95.a-0.93/math/ff.c.orig	2013-03-01 11:15:29.000000000 +0000
-+++ libf95.a-0.93/math/ff.c
-@@ -790,7 +790,7 @@ int exp;
- 
-     exp = *i - 1;
- 
--    asm("fild %0\n"        /* i */
-+    asm("filds %0\n"        /* i */
- 	"fldt %1\n"        /* x : i */
- 	"fxtract\n"        /* sig(x) : exp(x) : i */
- 	"fstp %%st(1)\n"   /* sig(x) : i */
-@@ -961,7 +961,7 @@ int exp;
- 
-     exp = *i;
- 
--    asm("fild %0\n"
-+    asm("filds %0\n"
- 	"fldt %1\n"
- 	"fscale\n"
- 	"fstp %%st(1)\n" : : "m" (exp), "m" (*x));
-@@ -1069,7 +1069,7 @@ int exp;
-     case FF_REGULAR:
- 	exp = MAN10_LEN - 1;
- 
--	asm("fild %0\n"             /* p */
-+	asm("filds %0\n"             /* p */
- 	    "fldt %1\n"             /* x . p */
- 	    "fxam\n"
- 	    "fnstsw\n"
diff --git a/g95/patches/patch-libf95.a-0.93_math_x87.S b/g95/patches/patch-libf95.a-0.93_math_x87.S
deleted file mode 100644
index 55b0269..0000000
--- a/g95/patches/patch-libf95.a-0.93_math_x87.S
+++ /dev/null
@@ -1,58 +0,0 @@
-$NetBSD: patch-libf95.a-0.93_math_x87.S,v 1.1 2013/06/21 07:38:53 makoto Exp $
-
---- libf95.a-0.93/math/x87.S.orig	2013-03-01 11:18:05.000000000 +0000
-+++ libf95.a-0.93/math/x87.S
-@@ -250,7 +250,7 @@ PUBLIC(g95_ceiling_1_r10)
- 	fldcw	(SP)
- 	frndint
- 	fldcw	4(SP)
--	fistp	(SP)
-+	fistps	(SP)
- 	mov	(SP), %al
- 	SIGNX_AL
- 	add	$8, SP
-@@ -266,7 +266,7 @@ PUBLIC(g95_ceiling_2_r10)
- 	fldcw	(SP)
- 	frndint
- 	fldcw	4(SP)
--	fistp	(SP)
-+	fistps	(SP)
- 	mov	(SP), %ax
- 	SIGNX_AX
- 	add	$8, SP
-@@ -675,7 +675,7 @@ PUBLIC(g95_floor_1_r10)
- 	fldcw	(SP)
- 	frndint
- 	fldcw	4(SP)
--	fistp	(SP)
-+	fistps	(SP)
- 	mov	(SP), %al
- 	SIGNX_AL
- 	add	$8, SP
-@@ -691,7 +691,7 @@ PUBLIC(g95_floor_2_r10)
- 	fldcw	(SP)
- 	frndint
- 	fldcw	4(SP)
--	fistp	(SP)
-+	fistps	(SP)
- 	mov	(SP), %ax
- 	SIGNX_AX
- 	add	$8, SP
-@@ -833,7 +833,7 @@ PUBLIC(g95_nint_1_r10)
- 	frndint
- 	fldcw	4(SP)
- 
--	fistp	(SP)
-+	fistps	(SP)
- 	movb	(SP), %al
- 	SIGNX_AL
- 	add	$8, SP
-@@ -861,7 +861,7 @@ PUBLIC(g95_nint_2_r10)
- 	frndint
- 	fldcw	4(SP)
- 
--	fistp	(SP)
-+	fistps	(SP)
- 	movw	(SP), %ax
- 	SIGNX_AX
- 	add	$8, SP
diff --git a/g95/patches/patch-libf95.a-0.93_quad_power16.c b/g95/patches/patch-libf95.a-0.93_quad_power16.c
deleted file mode 100644
index ef31310..0000000
--- a/g95/patches/patch-libf95.a-0.93_quad_power16.c
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-libf95.a-0.93_quad_power16.c,v 1.1 2013/06/21 07:38:54 makoto Exp $
-
---- libf95.a-0.93/quad/power16.c.orig	2013-03-01 11:16:07.000000000 +0000
-+++ libf95.a-0.93/quad/power16.c
-@@ -36,10 +36,11 @@
- 
- #define power_r16_i4 prefix(power_r16_i4)
- 
-+void unpack_quad(void *v, unsigned *mantissa, int *exp, int *sign);
- 
- /* int_power16()-- Core of integer powers. */
- 
--static int_power16(unpacked16 *base, long long e0, unpacked16 *result) {
-+static void int_power16(unpacked16 *base, long long e0, unpacked16 *result) {
- int negative, negative_exp;
- unsigned long long exp;
- unpacked16 one;


Home | Main Index | Thread Index | Old Index