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:
parent
5469015416
commit
046b39641d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504349
@ -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/,}
|
||||
|
15
games/aquaria/files/patch-ExternalLibs_ttvfs_VFSTools.cpp
Normal file
15
games/aquaria/files/patch-ExternalLibs_ttvfs_VFSTools.cpp
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user