svn commit: r444645 - in head/games/kiki: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jun 29 12:52:51 UTC 2017


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)


More information about the svn-ports-all mailing list