Fix build with -fno-common
This commit is contained in:
parent
ef76631519
commit
fa0adf3029
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549043
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= pcc
|
||||
PORTVERSION= 1.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= ftp://pcc.ludd.ltu.se/pub/pcc-releases/ \
|
||||
http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/ \
|
||||
|
@ -1,2 +1,3 @@
|
||||
TIMESTAMP = 1600532163
|
||||
SHA256 (pcc-1.1.0.tgz) = d9e3fed84c767dcddefb6b1f854d5da8921f3f65d8bd02997743412f41474d64
|
||||
SIZE (pcc-1.1.0.tgz) = 848427
|
||||
|
12
lang/pcc/files/patch-cc_ccom_scan.l
Normal file
12
lang/pcc/files/patch-cc_ccom_scan.l
Normal file
@ -0,0 +1,12 @@
|
||||
--- cc/ccom/scan.l.orig 2014-10-12 17:39:26 UTC
|
||||
+++ cc/ccom/scan.l
|
||||
@@ -236,7 +236,8 @@ L?\"(\\.|[^\\"])*\" { yylval.strp = yytext; return C_S
|
||||
|
||||
%%
|
||||
|
||||
-int lineno, issyshdr;
|
||||
+extern int lineno;
|
||||
+int issyshdr;
|
||||
char *ftitle = "<stdin>";
|
||||
|
||||
int
|
12
lang/pcc/files/patch-cc_cxxcom_scan.l
Normal file
12
lang/pcc/files/patch-cc_cxxcom_scan.l
Normal file
@ -0,0 +1,12 @@
|
||||
--- cc/cxxcom/scan.l.orig 2014-08-18 11:27:34 UTC
|
||||
+++ cc/cxxcom/scan.l
|
||||
@@ -220,7 +220,8 @@ L?\"(\\.|[^\\"])*\" { yylval.strp = yytext; return C_S
|
||||
|
||||
%%
|
||||
|
||||
-int lineno, issyshdr;
|
||||
+extern int lineno;
|
||||
+int issyshdr;
|
||||
char *ftitle = "<stdin>";
|
||||
|
||||
static int
|
Loading…
Reference in New Issue
Block a user