diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-11-09 20:25:04 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-11-09 20:25:04 +0000 |
commit | 21a97fc2ad1b353604079ca2df1e9b504e316ffa (patch) | |
tree | 3e437a07b4def7357b2f3d2ffd6bdcbcff72d7c0 /games/opencity | |
parent | d51d1735099f00c3af4dad45dd49c2931755ca7c (diff) |
Notes
Diffstat (limited to 'games/opencity')
-rw-r--r-- | games/opencity/Makefile | 1 | ||||
-rw-r--r-- | games/opencity/files/patch-src-macros.h | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/games/opencity/Makefile b/games/opencity/Makefile index 4fecbdb8dffd..7923a89f9d28 100644 --- a/games/opencity/Makefile +++ b/games/opencity/Makefile @@ -7,6 +7,7 @@ PORTNAME= opencity PORTVERSION= 0.0.6 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF DISTNAME= ${PORTNAME}-${PORTVERSION}stable diff --git a/games/opencity/files/patch-src-macros.h b/games/opencity/files/patch-src-macros.h new file mode 100644 index 000000000000..7611bf07b26b --- /dev/null +++ b/games/opencity/files/patch-src-macros.h @@ -0,0 +1,16 @@ +--- src/macros.h.orig 2008-10-28 21:23:51.000000000 +0300 ++++ src/macros.h 2008-11-05 03:52:54.000000000 +0300 +@@ -87,12 +87,10 @@ + #define strcasecmp _stricmp + #endif + +- /* C99 standard has this ++ #endif // #if defined(__WIN32__) + // log2 workaround + #if !defined(log2) + #define log2(value) log((double)value)/log(2.0) + #endif +- */ +- #endif // #if defined(__WIN32__) + #endif + |