aboutsummaryrefslogtreecommitdiff
path: root/math/emc2/files
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2010-09-04 12:24:10 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2010-09-04 12:24:10 +0000
commita412831f99dd6058c7a8d2a6dcaa793692d6f0d8 (patch)
tree2aa2f3c0d4b1f3f29bb184ef60c6c63a118e964a /math/emc2/files
parentfaee42b0dff74dbb243e4b7705d248ea6579d10f (diff)
downloadports-a412831f99dd6058c7a8d2a6dcaa793692d6f0d8.tar.gz
ports-a412831f99dd6058c7a8d2a6dcaa793692d6f0d8.zip
Notes
Diffstat (limited to 'math/emc2/files')
-rw-r--r--math/emc2/files/patch-f3d__u_hp700__prettydate.c19
-rw-r--r--math/emc2/files/patch-f3d__u_hp700__prettytime.c19
-rw-r--r--math/emc2/files/patch-libI77__lread.c29
-rw-r--r--math/emc2/files/patch-libemc2_1.c11
4 files changed, 78 insertions, 0 deletions
diff --git a/math/emc2/files/patch-f3d__u_hp700__prettydate.c b/math/emc2/files/patch-f3d__u_hp700__prettydate.c
new file mode 100644
index 000000000000..1cc91f968391
--- /dev/null
+++ b/math/emc2/files/patch-f3d__u_hp700__prettydate.c
@@ -0,0 +1,19 @@
+--- ./f3d/u_hp700/prettydate.c.orig 2010-08-31 08:51:18.000000000 -0400
++++ ./f3d/u_hp700/prettydate.c 2010-08-31 08:52:44.000000000 -0400
+@@ -6,7 +6,7 @@
+ {
+ time_t timevar;
+ struct tm *pttm;
+- char buffer[6];
++ char buffer[7];
+
+ timevar=time(&timevar);
+ pttm = localtime(&timevar);
+@@ -14,6 +14,6 @@
+ sprintf(buffer,"%02d%02d%02d",pttm->tm_year % 100,
+ pttm->tm_mon+1,
+ pttm->tm_mday);
+- bcopy (buffer, date, 6);
++ bcopy (buffer, date, 7);
+ }
+
diff --git a/math/emc2/files/patch-f3d__u_hp700__prettytime.c b/math/emc2/files/patch-f3d__u_hp700__prettytime.c
new file mode 100644
index 000000000000..863755e7427d
--- /dev/null
+++ b/math/emc2/files/patch-f3d__u_hp700__prettytime.c
@@ -0,0 +1,19 @@
+--- ./f3d/u_hp700/prettytime.c.orig 2010-08-31 08:51:31.000000000 -0400
++++ ./f3d/u_hp700/prettytime.c 2010-08-31 08:52:32.000000000 -0400
+@@ -6,7 +6,7 @@
+ {
+ time_t timevar;
+ struct tm *pttm;
+- char buffer[12];
++ char buffer[13];
+
+ timevar=time(&timevar);
+ pttm = localtime(&timevar);
+@@ -14,6 +14,6 @@
+ sprintf(buffer,"%02d%02d%02d000000",pttm->tm_hour,
+ pttm->tm_min,
+ pttm->tm_sec);
+- bcopy (buffer, timeret, 12);
++ bcopy (buffer, timeret, 13);
+ }
+
diff --git a/math/emc2/files/patch-libI77__lread.c b/math/emc2/files/patch-libI77__lread.c
new file mode 100644
index 000000000000..c948e6142608
--- /dev/null
+++ b/math/emc2/files/patch-libI77__lread.c
@@ -0,0 +1,29 @@
+--- ./libI77/lread.c.orig 2010-08-31 08:39:32.000000000 -0400
++++ ./libI77/lread.c 2010-08-31 08:40:19.000000000 -0400
+@@ -369,7 +369,7 @@
+ *p++ = ch;
+ f__lcount = 10*f__lcount + ch - '0';
+ if (++i == size) {
+- f__lchar = (char *)realloc(f__lchar,
++ f__lchar = (char *)reallocf(f__lchar,
+ (unsigned int)(size += BUFSIZE));
+ p = f__lchar + i;
+ }
+@@ -401,7 +401,7 @@
+ noquote:
+ *p++ = ch;
+ if (++i == size) {
+- f__lchar = (char *)realloc(f__lchar,
++ f__lchar = (char *)reallocf(f__lchar,
+ (unsigned int)(size += BUFSIZE));
+ p = f__lchar + i;
+ }
+@@ -414,7 +414,7 @@
+ if(i==size)
+ {
+ newone:
+- f__lchar= (char *)realloc(f__lchar,
++ f__lchar= (char *)reallocf(f__lchar,
+ (unsigned int)(size += BUFSIZE));
+ p=f__lchar+i-1;
+ *p++ = ch;
diff --git a/math/emc2/files/patch-libemc2_1.c b/math/emc2/files/patch-libemc2_1.c
new file mode 100644
index 000000000000..eca9f96691b8
--- /dev/null
+++ b/math/emc2/files/patch-libemc2_1.c
@@ -0,0 +1,11 @@
+--- ./libemc2_1.c.orig 2010-08-31 08:37:40.000000000 -0400
++++ ./libemc2_1.c 2010-08-31 08:38:38.000000000 -0400
+@@ -1517,7 +1517,7 @@
+ i__1[2] = 7, a__1[2] = "' retry";
+ s_cat(ch__1, a__1, i__1, &c__3, 99L);
+ scrtch_(ch__1, ii + 19);
+-/* call scrtch('mauvais type : '''/*type(1:ii)//''' recommencez'*/
++/* call scrtch('mauvais type : '''/*type(1:ii)//''' recommencez'
+ ) #FR*/
+ goto L5;
+ }