aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-25 18:42:14 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-25 18:42:14 +0000
commitc572c8166229b67002dddc2d8b6f0309ab9a5ba0 (patch)
tree8f5718776b57c8da23fe491f6a34ab29be9a3d1b /emulators
parent60478f37803c899b9abe7c1c9802c4dd6539c38b (diff)
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=550063
Diffstat (limited to 'emulators')
-rw-r--r--emulators/nonpareil/Makefile10
-rw-r--r--emulators/nonpareil/files/patch-src_asm.h11
2 files changed, 17 insertions, 4 deletions
diff --git a/emulators/nonpareil/Makefile b/emulators/nonpareil/Makefile
index 3203aca0ad6d..97c16af1887b 100644
--- a/emulators/nonpareil/Makefile
+++ b/emulators/nonpareil/Makefile
@@ -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
diff --git a/emulators/nonpareil/files/patch-src_asm.h b/emulators/nonpareil/files/patch-src_asm.h
new file mode 100644
index 000000000000..6bedaf1394c8
--- /dev/null
+++ b/emulators/nonpareil/files/patch-src_asm.h
@@ -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;
+