Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
$NetBSD: patch-aa,v 1.1.1.1 2000/12/04 23:47:35 jtb Exp $
$NetBSD: patch-aa,v 1.2 2015/12/29 23:34:57 dholland Exp $
Don't use threads. (XXX: why not?)
Use -c with install as install without -c doesn't behave sensibly.
--- MKDefs.in.orig Sun May 7 20:20:11 2000
+++ MKDefs.in
+4 -1
View File
@@ -1,4 +1,7 @@
$NetBSD: patch-ab,v 1.2 2009/12/12 21:36:55 asau Exp $
$NetBSD: patch-ab,v 1.3 2015/12/29 23:34:57 dholland Exp $
Use pkgsrc libtool.
DESTDIR support.
--- src/Makefile.orig 2000-05-08 00:26:03.000000000 +0400
+++ src/Makefile 2009-12-13 00:31:06.000000000 +0300
+3 -1
View File
@@ -1,4 +1,6 @@
$NetBSD: patch-ac,v 1.1 2002/03/15 00:22:42 jmc Exp $
$NetBSD: patch-ac,v 1.2 2015/12/29 23:34:57 dholland Exp $
Handle floating values properly.
--- src/l_defs.h.orig Fri Mar 15 00:16:28 2002
+++ src/l_defs.h Fri Mar 15 00:16:40 2002
+3 -1
View File
@@ -1,4 +1,6 @@
$NetBSD: patch-ad,v 1.1 2002/03/15 00:22:43 jmc Exp $
$NetBSD: patch-ad,v 1.2 2015/12/29 23:34:57 dholland Exp $
Handle floating values properly.
--- src/lc.c.orig Fri Mar 15 00:16:37 2002
+++ src/lc.c Fri Mar 15 00:16:49 2002
+34 -7
View File
@@ -1,8 +1,19 @@
$NetBSD: patch-ae,v 1.1 2002/03/15 00:22:43 jmc Exp $
$NetBSD: patch-ae,v 1.3 2016/01/17 15:14:47 joerg Exp $
--- src/lcore.c.orig Fri Mar 15 00:16:32 2002
+++ src/lcore.c Fri Mar 15 00:16:44 2002
@@ -113,7 +113,7 @@
Handle floating values properly.
--- src/lcore.c.orig 2000-05-07 20:26:14.000000000 +0000
+++ src/lcore.c
@@ -9,6 +9,8 @@
*
* */
+int InitMiscFuns(void);
+
char IL_Version[] = "4.0";
#ifndef lint
@@ -113,7 +115,7 @@ char *lText(ATOM a,char *TeXt)
case 1: sprintf(TeXt,"[^H]");return TeXt;
case 2: sprintf(TeXt,"[^F]");return TeXt;
case 3: sprintf(TeXt,"[^T]");return TeXt;
@@ -11,7 +22,7 @@ $NetBSD: patch-ae,v 1.1 2002/03/15 00:22:43 jmc Exp $
case 6: sprintf(TeXt,"%d",*(int*)(a->a)); return TeXt;
case 5: sprintf(TeXt,"[^II]");return TeXt;
case 8: sprintf(TeXt,"[^IF]");return TeXt;
@@ -180,6 +180,7 @@
@@ -180,6 +182,7 @@ ATOM MakeDAtom(double d)
tmp->a=(char *)malloc(sizeof(double));
dd=(double *)(tmp->a);
(*dd)=d;
@@ -19,7 +30,7 @@ $NetBSD: patch-ae,v 1.1 2002/03/15 00:22:43 jmc Exp $
tmp->g=1;tmp->f=4<<1;tmp->b=NULL;
return tmp;
}
@@ -197,9 +198,7 @@
@@ -197,9 +200,7 @@ ATOM MakeFAtom(FILE *d)
/*--X FNAME: "GetDouble" DESC: "Takes a double from atom a" */
double GetDbleOld(ATOM a)
{
@@ -30,7 +41,23 @@ $NetBSD: patch-ae,v 1.1 2002/03/15 00:22:43 jmc Exp $
}
/*--X VNAME: "Pos" DESC: "Temporary variable for a string to list conversion" */
@@ -249,7 +248,7 @@
@@ -233,12 +234,12 @@ ATOM reada(char *s)
}
else {
c[i]=s[Pos]; c[i+1]=0;
- if(!(isdigit(c[i]) || (c[i]=='+') || (c[i]=='-') || (c[i]=='.'))) {
+ if(!(isdigit((unsigned char)c[i]) || (c[i]=='+') || (c[i]=='-') || (c[i]=='.'))) {
if(i) {
- if(!((c[i]=='e' || c[i]=='E') && (c[i-1]=='.' || isdigit(c[i-1])))) fd=0;
+ if(!((c[i]=='e' || c[i]=='E') && (c[i-1]=='.' || isdigit((unsigned char)c[i-1])))) fd=0;
} else fd=0;
}
- if(isdigit(c[i])) nd++;
+ if(isdigit((unsigned char)c[i])) nd++;
}
}
c[i]=0;
@@ -249,7 +250,7 @@ ATOM reada(char *s)
{
double *d;
t=mkatm(sizeof(double));t->f=4<<1;
+3 -1
View File
@@ -1,4 +1,6 @@
$NetBSD: patch-af,v 1.1 2004/05/23 23:28:29 danw Exp $
$NetBSD: patch-af,v 1.2 2015/12/29 23:34:57 dholland Exp $
Remove silly include.
--- src/functions/funct.c.orig Sun May 7 16:26:24 2000
+++ src/functions/funct.c
+9
View File
@@ -0,0 +1,9 @@
$NetBSD: patch-src_bin2c.c,v 1.1 2016/01/17 15:14:47 joerg Exp $
--- src/bin2c.c.orig 2016-01-16 13:47:40.000000000 +0000
+++ src/bin2c.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <stdio.h>
int main(int np,char **p)
@@ -0,0 +1,13 @@
$NetBSD: patch-src_functions_funcn.c,v 1.1 2016/01/17 15:14:47 joerg Exp $
--- src/functions/funcn.c.orig 2016-01-16 13:50:45.000000000 +0000
+++ src/functions/funcn.c
@@ -729,7 +729,7 @@ LIST L_Defefun(IL_PARS)
while((ss[ii]=fgetc(FiI))!=' ' && ss[ii]!='(' &&
ss[ii]!=')' && ss[ii]!='\n' && (!feof(FiI))) {
- if(!isdigit(ss[ii])) {
+ if(!isdigit((unsigned char)ss[ii])) {
if(ss[ii]!='\n' && ss[ii]!='+' && ss[ii]!='-' && ss[ii]!='.') id=0;}
else dg++;
ii++;
@@ -0,0 +1,13 @@
$NetBSD: patch-src_functions_funcs.c,v 1.1 2016/01/17 15:14:47 joerg Exp $
--- src/functions/funcs.c.orig 2016-01-16 13:50:27.000000000 +0000
+++ src/functions/funcs.c
@@ -56,7 +56,7 @@
if(ss[i]==' ')
s[j++]='+';
else
- if((toupper(ss[i])>= 'A') && (toupper(ss[i]<='Z')))
+ if((toupper((unsigned char)ss[i])>= 'A') && (toupper((unsigned char)ss[i]<='Z')))
s[j++]=ss[i];
else
if(ss[i]>='0' && ss[i]<='9') s[j++]=ss[i];
+17
View File
@@ -0,0 +1,17 @@
$NetBSD: patch-src_mkfuns.c,v 1.1 2016/01/17 15:14:47 joerg Exp $
--- src/mkfuns.c.orig 2016-01-16 13:51:04.000000000 +0000
+++ src/mkfuns.c
@@ -1,10 +1,11 @@
/* This is a preprocessor for iLisp3.x sources */
+#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-main(int np,char **p)
+int main(int np,char **p)
{
char s[500];
FILE *fo;
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: patch-src_newhash.c,v 1.1 2016/01/17 15:14:47 joerg Exp $
--- src/newhash.c.orig 2016-01-16 13:48:20.000000000 +0000
+++ src/newhash.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include "l_defs.h"
static hash *IL_NULL_hash;