Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2020 20:27:23 +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: r550617 - in head/lang/ficl: . files
Message-ID:  <202009292027.08TKRNjC077574@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Tue Sep 29 20:27:23 2020
New Revision: 550617
URL: https://svnweb.freebsd.org/changeset/ports/550617

Log:
  Fix build with -fno-common
  
  While here extract the license text from doc/license.html into a text file.

Added:
  head/lang/ficl/files/LICENSE.txt   (contents, props changed)
  head/lang/ficl/files/patch-ficlplatform_unix.h   (contents, props changed)
Modified:
  head/lang/ficl/Makefile
  head/lang/ficl/files/patch-vm.c

Modified: head/lang/ficl/Makefile
==============================================================================
--- head/lang/ficl/Makefile	Tue Sep 29 20:03:39 2020	(r550616)
+++ head/lang/ficl/Makefile	Tue Sep 29 20:27:23 2020	(r550617)
@@ -3,21 +3,17 @@
 
 PORTNAME=	ficl
 PORTVERSION=	4.1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	lang
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-all/${PORTNAME}${PORTVERSION:C/([[:digit:]]+\.[[:digit:]]+)\.0/\1/}
 
 MAINTAINER=	pavelivolkov@gmail.com
 COMMENT=	Forth Inspired Command Language
 
-LICENSE=	unknown
-LICENSE_NAME=	BSD-style
-LICENSE_TEXT=	Description of the license can be obtained from the following URL: http://ficl.sourceforge.net/license.html
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${PATCHDIR}/LICENSE.txt
 
-OPTIONS_DEFINE=	DOCS
-
-ONLY_FOR_ARCHS=	i386 amd64
+ONLY_FOR_ARCHS=	amd64 i386
 ONLY_FOR_ARCHS_REASON=	this port is not tested on anything other than i386 and amd64
 
 USE_LDCONFIG=	YES
@@ -29,8 +25,10 @@ PLIST_FILES=	bin/${PORTNAME} include/ficl.h include/fi
 		include/ficltokens.h lib/lib${PORTNAME}.so \
 		lib/lib${PORTNAME}.so.${PORTVERSION} lib/lib${PORTNAME}.a
 
-PORTDOCS=	*
 PORTDATA=	*
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

Added: head/lang/ficl/files/LICENSE.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/ficl/files/LICENSE.txt	Tue Sep 29 20:27:23 2020	(r550617)
@@ -0,0 +1,24 @@
+Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu)
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without 
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, 
+   this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright 
+   notice, this list of conditions and the following disclaimer in the 
+   documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY 
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY 
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 
+DAMAGE.

Added: head/lang/ficl/files/patch-ficlplatform_unix.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/ficl/files/patch-ficlplatform_unix.h	Tue Sep 29 20:27:23 2020	(r550617)
@@ -0,0 +1,11 @@
+--- ficlplatform/unix.h.orig	2010-09-15 18:29:10 UTC
++++ ficlplatform/unix.h
+@@ -13,7 +13,7 @@
+ #else
+ #define FICL_PLATFORM_ALIGNMENT       (4)
+ #endif
+-#define FICL_PLATFORM_INLINE          inline
++#define FICL_PLATFORM_INLINE          static inline
+ 
+ #define FICL_PLATFORM_HAS_FTRUNCATE   (1)
+ #if defined(__amd64__)

Modified: head/lang/ficl/files/patch-vm.c
==============================================================================
--- head/lang/ficl/files/patch-vm.c	Tue Sep 29 20:03:39 2020	(r550616)
+++ head/lang/ficl/files/patch-vm.c	Tue Sep 29 20:27:23 2020	(r550617)
@@ -1,6 +1,6 @@
 --- vm.c.orig	2010-09-13 18:43:04 UTC
 +++ vm.c
-@@ -280,12 +280,12 @@ void ficlVmInnerLoop(ficlVm *vm, ficlWor
+@@ -280,12 +280,12 @@ void ficlVmInnerLoop(ficlVm *vm, ficlWord *fw)
  	if (once)
  		count = 1;
  



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