Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2020 21:01:29 +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: r550623 - in head/math/spar: . files
Message-ID:  <202009292101.08TL1T5w000935@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Tue Sep 29 21:01:28 2020
New Revision: 550623
URL: https://svnweb.freebsd.org/changeset/ports/550623

Log:
  Fix build with -fno-common

Added:
  head/math/spar/files/patch-lib_sl__version.h   (contents, props changed)
Modified:
  head/math/spar/Makefile

Modified: head/math/spar/Makefile
==============================================================================
--- head/math/spar/Makefile	Tue Sep 29 20:55:38 2020	(r550622)
+++ head/math/spar/Makefile	Tue Sep 29 21:01:28 2020	(r550623)
@@ -3,18 +3,21 @@
 
 PORTNAME=	spar
 PORTVERSION=	0.5.10
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	math devel
 MASTER_SITES=	SF/${PORTNAME}/Spar/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Modular math parser
 
+LICENSE=        GPLv2
+LICENSE_FILE=   ${WRKSRC}/COPYING
+
 USES=		dos2unix libtool ncurses readline
 DOS2UNIX_FILES=	lib/randist/rand.c
-GNU_CONFIGURE=	yes
 USE_CSTD=	gnu89
 USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e "s,-ldl,,g" \

Added: head/math/spar/files/patch-lib_sl__version.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/spar/files/patch-lib_sl__version.h	Tue Sep 29 21:01:28 2020	(r550623)
@@ -0,0 +1,15 @@
+--- lib/sl_version.h.orig	2001-06-26 13:22:43 UTC
++++ lib/sl_version.h
+@@ -39,9 +39,9 @@ void sl_info (void);
+ 
+ void sl_warranty (void);
+ 
+-int sl_major_version;
+-int sl_minor_version;
+-int sl_patch_level;
++extern int sl_major_version;
++extern int sl_minor_version;
++extern int sl_patch_level;
+ 
+ __END_DECLS
+ #endif /* _sl_version_h */



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