1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- fix build with GCC-based architectures

PR:		236704
Submitted by:	Piotr Kubaj
This commit is contained in:
Dirk Meyer 2019-05-10 15:30:12 +00:00
parent e622b65af5
commit 66e4bc5e69
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501180
2 changed files with 15 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= vice
PORTVERSION= 3.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= emulators
MASTER_SITES= SF/vice-emu/releases

View File

@ -0,0 +1,14 @@
--- src/iodrv/io-unix-access.c.orig 2019-03-21 09:04:15 UTC
+++ src/iodrv/io-unix-access.c
@@ -26,6 +26,11 @@
#include "vice.h"
+#if defined(__FreeBSD__) && defined(__ppc__)
+#include <sys/types.h>
+#include <machine/pio.h>
+#endif
+
#ifdef UNIX_COMPILE
#include <fcntl.h>