[113131] trunk/dports/science/ncarg
takeshi at macports.org
takeshi at macports.org
Sat Nov 9 16:13:57 PST 2013
Revision: 113131
https://trac.macports.org/changeset/113131
Author: takeshi at macports.org
Date: 2013-11-09 16:13:56 -0800 (Sat, 09 Nov 2013)
Log Message:
-----------
ncarg: added a patch to fix strcpy issue on Mavericks, closing #41190. See also #38687
Modified Paths:
--------------
trunk/dports/science/ncarg/Portfile
Added Paths:
-----------
trunk/dports/science/ncarg/files/patch-Fsplit.c.diff
Modified: trunk/dports/science/ncarg/Portfile
===================================================================
--- trunk/dports/science/ncarg/Portfile 2013-11-09 23:32:12 UTC (rev 113130)
+++ trunk/dports/science/ncarg/Portfile 2013-11-10 00:13:56 UTC (rev 113131)
@@ -79,7 +79,8 @@
patch-ni-nyacc-verbose.c.diff \
patch-libncarg_gks-cdrivers-cro.c.diff \
patch-ncarview-idt-glob.c.diff \
- patch-ncarview-idt-w_idt.c.diff
+ patch-ncarview-idt-w_idt.c.diff \
+ patch-Fsplit.c.diff
if {$build_arch eq "x86_64"} {
patchfiles-append patch-config-ymake.diff
}
Added: trunk/dports/science/ncarg/files/patch-Fsplit.c.diff
===================================================================
--- trunk/dports/science/ncarg/files/patch-Fsplit.c.diff (rev 0)
+++ trunk/dports/science/ncarg/files/patch-Fsplit.c.diff 2013-11-10 00:13:56 UTC (rev 113131)
@@ -0,0 +1,11 @@
+--- ncarg2d/src/libncarg/Iftran/Fsplit.c.orig 2013-02-07 12:26:17.000000000 +0900
++++ ncarg2d/src/libncarg/Iftran/Fsplit.c 2013-11-10 08:02:36.000000000 +0900
+@@ -136,7 +136,7 @@
+ fprintf(stderr,"%s: Can't reopen file \"%s\".\n",objectname,pkeyword);
+ return errorflag=6;
+ } else printf("%s: Opening file \"%s\".\n",objectname,pkeyword);
+- strcpy(lastfile,pkeyword);
++ if (lastfile != pkeyword) strcpy(lastfile,pkeyword);
+ if (!nosplit) {
+ if (cvs==2||cvs==3) {
+ fprintf(pdst,"C\nC $I");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131109/37a469e1/attachment.html>
More information about the macports-changes
mailing list