svn commit: r505412 - in head/games/egoboo: . files

Rene Ladan rene at FreeBSD.org
Sun Jun 30 09:17:49 UTC 2019


Author: rene
Date: Sun Jun 30 09:17:48 2019
New Revision: 505412
URL: https://svnweb.freebsd.org/changeset/ports/505412

Log:
  games/egoboo: include dirent.h instead of sys/dir.h which is going away.
  
  While here modernize USES
  
  PR:		238614
  Submitted by:	rene
  Approved by:	maintainer timeout (amdmi3, two weeks)

Modified:
  head/games/egoboo/Makefile
  head/games/egoboo/files/patch-game-lin-file.c

Modified: head/games/egoboo/Makefile
==============================================================================
--- head/games/egoboo/Makefile	Sun Jun 30 09:05:33 2019	(r505411)
+++ head/games/egoboo/Makefile	Sun Jun 30 09:17:48 2019	(r505412)
@@ -13,9 +13,9 @@ DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	3D dungeon crawling adventure in the spirit of NetHack
 
-USES=		gmake dos2unix
+USES=		dos2unix gl gmake sdl
 USE_SDL=	sdl ttf mixer image
-USE_GL=		yes
+USE_GL=		glu
 DOS2UNIX_GLOB=	*.c
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/game

Modified: head/games/egoboo/files/patch-game-lin-file.c
==============================================================================
--- head/games/egoboo/files/patch-game-lin-file.c	Sun Jun 30 09:05:33 2019	(r505411)
+++ head/games/egoboo/files/patch-game-lin-file.c	Sun Jun 30 09:17:48 2019	(r505412)
@@ -1,9 +1,11 @@
---- lin-file.c.orig	2007-11-16 22:36:58.000000000 +0300
-+++ lin-file.c	2008-02-07 04:09:32.000000000 +0300
-@@ -9,6 +9,7 @@
+--- lin-file.c.orig	2019-06-15 14:41:01 UTC
++++ lin-file.c
+@@ -8,7 +8,8 @@
+ #include <glob.h>
  #include <sys/types.h>
  #include <sys/stat.h>
- #include <sys/dir.h>
+-#include <sys/dir.h>
++#include <dirent.h>
 +#include <sys/syslimits.h>
  
  //File Routines-----------------------------------------------------------


More information about the svn-ports-head mailing list