Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2020 19:41:52 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550613 - in head/lang/intercal: . files
Message-ID:  <202009291941.08TJfqZ1048358@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Tue Sep 29 19:41:52 2020
New Revision: 550613
URL: https://svnweb.freebsd.org/changeset/ports/550613

Log:
  Fix build with -fno-common
  
  While here add license (GPLv2).

Added:
  head/lang/intercal/files/
  head/lang/intercal/files/patch-src_perpet.c   (contents, props changed)
Modified:
  head/lang/intercal/Makefile

Modified: head/lang/intercal/Makefile
==============================================================================
--- head/lang/intercal/Makefile	Tue Sep 29 19:25:30 2020	(r550612)
+++ head/lang/intercal/Makefile	Tue Sep 29 19:41:52 2020	(r550613)
@@ -3,17 +3,19 @@
 
 PORTNAME=	intercal
 PORTVERSION=	0.30
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	http://www.catb.org/~esr/intercal/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C-INTERCAL compiler, ick, and supporting libraries
 
+LICENSE=	GPLv2
+
 BROKEN_aarch64=	ld: error: lexer.c:(function yylex: .text+0x10CC): improper alignment for relocation R_AARCH64_LDST32_ABS_LO12_NC: 0x28001B is not aligned to 4 bytes
 
-GNU_CONFIGURE=	yes
 USES=		gmake
+GNU_CONFIGURE=	yes
 CFLAGS+=	-D_POSIX_SOURCE
 DATADIR=	${PREFIX}/share/ick
 

Added: head/lang/intercal/files/patch-src_perpet.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/intercal/files/patch-src_perpet.c	Tue Sep 29 19:41:52 2020	(r550613)
@@ -0,0 +1,11 @@
+--- src/perpet.c.orig	2015-04-02 06:04:02 UTC
++++ src/perpet.c
+@@ -85,7 +85,7 @@ extern void yyrestart(FILE*);
+ /* function created by yacc */
+ extern int yyparse(void);
+ 
+-int yydebug;
++extern int yydebug;
+ 
+ /* compilation options */
+ bool compile_only; 	/* just compile into C, don't run the linker */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009291941.08TJfqZ1048358>