diff options
author | ak <ak@FreeBSD.org> | 2012-04-13 13:48:03 +0800 |
---|---|---|
committer | ak <ak@FreeBSD.org> | 2012-04-13 13:48:03 +0800 |
commit | f4441786ffda18889498ffd1555d0e1e5faffbb3 (patch) | |
tree | 87dee73071fc913cb05e3336b1da31f8849b787f /games/drcreep | |
parent | bc63a98b92e90e4b6fe4d07180f2536450d8548b (diff) | |
download | freebsd-ports-gnome-f4441786ffda18889498ffd1555d0e1e5faffbb3.tar.gz freebsd-ports-gnome-f4441786ffda18889498ffd1555d0e1e5faffbb3.tar.zst freebsd-ports-gnome-f4441786ffda18889498ffd1555d0e1e5faffbb3.zip |
Fix build on FreeBSD 7 (work with old scandir prototype)
For real this time.
Submitted by: pavmail
Approved by: maintainer (implicit), eadler (mentor)
Diffstat (limited to 'games/drcreep')
-rw-r--r-- | games/drcreep/files/extra-patch-src_stdafx.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games/drcreep/files/extra-patch-src_stdafx.cpp b/games/drcreep/files/extra-patch-src_stdafx.cpp index fc219f4f212a..c49d378c1ae6 100644 --- a/games/drcreep/files/extra-patch-src_stdafx.cpp +++ b/games/drcreep/files/extra-patch-src_stdafx.cpp @@ -1,10 +1,10 @@ Index: src/stdafx.cpp @@ -364,7 +364,7 @@ - - string findType; - --int file_select(const struct dirent *entry) { -+int file_select(struct dirent *entry) { - string name = entry->d_name; - - transform( name.begin(), name.end(), name.begin(), ::toupper ); +
+ string findType;
+
+-int file_select(const struct dirent *entry) {
++int file_select(struct dirent *entry) {
+ string name = entry->d_name;
+
+ transform( name.begin(), name.end(), name.begin(), ::toupper );
|