diff options
| author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-11-08 03:19:45 +0000 |
|---|---|---|
| committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-11-08 03:19:45 +0000 |
| commit | d724fca185a84b3a9e26a0f0c2156752b2183584 (patch) | |
| tree | 5736bf8db65f5d505c9d5fda4d76db6592e978c9 /devel/bennugd-core/files/patch-bgdrtm-src-dirs.c | |
| parent | Bennu is a high level open source game development suite which (diff) | |
Bennu is a high level open source game development suite which
focuses on modularity and portability, making it a perfect choice
for cross-platform game development.
Although officialy it is only supported on Windows, Linux and GP2X
Wiz (on the right), Bennu can run on multiple other platforms,
including *BSD, MacOSX and other consoles such as the Wii, Dingoo
A320, GP2X, or the classic Xbox.
This makes it really fun to code in Bennu: the game can be played
on you computer AND your console!
WWW: http://www.bennugd.org/
Diffstat (limited to 'devel/bennugd-core/files/patch-bgdrtm-src-dirs.c')
| -rw-r--r-- | devel/bennugd-core/files/patch-bgdrtm-src-dirs.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/bennugd-core/files/patch-bgdrtm-src-dirs.c b/devel/bennugd-core/files/patch-bgdrtm-src-dirs.c new file mode 100644 index 000000000000..14db56ebe5cb --- /dev/null +++ b/devel/bennugd-core/files/patch-bgdrtm-src-dirs.c @@ -0,0 +1,13 @@ +--- bgdrtm/src/dirs.c.orig 2009-07-09 05:10:52.000000000 +0400 ++++ bgdrtm/src/dirs.c 2009-11-06 05:50:02.000000000 +0300 +@@ -230,9 +230,7 @@ + /* Convert *.* to * */
+ if ( fptr > path_final + 2 && fptr[ -1 ] == '*' && fptr[ -2 ] == '.' && fptr[ -3 ] == '*' ) fptr[ -2 ] = 0;
+
+-#if defined(TARGET_MAC)
+- glob( path_final, GLOB_ERR | GLOB_NOSORT, NULL, &hDir->globd );
+-#elif defined(TARGET_BEOS)
++#if defined(TARGET_MAC) || defined(TARGET_BEOS) || defined(TARGET_BSD)
+ glob( path_final, GLOB_ERR | GLOB_NOSORT, NULL, &hDir->globd );
+ #else
+ glob( path_final, GLOB_ERR | GLOB_PERIOD | GLOB_NOSORT, NULL, &hDir->globd );
|
