Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2019 09:17:48 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505412 - in head/games/egoboo: . files
Message-ID:  <201906300917.x5U9Hm4H059463@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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-----------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906300917.x5U9Hm4H059463>