1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

games/aquaria: include dirent.h instead of sys/dir.h which is scheduled for removal.

While here modernize USES

PR:		238616
Approved by:	maintainer (jbeich)
Event:		Berlin Hackathon 2019
This commit is contained in:
Rene Ladan 2019-06-16 14:57:51 +00:00
parent 5469015416
commit 046b39641d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504349
2 changed files with 16 additions and 1 deletions

View File

@ -22,7 +22,7 @@ USE_GITHUB= yes
GH_ACCOUNT= AquariaOSE
GH_PROJECT= Aquaria
USES= cmake:insource compiler:c++11-lang lua:51 openal pkgconfig
USES= cmake:insource compiler:c++11-lang lua:51 openal pkgconfig sdl
EXCLUDE= AL FTGL GL SDL* freetype2 glm glpng/png glpng/zlib \
libogg-* libvorbis-* lua-* tinyxml2*
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ExternalLibs/,}

View File

@ -0,0 +1,15 @@
--- ExternalLibs/ttvfs/VFSTools.cpp.orig 2016-06-19 23:56:27 UTC
+++ ExternalLibs/ttvfs/VFSTools.cpp
@@ -12,11 +12,7 @@
# include <windows.h>
# include <io.h>
#else
-# ifdef __HAIKU__
-# include <dirent.h>
-# else
-# include <sys/dir.h>
-# endif
+# include <dirent.h>
# include <unistd.h>
#endif