<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[126961] trunk/dports/lang/g95</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/126961">126961</a></dd>
<dt>Author</dt> <dd>takeshi@macports.org</dd>
<dt>Date</dt> <dd>2014-10-18 03:53:19 -0700 (Sat, 18 Oct 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>g95: enable build with clang</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslangg95Portfile">trunk/dports/lang/g95/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkdportslangg95filespatchlibf95intrinsicsdot_product10cdiff">trunk/dports/lang/g95/files/patch-libf95-intrinsics-dot_product10.c.diff</a></li>
<li><a href="#trunkdportslangg95filespatchlibf95intrinsicsmatmul10cdiff">trunk/dports/lang/g95/files/patch-libf95-intrinsics-matmul10.c.diff</a></li>
<li><a href="#trunkdportslangg95filespatchlibf95intrinsicsrandomcdiff">trunk/dports/lang/g95/files/patch-libf95-intrinsics-random.c.diff</a></li>
<li><a href="#trunkdportslangg95filespatchlibf95ioreadcdiff">trunk/dports/lang/g95/files/patch-libf95-io-read.c.diff</a></li>
<li><a href="#trunkdportslangg95filespatchlibf95mathffcdiff">trunk/dports/lang/g95/files/patch-libf95-math-ff.c.diff</a></li>
<li><a href="#trunkdportslangg95filespatchlibf95mathx87Sdiff">trunk/dports/lang/g95/files/patch-libf95-math-x87.S.diff</a></li>
<li><a href="#trunkdportslangg95filespatchlibf95quadpower16cdiff">trunk/dports/lang/g95/files/patch-libf95-quad-power16.c.diff</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangg95Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/g95/Portfile (126960 => 126961)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/g95/Portfile        2014-10-18 07:32:43 UTC (rev 126960)
+++ trunk/dports/lang/g95/Portfile        2014-10-18 10:53:19 UTC (rev 126961)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx"> 
</span><span class="cx"> name            g95
</span><span class="cx"> version         0.93
</span><del>-revision        3
</del><ins>+revision        4
</ins><span class="cx"> platforms       darwin
</span><span class="cx"> categories      lang
</span><span class="cx"> license         GPL-2
</span><span class="lines">@@ -61,7 +61,14 @@
</span><span class="cx"> 
</span><span class="cx"> patchfiles      patch-Makefile.in.diff \
</span><span class="cx">                 patch-darwin.h.diff \
</span><del>-                patch-lang.opt.diff
</del><ins>+                patch-lang.opt.diff \
+                patch-libf95-intrinsics-dot_product10.c.diff \
+                patch-libf95-intrinsics-matmul10.c.diff \
+                patch-libf95-intrinsics-random.c.diff \
+                patch-libf95-io-read.c.diff \
+                patch-libf95-math-ff.c.diff \
+                patch-libf95-math-x87.S.diff \
+                patch-libf95-quad-power16.c.diff
</ins><span class="cx"> 
</span><span class="cx"> universal_variant no
</span><span class="cx"> use_parallel_build  no
</span><span class="lines">@@ -87,8 +94,7 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-compiler.blacklist  clang
-
</del><ins>+configure.cflags-append -std=gnu89
</ins><span class="cx"> pre-configure {
</span><span class="cx">     file mkdir ${workpath}/gcc-${version_gcc}/${name}
</span><span class="cx">     reinplace &quot;s|tjmp %%edx|tjmp *%%edx|&quot; ${workpath}/gcc-${version_gcc}/gcc/config/i386/i386.c
</span></span></pre></div>
<a id="trunkdportslangg95filespatchlibf95intrinsicsdot_product10cdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/g95/files/patch-libf95-intrinsics-dot_product10.c.diff (0 => 126961)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/g95/files/patch-libf95-intrinsics-dot_product10.c.diff                                (rev 0)
+++ trunk/dports/lang/g95/files/patch-libf95-intrinsics-dot_product10.c.diff        2014-10-18 10:53:19 UTC (rev 126961)
</span><span class="lines">@@ -0,0 +1,56 @@
</span><ins>+--- libf95.a-0.93/intrinsics/dot_product10.c.orig        2008-06-23 10:45:50.000000000 +0900
++++ libf95.a-0.93/intrinsics/dot_product10.c        2014-10-18 11:32:49.000000000 +0900
+@@ -225,7 +225,7 @@
+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movsbl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (bp), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (bp), &quot;m&quot; (temp) : EAX

+ #include &quot;dot_product10.c&quot;

+@@ -237,7 +237,7 @@
+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movswl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (bp), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (bp), &quot;m&quot; (temp) : EAX

+ #include &quot;dot_product10.c&quot;

+@@ -247,7 +247,7 @@
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (ap) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+-                 &quot;fild ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (bp), &quot;m&quot; (temp) : EAX
++                 &quot;fildl ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (bp), &quot;m&quot; (temp) : EAX

+ #include &quot;dot_product10.c&quot;

+@@ -286,7 +286,7 @@
+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movsbl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (ap), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (ap), &quot;m&quot; (temp) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (bp) : EAX
+@@ -299,7 +299,7 @@
+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movswl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (ap), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (ap), &quot;m&quot; (temp) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (bp) : EAX
+@@ -309,7 +309,7 @@
+ #define SUBROUTINE     prefix(dot_product_i4_r10)

+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+-                 &quot;fild ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (ap), &quot;m&quot; (temp) : EAX
++                 &quot;fildl ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (ap), &quot;m&quot; (temp) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (bp) : EAX
</ins></span></pre></div>
<a id="trunkdportslangg95filespatchlibf95intrinsicsmatmul10cdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/g95/files/patch-libf95-intrinsics-matmul10.c.diff (0 => 126961)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/g95/files/patch-libf95-intrinsics-matmul10.c.diff                                (rev 0)
+++ trunk/dports/lang/g95/files/patch-libf95-intrinsics-matmul10.c.diff        2014-10-18 10:53:19 UTC (rev 126961)
</span><span class="lines">@@ -0,0 +1,110 @@
</span><ins>+--- libf95.a-0.93/intrinsics/matmul10.c.orig        2008-06-23 10:44:29.000000000 +0900
++++ libf95.a-0.93/intrinsics/matmul10.c        2014-10-18 11:32:28.000000000 +0900
+@@ -899,7 +899,7 @@
+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movsbl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (q), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (q), &quot;m&quot; (temp) : EAX

+ #include &quot;matmul10.c&quot;

+@@ -913,7 +913,7 @@
+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movswl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (q), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (q), &quot;m&quot; (temp) : EAX

+ #include &quot;matmul10.c&quot;

+@@ -925,7 +925,7 @@
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (p) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+-                 &quot;fild ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (q) : EAX
++                 &quot;fildl ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (q) : EAX

+ #include &quot;matmul10.c&quot;

+@@ -972,7 +972,7 @@
+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movsbl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (q) : EAX
+@@ -987,7 +987,7 @@
+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movswl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (q) : EAX
+@@ -999,7 +999,7 @@
+ #define SUBROUTINE22     prefix(matmul22_i4r10)

+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+-                 &quot;fild ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX
++                 &quot;fildl ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (q) : EAX
+@@ -1113,7 +1113,7 @@
+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movsbl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (q), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (q), &quot;m&quot; (temp) : EAX

+ #define LOAD_RESULT &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                     &quot;fldt (%&quot; EAX &quot;)\n&quot; \
+@@ -1140,7 +1140,7 @@
+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movswl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (q), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (q), &quot;m&quot; (temp) : EAX

+ #define LOAD_RESULT &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                     &quot;fldt (%&quot; EAX &quot;)\n&quot; \
+@@ -1166,7 +1166,7 @@
+                   : : &quot;m&quot; (p) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+-                 &quot;fild (%&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (q) : EAX
++                 &quot;fildl (%&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (q) : EAX

+ #define LOAD_RESULT &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                     &quot;fldt (%&quot; EAX &quot;)\n&quot; \
+@@ -1340,7 +1340,7 @@
+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movsbl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; \
+@@ -1368,7 +1368,7 @@
+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;movswl (%&quot; EAX &quot;), %%eax\n&quot; \
+                  &quot;mov %%eax, %1\n&quot; \
+-                 &quot;fild %1\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX
++                 &quot;filds %1\n&quot; : : &quot;m&quot; (p), &quot;m&quot; (temp) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; \
+@@ -1394,7 +1394,7 @@
+ #define SUBROUTINE22    prefix(matmul22_i4z10)

+ #define LOAD_A   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+-                 &quot;fild (%&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (p) : EAX
++                 &quot;fildl (%&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (p) : EAX

+ #define LOAD_B   &quot;mov %0, %&quot; EAX &quot;\n&quot; \
+                  &quot;fldt ( %&quot; EAX &quot;)\n&quot; \
</ins></span></pre></div>
<a id="trunkdportslangg95filespatchlibf95intrinsicsrandomcdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/g95/files/patch-libf95-intrinsics-random.c.diff (0 => 126961)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/g95/files/patch-libf95-intrinsics-random.c.diff                                (rev 0)
+++ trunk/dports/lang/g95/files/patch-libf95-intrinsics-random.c.diff        2014-10-18 10:53:19 UTC (rev 126961)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+--- libf95.a-0.93/intrinsics/random.c.orig        2008-06-23 10:42:51.000000000 +0900
++++ libf95.a-0.93/intrinsics/random.c        2014-10-18 12:00:44.000000000 +0900
+@@ -208,7 +208,7 @@
+     harvest[0] = xorshf96();
+     harvest[1] = xorshf96() &amp; 0x7FFFFFFF;

+-    asm(&quot;fild %0\n&quot;
++    asm(&quot;fildl %0\n&quot;
+         &quot;mov %1, %&quot; EAX &quot;\n&quot;
+         &quot;fildll (%&quot; EAX &quot;)\n&quot;
+         &quot;fscale\n&quot;
</ins></span></pre></div>
<a id="trunkdportslangg95filespatchlibf95ioreadcdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/g95/files/patch-libf95-io-read.c.diff (0 => 126961)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/g95/files/patch-libf95-io-read.c.diff                                (rev 0)
+++ trunk/dports/lang/g95/files/patch-libf95-io-read.c.diff        2014-10-18 10:53:19 UTC (rev 126961)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+--- libf95.a-0.93/io/read.c.orig        2008-11-19 01:13:37.000000000 +0900
++++ libf95.a-0.93/io/read.c        2014-10-18 11:34:15.000000000 +0900
+@@ -102,7 +102,7 @@

+ #if HAVE_REAL_10
+     case 10:
+-        asm(&quot;fild %0\n&quot;
++        asm(&quot;fildl %0\n&quot;
+             &quot;mov %1, %&quot; EAX &quot;\n&quot;
+             &quot;fstpt (%&quot; EAX &quot;)\n&quot; : : &quot;m&quot; (value), &quot;m&quot; (dest) : EAX);
+         break;
</ins></span></pre></div>
<a id="trunkdportslangg95filespatchlibf95mathffcdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/g95/files/patch-libf95-math-ff.c.diff (0 => 126961)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/g95/files/patch-libf95-math-ff.c.diff                                (rev 0)
+++ trunk/dports/lang/g95/files/patch-libf95-math-ff.c.diff        2014-10-18 10:53:19 UTC (rev 126961)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+--- libf95.a-0.93/math/ff.c.orig        2009-03-25 02:27:34.000000000 +0900
++++ libf95.a-0.93/math/ff.c        2014-10-18 11:35:35.000000000 +0900
+@@ -790,7 +790,7 @@

+     exp = *i - 1;

+-    asm(&quot;fild %0\n&quot;        /* i */
++    asm(&quot;fildl %0\n&quot;        /* i */
+         &quot;fldt %1\n&quot;        /* x : i */
+         &quot;fxtract\n&quot;        /* sig(x) : exp(x) : i */
+         &quot;fstp %%st(1)\n&quot;   /* sig(x) : i */
+@@ -961,7 +961,7 @@

+     exp = *i;

+-    asm(&quot;fild %0\n&quot;
++    asm(&quot;fildl %0\n&quot;
+         &quot;fldt %1\n&quot;
+         &quot;fscale\n&quot;
+         &quot;fstp %%st(1)\n&quot; : : &quot;m&quot; (exp), &quot;m&quot; (*x));
+@@ -1069,7 +1069,7 @@
+     case FF_REGULAR:
+         exp = MAN10_LEN - 1;

+-        asm(&quot;fild %0\n&quot;             /* p */
++        asm(&quot;fildl %0\n&quot;             /* p */
+             &quot;fldt %1\n&quot;             /* x . p */
+             &quot;fxam\n&quot;
+             &quot;fnstsw\n&quot;
</ins></span></pre></div>
<a id="trunkdportslangg95filespatchlibf95mathx87Sdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/g95/files/patch-libf95-math-x87.S.diff (0 => 126961)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/g95/files/patch-libf95-math-x87.S.diff                                (rev 0)
+++ trunk/dports/lang/g95/files/patch-libf95-math-x87.S.diff        2014-10-18 10:53:19 UTC (rev 126961)
</span><span class="lines">@@ -0,0 +1,56 @@
</span><ins>+--- libf95.a-0.93/math/x87.S.orig        2010-04-05 03:49:02.000000000 +0900
++++ libf95.a-0.93/math/x87.S        2014-10-18 13:08:16.000000000 +0900
+@@ -250,7 +250,7 @@
+         fldcw        (SP)
+         frndint
+         fldcw        4(SP)
+-        fistp        (SP)
++        fistps        (SP)
+         mov        (SP), %al
+         SIGNX_AL
+         add        $8, SP
+@@ -266,7 +266,7 @@
+         fldcw        (SP)
+         frndint
+         fldcw        4(SP)
+-        fistp        (SP)
++        fistps        (SP)
+         mov        (SP), %ax
+         SIGNX_AX
+         add        $8, SP
+@@ -675,7 +675,7 @@
+         fldcw        (SP)
+         frndint
+         fldcw        4(SP)
+-        fistp        (SP)
++        fistps        (SP)
+         mov        (SP), %al
+         SIGNX_AL
+         add        $8, SP
+@@ -691,7 +691,7 @@
+         fldcw        (SP)
+         frndint
+         fldcw        4(SP)
+-        fistp        (SP)
++        fistps        (SP)
+         mov        (SP), %ax
+         SIGNX_AX
+         add        $8, SP
+@@ -833,7 +833,7 @@
+         frndint
+         fldcw        4(SP)

+-        fistp        (SP)
++        fistps        (SP)
+         movb        (SP), %al
+         SIGNX_AL
+         add        $8, SP
+@@ -861,7 +861,7 @@
+         frndint
+         fldcw        4(SP)

+-        fistp        (SP)
++        fistps        (SP)
+         movw        (SP), %ax
+         SIGNX_AX
+         add        $8, SP
</ins></span></pre></div>
<a id="trunkdportslangg95filespatchlibf95quadpower16cdiff"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/g95/files/patch-libf95-quad-power16.c.diff (0 => 126961)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/g95/files/patch-libf95-quad-power16.c.diff                                (rev 0)
+++ trunk/dports/lang/g95/files/patch-libf95-quad-power16.c.diff        2014-10-18 10:53:19 UTC (rev 126961)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+--- libf95.a-0.93/quad/power16.c.orig        2009-01-13 10:29:12.000000000 +0900
++++ libf95.a-0.93/quad/power16.c        2014-10-18 12:44:49.000000000 +0900
+@@ -39,7 +39,7 @@

+ /* 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;
</ins></span></pre>
</div>
</div>

</body>
</html>