diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2011-08-31 19:13:08 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2011-08-31 19:13:08 +0000 |
commit | 8f8b6ea23f94a0c743fffb7b580ca5ee561935d6 (patch) | |
tree | ff734b6b61daaa1ba2e50c1c8b03de903f53687e /emulators | |
parent | 82dc585687c7bd14e17f057a5afe4f20b409214a (diff) | |
download | ports-8f8b6ea23f94a0c743fffb7b580ca5ee561935d6.tar.gz ports-8f8b6ea23f94a0c743fffb7b580ca5ee561935d6.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/desmume/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emulators/desmume/Makefile b/emulators/desmume/Makefile index 2cb9d221b598..04aceaabf383 100644 --- a/emulators/desmume/Makefile +++ b/emulators/desmume/Makefile @@ -46,5 +46,9 @@ BROKEN= Does not compile on ia64 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 +.endif .include <bsd.port.post.mk> |