From d724fca185a84b3a9e26a0f0c2156752b2183584 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 8 Nov 2009 03:19:45 +0000 Subject: 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/ --- devel/bennugd-core/files/patch-bgdrtm-src-dirs.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 devel/bennugd-core/files/patch-bgdrtm-src-dirs.c (limited to 'devel/bennugd-core/files/patch-bgdrtm-src-dirs.c') 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 ); -- cgit v1.2.3