mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Fix build with -fno-common
This commit is contained in:
parent
707510de4f
commit
4f22622186
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550623
@ -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" \
|
||||
|
15
math/spar/files/patch-lib_sl__version.h
Normal file
15
math/spar/files/patch-lib_sl__version.h
Normal file
@ -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 */
|
Loading…
Reference in New Issue
Block a user