Fix build with -fno-common

This commit is contained in:
Stefan Eßer 2020-09-25 18:42:14 +00:00
parent 60478f3780
commit c572c81662
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550063
2 changed files with 17 additions and 4 deletions

View file

@ -3,20 +3,22 @@
PORTNAME= nonpareil
PORTVERSION= 0.79
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= emulators
MASTER_SITES= http://nonpareil.brouhaha.com/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simulator for many HP calculators
LICENSE= GPLv2 # only
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
USES= bison gnome pkgconfig scons:python2 sdl
USE_GNOME= gtk20 libxml2
USE_GNOME= cairo gdkpixbuf2 gtk20 libxml2
USE_SDL= sdl
PORTDOCS= CREDITS DEBUGGING README TODO

View file

@ -0,0 +1,11 @@
--- src/asm.h.orig 2008-08-24 00:37:18 UTC
+++ src/asm.h
@@ -22,7 +22,7 @@ MA 02111, USA.
extern int arch;
-int pass;
+extern int pass;
extern int lineno;
extern int errors;