Fix build on 9.1+

This commit is contained in:
Dmitry Marakasov 2013-03-08 13:59:19 +00:00
parent 665e04efc8
commit fde3625796
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313648
2 changed files with 21 additions and 8 deletions

View file

@ -1,9 +1,5 @@
# New ports collection makefile for: diameter
# Date created: 15 Jun 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= diameter
PORTVERSION= 0.4.0.3
@ -14,9 +10,8 @@ MASTER_SITES= SF/game${PORTNAME}/game${PORTNAME}/${PORTNAME}-0.4.0
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Arcade-style game with elements of economy and adventure
BUILD_DEPENDS= guichan>=0.8.1:${PORTSDIR}/devel/guichan
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
RUN_DEPENDS:= ${BUILD_DEPENDS}
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
guichan:${PORTSDIR}/devel/guichan
USE_BZIP2= yes
GNU_CONFIGURE= yes

View file

@ -0,0 +1,18 @@
--- src/uni.h.orig 2008-07-31 15:22:38.000000000 +0400
+++ src/uni.h 2013-03-04 02:09:01.580934046 +0400
@@ -1,6 +1,7 @@
#ifndef UNI
#define UNI
#include <iostream>
+#include <stdint.h>
struct Options
{
@@ -15,6 +16,7 @@
//#define DEBUG
//#define CVS
+#undef __WORDSIZE
#ifdef __WORDSIZE
#else