Date: Thu, 29 Jun 2017 12:52:50 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444645 - in head/games/kiki: . files Message-ID: <201706291252.v5TCqoRY002012@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Jun 29 12:52:49 2017 New Revision: 444645 URL: https://svnweb.freebsd.org/changeset/ports/444645 Log: - Fix build on CURRENT after ino64 merge Added: head/games/kiki/files/extra-patch-ino64 (contents, props changed) Modified: head/games/kiki/Makefile Modified: head/games/kiki/Makefile ============================================================================== --- head/games/kiki/Makefile Thu Jun 29 12:04:18 2017 (r444644) +++ head/games/kiki/Makefile Thu Jun 29 12:52:49 2017 (r444645) @@ -39,6 +39,10 @@ DESKTOP_ENTRIES="kiki the nanobot" \ CXXFLAGS+= -Werror=tautological-constant-out-of-range-compare .endif +.if ${OSVERSION} > 1200031 +EXTRA_PATCHES= ${FILESDIR}/extra-patch-ino64 +.endif + post-patch: @${REINPLACE_CMD} -e '/^CXXFLAGS/ s|.*|CXXFLAGS+=$$(KODI_INCLUDES) -I${LOCALBASE}/include `${SDL_CONFIG} --cflags`|' ${WRKSRC}/kodilib/linux/Makefile @${REINPLACE_CMD} -e 's|getenv("KIKI_HOME")|"${DATADIR}"|' ${WRKSRC}/src/main/KikiController.cpp @@ -50,7 +54,6 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/linux/kiki ${STAGEDIR}${PREFIX}/bin/ - ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "py sound" ${STAGEDIR}${DATADIR}/ .include <bsd.port.post.mk> Added: head/games/kiki/files/extra-patch-ino64 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/kiki/files/extra-patch-ino64 Thu Jun 29 12:52:49 2017 (r444645) @@ -0,0 +1,11 @@ +--- kodilib/src/tools/KFileTools.cpp.orig 2004-06-30 20:03:38.000000000 +0400 ++++ kodilib/src/tools/KFileTools.cpp 2013-12-24 05:02:16.028538916 +0400 +@@ -299,7 +299,7 @@ bool kFileGetDirEntries ( const string & + int fd = open (dirPath.c_str(), O_RDONLY | O_NONBLOCK); + + struct stat sb; +- long basep; ++ off_t basep; + char * entry; + + if (fstat(fd, &sb) == -1)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706291252.v5TCqoRY002012>