#
PORTNAME= desmume
PORTVERSION= 0.9.7
PORTVERSION= 0.9.8
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF
.endif
post-patch:
@${REINPLACE_CMD} -e 's|mode_t|mode_t_|g' ${WRKSRC}/src/utils/libfat/libfat_pc.h
# FreeBSD 7.x is missing strnlen(), adjusting this enables a builtin version of strnlen()
.if ${OSVERSION} < 800000
@${REINPLACE_CMD} -e 's|#ifdef __APPLE__|#if 1|g' ${WRKSRC}/src/utils/libfat/directory.cpp
SHA256 (desmume-0.9.7.tar.gz) = 0a0f7ef3cc76ff0bbc6f3df47c3689653617074ea7ffc354e9fa1240c5336523
SHA256 (desmume-0.9.8.tar.gz) = 78363468a2d5efba95de57739a9c81a3757ecd76c2a183ec68336e30d47a5e01
SIZE (desmume-0.9.7.tar.gz) = 1142550
SIZE (desmume-0.9.8.tar.gz) = 3677290