svn commit: r550623 - in head/math/spar: . files

Stefan Eßer se at FreeBSD.org
Tue Sep 29 21:01:29 UTC 2020


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 at 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 */


More information about the svn-ports-all mailing list